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

Disassembly:
push 0xffffffffffffffff
push 0x446175
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov esi, ecx
lea ebp, [esi + 4]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], ebp
je 0x4077c0
mov eax, ebp
call fcn.0042ef2d
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 1
mov edx, dword [esi]
push ecx
push edx
call fcn.00406960
test al, al
jne 0x40781b
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4077fd
push eax
call fcn.00430a06
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp ebp, ebx
je 0x407814
mov eax, ebp
call fcn.0042ef3b
xor al, al
jmp 0x407dba
lea eax, [esp + 0x74]
push eax
call fcn.00404c10
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xf8], 2
call fcn.00406290
test al, al
jne 0x40784a
lea esi, [esp + 0x74]
call fcn.00407010
jmp 0x4077ec
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x74]
mov byte [esp + 0xf4], 3
call fcn.00405760
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x407884
mov edx, dword [esp + 0x40]
sub edx, eax
jne 0x40789e
push eax
call fcn.00430a06
add esp, 4
lea esi, [esp + 0x74]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00407010
jmp 0x4077ec
lea eax, [esp + 0xc4]
push eax
call fcn.0040a940
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0xc8]
mov byte [esp + 0xf8], 5
call fcn.0040aac0
test al, al
jne 0x407926
lea ecx, [esp + 0xa8]
call fcn.00402540
lea edx, [esp + 0xc4]
push edx
mov byte [esp + 0xf8], 3
call fcn.0040aa10
lea esi, [esp + 0x38]
call fcn.00418fd0
lea esi, [esp + 0x74]
call fcn.00407010
lea esi, [esp + 0x28]
call fcn.00418fd0
jmp 0x407809
lea esi, [esp + 0x14]
call fcn.0042ea92
push 2
push 0x40000000
lea eax, [esp + 0xb0]
call fcn.0042ebe8
test al, al
jne 0x407965
lea eax, [esp + 0x14]
call fcn.0042ebc3
lea ecx, [esp + 0xa8]
call fcn.00402540
lea eax, [esp + 0xc4]
push eax
jmp 0x4078f9
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov dword [esp + 0x48], ebx
jne 0x407977
mov dword [esp + 0x1c], ebx
jmp 0x407981
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x1c], eax
xor edi, edi
lea esi, [esp + 0x38]
call fcn.00403bc0
mov edi, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x4c]
lea eax, [esp + 0x18]
call fcn.0042ec5d
test al, al
jne 0x4079cb
lea esi, [esp + 0x14]
call fcn.0042ec8f
mov eax, esi
call fcn.0042ebc3
lea ecx, [esp + 0xa8]
call fcn.00402540
lea ecx, [esp + 0xc4]
push ecx
jmp 0x4078f9
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jne 0x4079d7
xor eax, eax
jmp 0x4079dd
mov eax, dword [esp + 0x40]
sub eax, ecx
cmp dword [esp + 0x48], eax
je 0x4079f8
lea esi, [esp + 0x14]
call fcn.0042ec8f
mov eax, esi
call fcn.0042ebc3
jmp 0x4078e5
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x407a06
mov dword [esp + 0x5c], ebx
jmp 0x407a10
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x5c]
push edx
lea esi, [esp + 0x4c]
mov edi, 4
lea eax, [esp + 0x18]
call fcn.0042ec5d
test al, al
jne 0x407a39
lea esi, [esp + 0x14]
call fcn.0042ec8f
jmp 0x407946
cmp dword [esp + 0x48], edi
jne 0x4079a2
lea eax, [esp + 0x28]
call fcn.004080e0
test al, al
jne 0x407ab3
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jne 0x407a5e
mov dword [esp + 0x1c], ebx
jmp 0x407a68
mov eax, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x1c], eax
xor edi, edi
lea esi, [esp + 0x28]
call fcn.00403bc0
mov edi, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x4c]
lea eax, [esp + 0x18]
call fcn.0042ec5d
test al, al
je 0x4079e3
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jne 0x407a99
xor eax, eax
jmp 0x407a9f
mov eax, dword [esp + 0x30]
sub eax, ecx
cmp dword [esp + 0x48], eax
je 0x407ab3
lea esi, [esp + 0x14]
call fcn.0042ec8f
jmp 0x407946
lea esi, [esp + 0x54]
lea eax, [esp + 0x14]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0042ecb1
test al, al
je 0x407adf
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
lea edi, [esp + 0x1c]
call fcn.0042ed89
lea esi, [esp + 0x14]
call fcn.0042ec8f
cmp ebp, ebx
je 0x407af9
mov eax, ebp
call fcn.0042ef3b
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 0x20]
add esi, 8
cmp esi, ebx
mov dword [esp + 0x4c], esi
mov byte [esp + 0x50], bl
je 0x407b15
call fcn.0042eeac
mov byte [esp + 0x50], al
mov byte [esp + 0xf4], 7
mov edi, dword [esp + 0x18]
xor esi, esi
jmp 0x407b30
mov ecx, edi
lea ebx, [esp + 0xa8]
call fcn.0042f019
mov bl, al
mov byte [esp + 0x27], bl
call dword [0x4481f8]
test bl, bl
jne 0x407d5f
cmp eax, 0x20
je 0x407b5c
cmp eax, 0x21
jne 0x407b64
push 0xa
call dword [0x448208]
add esi, 1
cmp esi, 0xa
jb 0x407b30
lea esi, [esp + 0x18]
call fcn.0042ea92
push 3
push 0x80000000
lea eax, [esp + 0xb0]
mov byte [esp + 0xfc], 8
call fcn.0042ebe8
test al, al
jne 0x407bf2
lea eax, [esp + 0x18]
call fcn.0042ebc3
lea edi, [esp + 0x4c]
call fcn.00404bf0
lea eax, [esp + 0x14]
call fcn.0042ebc3
lea ecx, [esp + 0xa8]
call fcn.00402540
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0xf8], 3
call fcn.0040aa10
lea esi, [esp + 0x38]
call fcn.00418fd0
lea esi, [esp + 0x74]
call fcn.00407010
lea esi, [esp + 0x28]
call fcn.00418fd0
test ebp, ebp
jmp 0x40780b
lea ecx, [esp + 0x18]
push ecx
call fcn.0042ed6e
test al, al
jne 0x407c31
lea eax, [esp + 0x18]
call fcn.0042ebc3
lea edi, [esp + 0x4c]
call fcn.00404bf0
lea eax, [esp + 0x14]
call fcn.0042ebc3
lea ecx, [esp + 0xa8]
call fcn.00402540
lea edx, [esp + 0xc4]
push edx
jmp 0x407bc3
lea esi, [esp + 0x20]
call fcn.0042ea92
push 4
push 0x40000000
mov eax, edi
call fcn.0042ebe8
test al, al
jne 0x407c58
mov eax, esi
call fcn.0042ebc3
jmp 0x407b94
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0xf4], 0xa
mov ebx, dword [esp + 0x54]
lea eax, [ebx + 8]
lea ecx, [esp + 0x60]
call fcn.00403b00
push ebx
xor edi, edi
lea esi, [esp + 0x64]
call fcn.00403bc0
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
call fcn.0042ec27
test al, al
je 0x407dfb
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp ebx, eax
jne 0x407dfb
cmp dword [esp + 0x58], ecx
jne 0x407dfb
lea ecx, [esp + 0x20]
push ecx
call fcn.0042ed6e
test al, al
jne 0x407cdd
call fcn.00418fd0
lea eax, [esp + 0x20]
call fcn.0042ebc3
jmp 0x407c00
mov dword [esp + 0x1c], edi
xor edi, edi
call fcn.00403bc0
push eax
lea esi, [esp + 0x20]
mov edi, ebx
lea eax, [esp + 0x24]
call fcn.0042ec5d
test al, al
je 0x407de4
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, ebx
jne 0x407de4
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x407de4
push eax
push ebx
lea edi, [esp + 0x28]
call fcn.0042ed89
test al, al
je 0x407d2e
mov byte [esp + 0x27], 1
lea esi, [esp + 0x20]
call fcn.0042ec8f
lea esi, [esp + 0x18]
call fcn.0042ec8f
lea esi, [esp + 0x60]
call fcn.00418fd0
lea eax, [esp + 0x20]
call fcn.0042ebc3
lea eax, [esp + 0x18]
call fcn.0042ebc3
mov bl, byte [esp + 0x27]
lea edi, [esp + 0x4c]
call fcn.00404bf0
lea eax, [esp + 0x14]
call fcn.0042ebc3
lea ecx, [esp + 0xa8]
call fcn.00402540
lea edx, [esp + 0xc4]
push edx
mov byte [esp + 0xf8], 3
call fcn.0040aa10
lea esi, [esp + 0x38]
call fcn.00418fd0
lea esi, [esp + 0x74]
call fcn.00407010
lea esi, [esp + 0x28]
call fcn.00418fd0
test ebp, ebp
je 0x407db8
mov eax, ebp
call fcn.0042ef3b
mov al, bl
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00431099
add esp, 0xe4
ret 4
lea esi, [esp + 0x60]
call fcn.00418fd0
lea eax, [esp + 0x20]
call fcn.0042ebc3
jmp 0x407b94
lea esi, [esp + 0x60]
call fcn.00418fd0
lea eax, [esp + 0x20]
call fcn.0042ebc3
lea eax, [esp + 0x18]
call fcn.0042ebc3
lea edi, [esp + 0x4c]
call fcn.00404bf0
lea eax, [esp + 0x14]
call fcn.0042ebc3
lea ecx, [esp + 0xa8]
call fcn.00402540
lea ecx, [esp + 0xc4]
push ecx
jmp 0x407bc3