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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov ebp, ecx
push 7
lea ebx, [ebp + 0x20]
push 0
push ebx
call fcn.00505630
add esp, 0xc
cmp eax, 3
je 0x4ffcfb
push 7
lea esi, [ebp + 0x40]
push 0
push esi
call fcn.00505630
add esp, 0xc
cmp eax, 3
je 0x4ffcfb
push edi
push 7
push 7
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00505bf0
mov ecx, 7
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
push 7
lea edi, [ebp + 0x40]
lea ecx, [esp + 0x60]
push edi
push ecx
call fcn.00505ae0
push 0x4625e8
push 7
push edi
mov eax, 0xe
lea esi, [esp + 0x74]
call fcn.004ff5f0
push 7
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.005056a0
add esp, 0x34
test al, al
jne 0x4ff839
push 7
lea eax, [esp + 0x14]
push 0x4625e8
push eax
call fcn.00505740
add esp, 0xc
push 7
push ebp
push edi
call fcn.00505740
add esp, 0xc
test al, al
je 0x4ff859
push 7
push 0x4625e8
push edi
call fcn.005056a0
add esp, 0xc
push 7
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edi
push edx
call fcn.005059c0
push 0x4625e8
push 7
push edi
mov eax, 0xe
lea esi, [esp + 0x68]
call fcn.004ff5f0
push 7
push 7
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00505bf0
lea ecx, [esp + 0x3c]
push 7
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x64], 0
call fcn.00505740
add esp, 0x38
test al, al
je 0x4ff8b2
inc dword [esp + 0x2c]
push 7
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00505740
add esp, 0xc
test al, al
je 0x4ff8ca
inc dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4ff916
push 7
lea ecx, [esp + 0x14]
push 0x4625e8
push ecx
call fcn.005056a0
add esp, 0xc
test al, al
jne 0x4ff8eb
dec esi
test esi, esi
jne 0x4ff8d2
push 7
lea edx, [esp + 0x14]
push 0x4625e8
push edx
call fcn.00505790
push 0x1c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00526df0
add esp, 0x18
jmp 0x4ff92c
push 7
push 7
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00505bf0
add esp, 0x10
push 7
lea ecx, [esp + 0x88]
push ecx
push ebx
call fcn.005057c0
push 7
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.005059c0
push 0x4625e8
push 7
push ebx
mov eax, 0xe
lea esi, [esp + 0x74]
call fcn.004ff5f0
push 7
push ebx
push ebx
call fcn.00505740
add esp, 0x34
test al, al
je 0x4ff9bc
mov dword [ebp + 0x3c], 1
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x4ff99e
push 7
push 0x4625e8
push ebx
call fcn.005056a0
add esp, 0xc
test al, al
jne 0x4ff99a
dec esi
test esi, esi
jne 0x4ff985
push 7
push 0x4625e8
push ebx
call fcn.00505790
push 0x1c
lea eax, [ebp + 0x40]
push ebx
push eax
call fcn.00526df0
add esp, 0x18
jmp 0x4ff9cd
push 7
push 7
lea eax, [ebp + 0x40]
push ebx
push eax
call fcn.00505bf0
add esp, 0x10
push 7
push 7
lea ecx, [esp + 0x8c]
push ecx
push ebx
call fcn.00505bf0
push 7
lea edx, [esp + 0x60]
push ebx
push edx
call fcn.00505ae0
push 0x4625e8
push 7
push ebx
mov eax, 0xe
lea esi, [esp + 0x74]
call fcn.004ff5f0
push 7
lea eax, [esp + 0x78]
push ebx
mov ecx, 7
mov esi, ebx
lea edi, [esp + 0x40]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00505ae0
push 0x4625e8
push 7
push ebx
mov eax, 0xe
lea esi, [esp + 0x8c]
call fcn.004ff5f0
add esp, 0x40
push 7
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push ebp
push edx
call fcn.005059c0
push 0x4625e8
push 7
push ebp
mov eax, 0xe
lea esi, [esp + 0x68]
call fcn.004ff5f0
push 7
push ebp
push ebp
mov dword [esp + 0x54], 0
call fcn.00505740
add esp, 0x28
test al, al
je 0x4ffa7c
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
push 7
lea ecx, [eax + eax]
push ebp
push ebp
mov dword [esp + 0x38], ecx
call fcn.00505740
add esp, 0xc
test al, al
je 0x4ffa9b
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0
push 7
je 0x4ffb00
push 7
lea edx, [esp + 0x18]
push ebp
push edx
call fcn.00505bf0
mov esi, dword [esp + 0x3c]
add esp, 0x10
test esi, esi
je 0x4ffadd
lea esp, [esp]
push 7
lea eax, [esp + 0x14]
push 0x4625e8
push eax
call fcn.005056a0
add esp, 0xc
test al, al
jne 0x4ffad9
dec esi
test esi, esi
jne 0x4ffac0
push 7
lea ecx, [esp + 0x14]
push 0x4625e8
push ecx
call fcn.00505790
push 0x1c
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.00526df0
add esp, 0x18
jmp 0x4ffb0e
push 0x4625e8
push ebp
call fcn.00505790
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.005057c0
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x90]
push 7
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
push ebp
push ecx
call fcn.00505ae0
push 0x4625e8
push 7
push ebp
mov eax, 0xe
lea esi, [esp + 0x70]
call fcn.004ff5f0
push 7
lea edx, [esp + 0x58]
push edx
push ebp
call fcn.005056a0
add esp, 0x30
test al, al
jne 0x4ffb72
push 7
push 0x4625e8
push ebp
call fcn.00505740
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.005056a0
add esp, 0xc
push 7
push 0x4625e8
push ebp
test al, al
jne 0x4ffb95
call fcn.00505740
jmp 0x4ffb9a
call fcn.00505790
add esp, 0xc
push 7
push ebx
push ebx
mov dword [esp + 0x38], 0
call fcn.00505740
add esp, 0xc
mov edi, 1
test al, al
je 0x4ffbbe
add dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x2c]
push 7
lea edx, [ecx + ecx]
push ebx
push ebx
mov dword [esp + 0x38], edx
call fcn.00505740
add esp, 0xc
test al, al
je 0x4ffbdd
add dword [esp + 0x2c], edi
mov eax, dword [esp + 0x2c]
push 7
lea ecx, [eax + eax]
push ebx
push ebx
mov dword [esp + 0x38], ecx
call fcn.00505740
add esp, 0xc
test al, al
je 0x4ffbfc
add dword [esp + 0x2c], edi
cmp dword [esp + 0x2c], 0
push 7
je 0x4ffc61
push 7
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.00505bf0
mov esi, dword [esp + 0x3c]
add esp, 0x10
test esi, esi
je 0x4ffc3e
lea ecx, [ecx]
push 7
lea eax, [esp + 0x14]
push 0x4625e8
push eax
call fcn.005056a0
add esp, 0xc
test al, al
jne 0x4ffc3a
sub esi, edi
test esi, esi
jne 0x4ffc20
push 7
lea ecx, [esp + 0x14]
push 0x4625e8
push ecx
call fcn.00505790
push 0x1c
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00526df0
add esp, 0x18
jmp 0x4ffc6f
push 0x4625e8
push ebx
call fcn.00505790
add esp, 0xc
push 7
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.005056a0
add esp, 0xc
pop edi
test al, al
jne 0x4ffc98
push 7
lea ecx, [esp + 0x30]
push 0x4625e8
push ecx
call fcn.00505740
add esp, 0xc
push 7
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.005059c0
push 0x4625e8
lea edx, [esp + 0x40]
push 7
push edx
mov eax, 0xe
lea esi, [esp + 0x64]
call fcn.004ff5f0
push 7
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.005056f0
add esp, 0x28
test al, al
jne 0x4ffd1f
push 7
push 0x4625e8
push ebx
call fcn.00505740
add esp, 0xc
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x90
ret
push 1
push 7
push ebp
call fcn.00505600
push 1
push 7
push ebx
call fcn.00505600
push 0
push 7
add ebp, 0x40
push ebp
call fcn.00505600
add esp, 0x24
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x90
ret