Function at 0x5140c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x24], ebp
mov esi, dword [ebp + 0x128]
mov byte [esp + 0x13], 0
test esi, esi
je 0x5140f5
mov eax, dword [esi]
push 0x626140
mov ecx, esi
call dword [eax + 0x1c]
test al, al
je 0x5140f5
mov dword [esp + 0x20], esi
jmp 0x514101
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x20]
mov ebx, dword [0x621804]
test esi, esi
mov dword [esp + 0x30], ebx
je 0x51444c
mov eax, dword [0x623734]
test eax, eax
je 0x51444c
test ebx, ebx
je 0x51444c
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x38]
call fcn.00405d90
mov edi, str.Checking_reproduction
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Checking_reproduction
push ecx
push str.Checking_reproduction
lea ecx, [esp + 0x3c]
call fcn.00406380
lea edx, [esp + 0x34]
mov ecx, ebp
push edx
call fcn.005d3950
lea ecx, [esp + 0x34]
call fcn.00406010
mov esi, dword [esi + 0x278]
call fcn.005f1876
cdq
mov ecx, 0x64
idiv ecx
mov al, byte [0x62551e]
cmp esi, edx
setg byte [esp + 0x12]
test al, al
je 0x5141bf
mov ecx, dword [ebp + 0x128]
mov edx, dword [ecx]
call dword [edx + 0x20]
cmp eax, 0x1398
je 0x5141b6
mov ecx, dword [ebp + 0x128]
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp eax, 0x1399
jne 0x5141bf
mov byte [0x62551e], 0
jmp 0x5141cb
mov al, byte [esp + 0x12]
test al, al
je 0x5146d1
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x58]
call fcn.00405d90
mov edi, str.Reproducing
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Reproducing
push ecx
push str.Reproducing
lea ecx, [esp + 0x5c]
call fcn.00406380
lea edx, [esp + 0x54]
mov ecx, ebp
push edx
call fcn.005d3950
lea ecx, [esp + 0x54]
call fcn.00406010
lea eax, [esp + 0x12]
mov ecx, 0x626140
push eax
call fcn.0046f660
push eax
lea ecx, [esp + 0x64]
call fcn.00405d90
mov ecx, dword [0x626144]
mov edx, dword [0x626140]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00408000
mov esi, dword [ebp + 0x128]
lea eax, [esp + 0x12]
add esi, 0x98
push eax
mov ecx, esi
call fcn.0046f660
push eax
lea ecx, [esp + 0x70]
call fcn.00405d90
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.00408000
lea eax, [esp + 0x12]
lea ecx, [esp + 0x40]
push eax
call fcn.00405d90
mov edi, 0x610d78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x610d78
push ecx
push 0x610d78
lea ecx, [esp + 0x48]
call fcn.00406380
mov edx, dword [ebx]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x51441c
call fcn.005f1876
and eax, 0x80000001
jns 0x5142ea
dec eax
or eax, 0xfffffffe
inc eax
je 0x51430e
mov eax, dword [esp + 0x24]
mov edi, 0x6108a4
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x6108a4
push ecx
push 0x6108a4
jmp 0x51432e
mov ecx, dword [esp + 0x24]
mov edi, 0x609898
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x609898
push ecx
push 0x609898
lea ecx, [esp + 0x4c]
call fcn.00406980
mov edx, dword [ebx]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x68]
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x14]
mov edi, eax
lea edx, [esp + 0x14]
cmp edi, edx
je 0x51440f
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov esi, edx
sub ecx, ebx
sub esi, eax
sar esi, 2
sar ecx, 2
cmp esi, ecx
jbe 0x5143b3
push edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.005b41e0
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
sub edx, eax
sar edx, 2
push edx
push eax
call fcn.00414610
lea eax, [edi + esi*4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
jmp 0x514400
mov ecx, dword [esp + 0x18]
push ebx
sub ecx, ebx
sar ecx, 2
cmp ecx, esi
jb 0x5143d1
push edx
push eax
call fcn.004187d0
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x514400
lea ecx, [eax + ecx*4]
push ecx
push eax
call fcn.004187d0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push eax
sub eax, ebx
sar eax, 2
push ecx
lea eax, [edx + eax*4]
push eax
call fcn.004865c0
add esp, 0x1c
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
lea edx, [ecx + esi*4]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x78]
call fcn.0040ee80
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
sar eax, 2
cmp eax, 1
jae 0x514459
lea ecx, [esp + 0x14]
call fcn.0040ee80
lea ecx, [esp + 0x40]
call fcn.00406010
lea ecx, [esp + 0x6c]
call fcn.00406010
lea ecx, [esp + 0x60]
call fcn.00406010
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x98
ret
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24c]
xor edi, edi
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x514428
mov cl, byte [eax + 0x2c]
test cl, cl
jne 0x514428
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov esi, dword [ecx]
cmp esi, edi
je 0x5144a1
mov edx, dword [esi]
push 0x626140
mov ecx, esi
call dword [edx + 0x1c]
test al, al
je 0x5144a1
mov dword [esp + 0x28], esi
jmp 0x5144a7
mov dword [esp + 0x28], edi
mov esi, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edi
cmp dword [eax + 0x284], edi
jle 0x5146ad
mov al, byte [esi + 0x404]
test al, al
je 0x51456b
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x88]
call fcn.00405d90
mov edi, 0x610d78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x610d78
push ecx
push 0x610d78
lea ecx, [esp + 0x8c]
call fcn.00406380
mov edi, dword [0x621804]
lea edx, [esp + 0x84]
push edx
mov edx, dword [esi]
mov ebp, dword [edi]
lea eax, [esi + 0x98]
push eax
mov ecx, esi
call dword [edx + 0x14]
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call dword [ebp + 0x14]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, eax
test ecx, 0xfffffffc
je 0x514540
mov ecx, dword [eax]
jmp 0x514542
mov ecx, esi
mov edx, dword [ecx]
push 0
call dword [edx + 0x24]
mov esi, eax
push 1
mov ecx, esi
call fcn.005163a0
lea ecx, [esp + 0x54]
call fcn.0040ee80
lea ecx, [esp + 0x84]
call fcn.00406010
jmp 0x514576
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x24]
mov esi, eax
test esi, esi
je 0x514428
mov ecx, dword [esi + 0x128]
push 0x626140
mov dword [esp + 0x30], 0
mov edx, dword [ecx]
call dword [edx + 0x1c]
neg al
sbb eax, eax
and eax, esi
mov edi, eax
cmp dword [esp + 0x2c], 0xa
jge 0x5146a4
mov ecx, dword [esp + 0x50]
push 1
push 0
push edi
call fcn.00480980
mov ebp, eax
test ebp, ebp
je 0x514654
push 0
push 0x20
push 0x20
lea ecx, [esp + 0x9c]
call fcn.004d8f90
mov ecx, dword [eax]
add ebp, 0x34
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x78]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x80], edx
lea edx, [esp + 0xa0]
mov eax, dword [eax + 8]
push ebp
mov dword [esp + 0x88], eax
mov eax, dword [0x621804]
push edx
lea ecx, [eax + 8]
call fcn.00436260
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x3c], edx
mov ecx, esi
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
call fcn.0041aa50
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x18]
mov bl, al
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x84]
test edi, edi
je 0x51464c
mov ecx, edi
call fcn.0050c500
test bl, bl
jne 0x51465d
mov ebx, dword [esp + 0x30]
inc dword [esp + 0x2c]
jmp 0x51459e
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x124]
mov dword [edi + 0x2f0], ecx
mov edx, dword [eax + 0x2e8]
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x2ec], edx
test eax, eax
jne 0x514686
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [ecx + 0x284]
jge 0x5146ad
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
jmp 0x5144bb
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x14]
call fcn.0040ee80
lea ecx, [esp + 0x40]
call fcn.00406010
lea ecx, [esp + 0x6c]
call fcn.00406010
lea ecx, [esp + 0x60]
call fcn.00406010
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret