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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x16c
mov eax, dword [esp + 0x180]
mov edx, dword [esp + 0x1a0]
lea esi, [esp + 0x12c]
lea ebx, [esp + 0xdc]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x1b8]
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x1c8]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x1d0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x1d8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x1ec]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1fc]
mov edx, dword [esp + 0x204]
mov dword [esp + 0x48], esi
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x214]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x208]
mov dword [esp + 0x8c], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x210]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x218]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x21c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x220]
mov dword [esp + 0x80], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x15c], eax
xor eax, eax
lea eax, [esp + 0x14c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x148]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x144]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x110]
mov dword [esp + 8], eax
lea eax, [esp + 0x114]
mov dword [esp + 4], eax
lea eax, [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 0x1c], ebx
call fcn.004fe040
mov eax, dword [esp + 0xdc]
jmp 0x585ef5
lea eax, [esp + 0x150]
lea ebp, [esp + 0xa4]
mov dword [esp + 0x50], esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x14c]
lea edi, [esp + 0x12a]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x144]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x110]
mov dword [esp + 8], eax
lea eax, [esp + 0x118]
mov dword [esp + 4], eax
lea eax, [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], ebx
call fcn.004fe320
lea eax, [esp + 0x154]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x13c]
mov dword [esp + 8], eax
lea eax, [esp + 0x138]
mov dword [esp + 4], eax
call fcn.004fdfb0
lea eax, [esp + 0x154]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
lea eax, [esp + 0x144]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004fd950
lea eax, [esp + 0x13c]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004fdbd0
lea eax, [esp + 0x158]
mov dword [esp + 0xc], edi
lea edi, [esp + 0x108]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x144]
mov dword [esp + 8], eax
lea eax, [esp + 0x138]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004fdc10
lea eax, [esp + 0x144]
mov dword [esp], eax
call fcn.004fdc60
lea eax, [esp + 0x158]
mov dword [esp + 0x3c], ebp
lea ebp, [esp + 0xf0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x14c]
lea ecx, [esp + 0x94]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x88]
lea edx, [esp + 0xb0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x110]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x114]
mov dword [esp + 8], eax
lea eax, [esp + 0x118]
mov dword [esp + 4], eax
lea eax, [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], esi
call fcn.004fdca0
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x94]
cmp dword [eax + 0x18ec], 1
jle 0x585f30
mov eax, dword [eax]
mov eax, dword [eax]
test eax, 0x40000000
je 0x585c48
mov dword [esp], ebx
call fcn.004fe2a0
mov eax, dword [esp + 0x15c]
sub eax, dword [0xd41044]
jne 0x58606f
add esp, 0x16c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x154]
mov dword [esp + 0x64], esi
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x14c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x148]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xec]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x110]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x114]
mov dword [esp + 8], eax
lea eax, [esp + 0x118]
mov dword [esp + 4], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edi
mov dword [esp], eax
call fcn.004fdce0
jmp 0x585f0c
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
push ebx
sub esp, 0x34
mov eax, dword [esp + 0x6c]
lea esi, [esp + 0x24]
lea ebx, [esp + 0x1c]
mov dword [esp + 4], esi
mov dword [esp + 0x1c], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x2c], eax
xor eax, eax
lea eax, [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.004fee60
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004feeb0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub edx, dword [0xd41044]
jne 0x5860d6
add esp, 0x34
pop ebx
pop esi
ret
call fcn.00401690
nop
nop
nop
nop
nop