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

Disassembly:
push 0xffffffffffffffff
push 0x4b3e57
mov eax, dword fs:[0]
push eax
mov eax, 0x6a00
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x69fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x6a14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x6a24]
mov ebx, dword [esp + 0x6a2c]
mov esi, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
call fcn.00430300
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
test edi, edi
je 0x40c5a2
cmp dword [esp + 0x6a28], 0
jne 0x40c5ac
test ebx, ebx
jne 0x40c5ac
mov byte [esp + 0x17], bl
jmp 0x40c5cf
mov eax, dword [esi + 0x13d8]
cmp word [eax + 0x3418], 0
mov byte [esp + 0x17], 1
je 0x40c5cf
cmp byte [eax + 0x3518], 0
mov byte [esp + 0x16], 1
jne 0x40c5d4
mov byte [esp + 0x16], 0
mov eax, dword [esp + 0x6a30]
lea ebp, [esi + 0x74f0]
mov edi, ebp
mov dword [esi + 0x74c4], 0x7a
mov ecx, eax
sub edi, eax
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x40c5f1
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c600
mov ecx, dword [esi + 0x80f4]
sub eax, edx
cmp byte [esp + 0x16], 0
mov word [esi + 0x74e2], ax
lea eax, [ecx + eax + 0x20]
mov word [esi + 0x74ca], ax
je 0x40c666
mov ecx, 0x404
or word [esi + 0x74c8], cx
add eax, 8
cmp byte [esi + 0x13d0], 0
lea edi, [esi + 0x13d0]
mov word [esi + 0x74ca], ax
jne 0x40c655
push 8
push edi
call fcn.00420c40
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esi + 0x80fc], edx
mov dword [esi + 0x8100], eax
xor edi, edi
mov byte [esi + 0x74e0], 0x1d
cmp ebx, edi
je 0x40c69b
mov ecx, ebx
call fcn.00430400
mov dword [esi + 0x81a0], eax
mov dword [esi + 0x74cc], eax
mov dword [esi + 0x74d0], eax
mov eax, dword [esp + 0x6a28]
mov dword [esi + 0x81a4], edx
jmp 0x40c6ba
mov eax, dword [esp + 0x6a28]
mov dword [esi + 0x81a0], eax
mov dword [esi + 0x81a4], edi
mov dword [esi + 0x74d0], eax
mov dword [esi + 0x74cc], eax
cmp eax, edi
jne 0x40c6c4
mov dword [esi + 0x74d8], edi
lea ecx, [esp + 0x54]
mov byte [esi + 0x74e1], 0x30
call fcn.0046d1b0
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.004303d0
mov ecx, 0x4b8998
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c707
test dl, dl
je 0x40c703
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c707
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c6e7
xor eax, eax
jmp 0x40c70c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x40c71b
lea ecx, [esp + 0x54]
call fcn.0046d000
jmp 0x40c71d
xor eax, eax
mov dword [esi + 0x74dc], eax
mov eax, dword [esi + 0x13d8]
mov byte [esi + 0x74d4], 2
mov edx, dword [eax + 0x3950]
or edx, dword [eax + 0x3954]
je 0x40ccd9
cmp byte [esi + 0x8ebc], 0
je 0x40ccd9
cmp byte [esp + 0x6a34], 0
je 0x40ccd9
movzx eax, word [esi + 0x74ca]
mov ecx, dword [esi + 0x8eac]
add eax, 5
cdq
cmp ecx, edx
mov bl, 1
jg 0x40c78f
jl 0x40c780
mov edx, dword [esi + 0x8ea8]
cmp edx, eax
jae 0x40c78f
push 0
lea eax, [esp + 0x48]
push eax
push 0
push esi
call fcn.0047ade0
mov ecx, esi
call fcn.00430300
push esi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x8e80], eax
mov dword [esi + 0x8e84], edx
call fcn.00457ee0
mov dword [esp + 0x6a1c], 0
cmp byte [esi + 0x8e98], 0
je 0x40c811
cmp byte [esi + 0xe60], 0
lea ebp, [esi + 0xe60]
jne 0x40c7d7
push 8
push ebp
call fcn.00420c40
cmp byte [esi + 0x67a8], 0x24
mov eax, dword [esi + 0x13d8]
setae cl
movzx edx, cl
push edx
push 0
push 1
push ebp
add eax, 0x3418
lea edi, [esi + 0xc20]
push eax
mov ecx, edi
call fcn.004215c0
push 8
push ebp
mov ecx, esi
call fcn.00430b70
mov dword [esp + 0x34], edi
lea edi, [esi + 0x74c0]
lea eax, [edi + 0x30]
lea edx, [esp + 0x6610]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c823
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0x6a1c], 1
push 1
push edi
lea ecx, [esp + 0x20]
call fcn.00457e90
mov ecx, dword [edi + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
movzx edx, byte [edi + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457c20
mov eax, dword [edi + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.00457cf0
mov ecx, dword [edi + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
movzx edx, byte [edi + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457c20
movzx eax, byte [edi + 0x21]
push eax
lea ecx, [esp + 0x1c]
call fcn.00457c20
movzx ecx, word [edi + 0x22]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457c80
mov edx, dword [edi + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
mov eax, pe_nt_image_headers32
test word [edi + 8], ax
je 0x40c8e0
mov ecx, dword [edi + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
lea eax, [esp + 0x6610]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c8f0
sub eax, edx
push eax
lea eax, [esp + 0x6614]
push eax
lea ecx, [esp + 0x20]
call fcn.00457db0
mov eax, dword [edi + 0xc34]
cmp eax, ebp
je 0x40c926
mov ecx, dword [edi + 0xc30]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00457db0
mov edx, 0x400
test word [edi + 8], dx
je 0x40c943
push 8
lea eax, [edi + 0xc3c]
push eax
lea ecx, [esp + 0x20]
call fcn.00457db0
mov ecx, 0x1000
test word [edi + 8], cx
je 0x40c961
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00457db0
mov byte [esp + 0x6a1c], 0
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40c97a
push eax
call fcn.004a3dff
add esp, 4
mov dword [esp + 0x6a1c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00457f90
movzx ecx, word [esi + 0x74ca]
push ecx
mov ecx, esi
call fcn.0040b460
cmp byte [esp + 0x17], 0
je 0x40ccaf
lea ebp, [esi + 0xe68]
mov ecx, ebp
call fcn.00458110
push ebp
push 0x10000
lea ecx, [esp + 0x80]
call fcn.0044acc0
mov dword [esp + 0x6a1c], 2
push 0
lea ecx, [esp + 0x7c]
call fcn.0044add0
cmp byte [esp + 0x16], 0
je 0x40ca04
mov eax, dword [esi + 0x13d8]
push 0
push 1
lea edx, [esi + 0x80fc]
push edx
add eax, 0x3418
push eax
push 0x1d
mov ecx, ebp
call fcn.00458380
mov ecx, dword [esp + 0x4c]
push esi
push ecx
mov ecx, ebp
mov byte [esi + 0xeb8], 0
call fcn.00458330
test bl, bl
je 0x40ca2d
mov byte [esi + 0x1370], 1
lea edx, [esp + 0x44]
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x64], edx
xor ebx, ebx
cmp dword [esp + 0x4c], ebx
jne 0x40ca49
mov eax, dword [esp + 0x6a28]
mov ecx, dword [esp + 0x50]
push eax
push ecx
mov ecx, ebp
call fcn.00458430
push ebx
push 2
push ebx
lea ecx, [esp + 0x84]
mov byte [esi + 0x74e1], 0x33
call fcn.0044cf40
lea ecx, [esp + 0x78]
call fcn.004485e0
mov edx, dword [esi + 0x1388]
mov eax, dword [esi + 0x1390]
mov ecx, dword [esi + 0x13b8]
mov dword [esi + 0x74d0], edx
mov edx, dword [esp + 0x48]
push ebx
not ecx
mov dword [esi + 0x74cc], eax
mov eax, dword [esp + 0x48]
push edx
mov dword [esi + 0x74d8], ecx
push eax
mov ecx, esi
call fcn.00430a90
mov ecx, esi
call fcn.00430300
push esi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x8e80], eax
mov dword [esi + 0x8e84], edx
call fcn.00457ee0
mov byte [esp + 0x6a1c], 3
cmp byte [esi + 0x8e98], 0
je 0x40cb22
cmp byte [esi + 0xe60], 0
lea ebx, [esi + 0xe60]
jne 0x40cae6
push 8
push ebx
call fcn.00420c40
cmp byte [esi + 0x67a8], 0x24
mov eax, dword [esi + 0x13d8]
setae cl
movzx edx, cl
push edx
push 0
push 1
push ebx
add eax, 0x3418
lea ebp, [esi + 0xc20]
push eax
mov ecx, ebp
call fcn.004215c0
push 8
push ebx
mov ecx, esi
call fcn.00430b70
mov dword [esp + 0x34], ebp
xor ebx, ebx
lea eax, [edi + 0x30]
lea edx, [esp + 0x6610]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40cb30
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x6a1c], 4
push 1
push edi
lea ecx, [esp + 0x20]
call fcn.00457e90
mov ecx, dword [edi + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
movzx edx, byte [edi + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457c20
mov eax, dword [edi + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.00457cf0
mov ecx, dword [edi + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
movzx edx, byte [edi + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457c20
movzx eax, byte [edi + 0x21]
push eax
lea ecx, [esp + 0x1c]
call fcn.00457c20
movzx ecx, word [edi + 0x22]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457c80
mov edx, dword [edi + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
mov eax, pe_nt_image_headers32
test word [edi + 8], ax
je 0x40cbeb
mov ecx, dword [edi + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00457cf0
lea eax, [esp + 0x6610]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cbf5
sub eax, edx
push eax
lea eax, [esp + 0x6614]
push eax
lea ecx, [esp + 0x20]
call fcn.00457db0
mov eax, dword [edi + 0xc34]
cmp eax, ebx
je 0x40cc2b
mov ecx, dword [edi + 0xc30]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00457db0
mov edx, 0x400
test word [edi + 8], dx
je 0x40cc48
push 8
lea eax, [edi + 0xc3c]
push eax
lea ecx, [esp + 0x20]
call fcn.00457db0
mov ecx, 0x1000
test word [edi + 8], cx
je 0x40cc66
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00457db0
mov byte [esp + 0x6a1c], 3
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x40cc7f
push eax
call fcn.004a3dff
add esp, 4
mov byte [esp + 0x6a1c], 2
lea ecx, [esp + 0x18]
call fcn.00457f90
push 2
push ebx
push ebx
mov ecx, esi
call fcn.00430a90
mov dword [esp + 0x6a1c], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.004481b0
mov ecx, dword [esp + 0x6a14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x69fc]
xor ecx, esp
call fcn.004a3c63
add esp, 0x6a0c
ret 0x14
xor bl, bl
jmp 0x40c78f