Function at 0x407fa0
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 0x407fdd
cmp esi, ebp
jne 0x407fdd
xor al, al
jmp 0x40839d
lea ecx, [esp + 0x5c]
call fcn.0040c220
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x5c]
push ebx
push eax
mov ecx, edi
mov dword [esp + 0xbc], ebp
call fcn.00407640
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x60]
call fcn.0040c870
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.00408bb0
lea eax, [esp + 0x1c]
lea ecx, [edi + 8]
push eax
push 8
mov byte [esp + 0xbc], 4
mov dword [esp + 0x24], ebp
call fcn.00408e10
test eax, eax
je 0x408099
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov ebp, ecx
je 0x408099
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.0040c8f0
test al, al
je 0x408121
test ebp, ebp
je 0x4080b4
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
call fcn.0040d330
mov esi, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0040c900
push eax
push esi
call fcn.0040cf10
add esp, 8
test ebp, ebp
je 0x4080e4
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.0040c290
mov al, 1
jmp 0x40839d
test ebp, ebp
je 0x408132
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.00407750
test al, al
jne 0x40817b
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.0040c290
xor al, al
jmp 0x40839d
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], 0x42fc68
call fcn.0040ca90
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0xb8], 0xa
call fcn.004095c0
mov eax, dword [eax]
mov byte [esp + 0xb4], 0xb
push eax
call fcn.0040d330
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 0xa
call fcn.00423cf8
mov dword [esp + 0x48], 0x42fc30
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], 0x42fbf8
mov dword [esp + 0x4c], 0x42fba4
mov edx, dword [esp + 0xcc]
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0xd
call fcn.00409730
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.00407940
mov esi, eax
test esi, esi
je 0x408281
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x54]
call fcn.0042874e
test ebp, ebp
je 0x408281
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x10]
test al, al
je 0x40828b
mov eax, dword [esp + 0x2c]
cmp esi, eax
jne 0x4082b3
jmp 0x40824e
cmp esi, dword [esp + 0x2c]
jne 0x4082ab
mov eax, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.00407940
test eax, eax
mov dword [esp + 0x14], 0x69
jne 0x4082b3
mov dword [esp + 0x14], 0x6a
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.00407e50
cmp eax, 1
sete bl
test bl, bl
jne 0x4082d8
cmp dword [esp + 0x14], 0x6a
jne 0x4082d8
mov dword [esp + 0x14], 0x69
test ebp, ebp
je 0x4082e4
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x408332
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 0x408315
push esi
push edi
mov ecx, eax
call fcn.0040b8a0
jmp 0x408317
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0x433d68
push eax
mov byte [esp + 0xbc], 0xe
call fcn.00415aa5
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xd
call fcn.00409760
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 0xa
call fcn.0040c1b0
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 4
call fcn.0040ca10
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.0040c290
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