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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42d802
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0xbc]
push edi
cmp eax, ebp
mov edi, ecx
jne 0x407ffd
cmp esi, ebp
jne 0x407ffd
xor al, al
jmp 0x4083bd
lea ecx, [esp + 0x5c]
call fcn.0040c230
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x5c]
push ebx
push eax
mov ecx, edi
mov dword [esp + 0xbc], ebp
call fcn.00407660
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x60]
call fcn.0040c880
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xb8], 1
call fcn.00423d66
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 3
call fcn.00423cf8
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x18]
push edx
push eax
push esi
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.00408bc0
lea eax, [esp + 0x1c]
lea ecx, [edi + 8]
push eax
push 8
mov byte [esp + 0xbc], 4
mov dword [esp + 0x24], ebp
call fcn.00408e20
test eax, eax
je 0x4080b9
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov ebp, ecx
je 0x4080b9
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x5c]
call fcn.0040c900
test al, al
je 0x408141
test ebp, ebp
je 0x4080d4
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
call fcn.0040d340
mov esi, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0040c910
push eax
push esi
call fcn.0040cf20
add esp, 8
test ebp, ebp
je 0x408104
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.00423cf8
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.00423cf8
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0040c2a0
mov al, 1
jmp 0x4083bd
test ebp, ebp
je 0x408152
mov ecx, dword [esp + 0x78]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 8]
push ebx
mov ecx, edi
call fcn.00407770
test al, al
jne 0x40819b
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.00423cf8
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.00423cf8
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0040c2a0
xor al, al
jmp 0x4083bd
mov eax, dword [0x439f2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0xb8], 9
mov dword [esp + 0x34], 0x42fc60
call fcn.0040caa0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0xb8], 0xa
call fcn.004095d0
mov eax, dword [eax]
mov byte [esp + 0xb4], 0xb
push eax
call fcn.0040d340
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 0xa
call fcn.00423cf8
mov dword [esp + 0x48], 0x42fc28
mov ecx, dword [esp + 0x10]
push 0x1021
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0xc
call fcn.0042849a
mov dword [esp + 0x48], 0x42fbf0
mov dword [esp + 0x4c], 0x42fb9c
mov edx, dword [esp + 0xcc]
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0xd
call fcn.00409740
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 0xe
mov dword [esp + 0x14], 0
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00407960
mov esi, eax
test esi, esi
je 0x4082a1
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x54]
call fcn.0042874e
test ebp, ebp
je 0x4082a1
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x10]
test al, al
je 0x4082ab
mov eax, dword [esp + 0x2c]
cmp esi, eax
jne 0x4082d3
jmp 0x40826e
cmp esi, dword [esp + 0x2c]
jne 0x4082cb
mov eax, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.00407960
test eax, eax
mov dword [esp + 0x14], 0x69
jne 0x4082d3
mov dword [esp + 0x14], 0x6a
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.00407e70
cmp eax, 1
sete bl
test bl, bl
jne 0x4082f8
cmp dword [esp + 0x14], 0x6a
jne 0x4082f8
mov dword [esp + 0x14], 0x69
test ebp, ebp
je 0x408304
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x408352
mov esi, dword [esp + 0x10]
push 0x10
call fcn.004242df
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xb4], 0xf
je 0x408335
push esi
push edi
mov ecx, eax
call fcn.0040b8b0
jmp 0x408337
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0x433d60
push eax
mov byte [esp + 0xbc], 0xe
call fcn.00415ab5
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xd
call fcn.00409770
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 0xa
call fcn.0040c1c0
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 4
call fcn.0040ca20
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.00423cf8
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.00423cf8
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0040c2a0
mov al, bl
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x14