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

Disassembly:
push 0xffffffffffffffff
push 0x4ad0d7
mov eax, dword fs:[0]
push eax
mov eax, 0x6a00
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x69fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
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.0042e8d0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
test edi, edi
je 0x40c142
cmp dword [esp + 0x6a28], 0
jne 0x40c14c
test ebx, ebx
jne 0x40c14c
mov byte [esp + 0x17], bl
jmp 0x40c16e
mov eax, dword [esi + 0x13d8]
cmp byte [eax + 0x2418], 0
mov byte [esp + 0x17], 1
je 0x40c16e
cmp byte [eax + 0x2498], 0
mov byte [esp + 0x16], 1
jne 0x40c173
mov byte [esp + 0x16], 0
mov eax, dword [esp + 0x6a30]
lea ebp, [esi + 0x5c70]
mov edi, ebp
mov dword [esi + 0x5c44], 0x7a
mov ecx, eax
sub edi, eax
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x40c190
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c1a0
mov ecx, dword [esi + 0x6874]
sub eax, edx
cmp byte [esp + 0x16], 0
mov word [esi + 0x5c62], ax
lea eax, [ecx + eax + 0x20]
mov word [esi + 0x5c4a], ax
je 0x40c206
mov ecx, 0x404
or word [esi + 0x5c48], cx
add eax, 8
cmp byte [esi + 0x13d0], 0
lea edi, [esi + 0x13d0]
mov word [esi + 0x5c4a], ax
jne 0x40c1f5
push 8
push edi
call fcn.0041fe80
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esi + 0x687c], edx
mov dword [esi + 0x6880], eax
xor edi, edi
mov byte [esi + 0x5c60], 0x1d
cmp ebx, edi
je 0x40c23b
mov ecx, ebx
call fcn.0042e9a0
mov dword [esi + 0x6920], eax
mov dword [esi + 0x5c4c], eax
mov dword [esi + 0x5c50], eax
mov eax, dword [esp + 0x6a28]
mov dword [esi + 0x6924], edx
jmp 0x40c25a
mov eax, dword [esp + 0x6a28]
mov dword [esi + 0x6920], eax
mov dword [esi + 0x6924], edi
mov dword [esi + 0x5c50], eax
mov dword [esi + 0x5c4c], eax
cmp eax, edi
jne 0x40c264
mov dword [esi + 0x5c58], edi
lea ecx, [esp + 0x54]
mov byte [esi + 0x5c61], 0x30
call fcn.00467be0
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.0042e970
mov ecx, 0x4b18bc
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c2a7
test dl, dl
je 0x40c2a3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c2a7
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c287
xor eax, eax
jmp 0x40c2ac
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x40c2bb
lea ecx, [esp + 0x54]
call fcn.00467a30
jmp 0x40c2bd
xor eax, eax
mov dword [esi + 0x5c5c], eax
mov eax, dword [esi + 0x13d8]
mov byte [esi + 0x5c54], 2
mov edx, dword [eax + 0x28d0]
or edx, dword [eax + 0x28d4]
je 0x40c879
cmp byte [esi + 0x763c], 0
je 0x40c879
cmp byte [esp + 0x6a34], 0
je 0x40c879
movzx eax, word [esi + 0x5c4a]
mov ecx, dword [esi + 0x762c]
add eax, 5
cdq
cmp ecx, edx
mov bl, 1
jg 0x40c32f
jl 0x40c320
mov edx, dword [esi + 0x7628]
cmp edx, eax
jae 0x40c32f
push 0
lea eax, [esp + 0x48]
push eax
push 0
push esi
call fcn.00474ef0
mov ecx, esi
call fcn.0042e8d0
push esi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x7600], eax
mov dword [esi + 0x7604], edx
call fcn.00453660
mov dword [esp + 0x6a1c], 0
cmp byte [esi + 0x7618], 0
je 0x40c3b1
cmp byte [esi + 0xe60], 0
lea ebp, [esi + 0xe60]
jne 0x40c377
push 8
push ebp
call fcn.0041fe80
cmp byte [esi + 0x4f28], 0x24
mov eax, dword [esi + 0x13d8]
setae cl
movzx edx, cl
push edx
push 0
push 1
push ebp
add eax, 0x2418
lea edi, [esi + 0xc20]
push eax
mov ecx, edi
call fcn.00420800
push 8
push ebp
mov ecx, esi
call fcn.0042f0b0
mov dword [esp + 0x34], edi
lea edi, [esi + 0x5c40]
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 0x40c3c3
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.00453610
mov ecx, dword [edi + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453470
movzx edx, byte [edi + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.004533a0
mov eax, dword [edi + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.00453470
mov ecx, dword [edi + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453470
movzx edx, byte [edi + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004533a0
movzx eax, byte [edi + 0x21]
push eax
lea ecx, [esp + 0x1c]
call fcn.004533a0
movzx ecx, word [edi + 0x22]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453400
mov edx, dword [edi + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453470
mov eax, 0x100
test word [edi + 8], ax
je 0x40c480
mov ecx, dword [edi + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453470
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453470
lea eax, [esp + 0x6610]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c490
sub eax, edx
push eax
lea eax, [esp + 0x6614]
push eax
lea ecx, [esp + 0x20]
call fcn.00453530
mov eax, dword [edi + 0xc34]
cmp eax, ebp
je 0x40c4c6
mov ecx, dword [edi + 0xc30]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00453530
mov edx, 0x400
test word [edi + 8], dx
je 0x40c4e3
push 8
lea eax, [edi + 0xc3c]
push eax
lea ecx, [esp + 0x20]
call fcn.00453530
mov ecx, 0x1000
test word [edi + 8], cx
je 0x40c501
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00453530
mov byte [esp + 0x6a1c], 0
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40c51a
push eax
call fcn.0049de1d
add esp, 4
mov dword [esp + 0x6a1c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00453710
movzx ecx, word [esi + 0x5c4a]
push ecx
mov ecx, esi
call fcn.0040ae20
cmp byte [esp + 0x17], 0
je 0x40c84f
lea ebp, [esi + 0xe68]
mov ecx, ebp
call fcn.00453890
push ebp
push 0x10000
lea ecx, [esp + 0x80]
call fcn.004495d0
mov dword [esp + 0x6a1c], 2
push 0
lea ecx, [esp + 0x7c]
call fcn.004496e0
cmp byte [esp + 0x16], 0
je 0x40c5a4
mov eax, dword [esi + 0x13d8]
push 0
push 1
lea edx, [esi + 0x687c]
push edx
add eax, 0x2418
push eax
push 0x1d
mov ecx, ebp
call fcn.00453b00
mov ecx, dword [esp + 0x4c]
push esi
push ecx
mov ecx, ebp
mov byte [esi + 0xeb8], 0
call fcn.00453ab0
test bl, bl
je 0x40c5cd
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 0x40c5e9
mov eax, dword [esp + 0x6a28]
mov ecx, dword [esp + 0x50]
push eax
push ecx
mov ecx, ebp
call fcn.00453bb0
push ebx
push 2
push ebx
lea ecx, [esp + 0x84]
mov byte [esi + 0x5c61], 0x33
call fcn.0044b780
lea ecx, [esp + 0x78]
call fcn.004473f0
mov edx, dword [esi + 0x1388]
mov eax, dword [esi + 0x1390]
mov ecx, dword [esi + 0x13b8]
mov dword [esi + 0x5c50], edx
mov edx, dword [esp + 0x48]
push ebx
not ecx
mov dword [esi + 0x5c4c], eax
mov eax, dword [esp + 0x48]
push edx
mov dword [esi + 0x5c58], ecx
push eax
mov ecx, esi
call fcn.0042efe0
mov ecx, esi
call fcn.0042e8d0
push esi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x7600], eax
mov dword [esi + 0x7604], edx
call fcn.00453660
mov byte [esp + 0x6a1c], 3
cmp byte [esi + 0x7618], 0
je 0x40c6c2
cmp byte [esi + 0xe60], 0
lea ebx, [esi + 0xe60]
jne 0x40c686
push 8
push ebx
call fcn.0041fe80
cmp byte [esi + 0x4f28], 0x24
mov eax, dword [esi + 0x13d8]
setae cl
movzx edx, cl
push edx
push 0
push 1
push ebx
add eax, 0x2418
lea ebp, [esi + 0xc20]
push eax
mov ecx, ebp
call fcn.00420800
push 8
push ebx
mov ecx, esi
call fcn.0042f0b0
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 0x40c6d0
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.00453610
mov ecx, dword [edi + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453470
movzx edx, byte [edi + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.004533a0
mov eax, dword [edi + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.00453470
mov ecx, dword [edi + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453470
movzx edx, byte [edi + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004533a0
movzx eax, byte [edi + 0x21]
push eax
lea ecx, [esp + 0x1c]
call fcn.004533a0
movzx ecx, word [edi + 0x22]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453400
mov edx, dword [edi + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453470
mov eax, 0x100
test word [edi + 8], ax
je 0x40c78b
mov ecx, dword [edi + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00453470
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453470
lea eax, [esp + 0x6610]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c795
sub eax, edx
push eax
lea eax, [esp + 0x6614]
push eax
lea ecx, [esp + 0x20]
call fcn.00453530
mov eax, dword [edi + 0xc34]
cmp eax, ebx
je 0x40c7cb
mov ecx, dword [edi + 0xc30]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00453530
mov edx, 0x400
test word [edi + 8], dx
je 0x40c7e8
push 8
lea eax, [edi + 0xc3c]
push eax
lea ecx, [esp + 0x20]
call fcn.00453530
mov ecx, 0x1000
test word [edi + 8], cx
je 0x40c806
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00453530
mov byte [esp + 0x6a1c], 3
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x40c81f
push eax
call fcn.0049de1d
add esp, 4
mov byte [esp + 0x6a1c], 2
lea ecx, [esp + 0x18]
call fcn.00453710
push 2
push ebx
push ebx
mov ecx, esi
call fcn.0042efe0
mov dword [esp + 0x6a1c], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.00446fc0
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.0049e0c6
add esp, 0x6a0c
ret 0x14
xor bl, bl
jmp 0x40c32f