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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x19c
mov eax, dword [esp + 0x1b0]
mov edx, dword [esp + 0x1bc]
lea ebp, [esp + 0xdc]
lea edi, [esp + 0x154]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0x1c4]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x1e0]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x114], edx
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x1f0]
mov edx, dword [esp + 0x21c]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x228]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x234]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x20c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x210]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x218]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x220]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x224]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x22c]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x230]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x238]
mov edx, dword [esp + 0x244]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x23c]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x248]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x250]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x254]
mov dword [esp + 0xa8], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x18c], eax
xor eax, eax
lea eax, [esp + 0x14f]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x160]
mov dword [esp + 8], eax
lea eax, [esp + 0x15c]
mov dword [esp + 4], eax
lea eax, [esp + 0x158]
mov dword [esp], eax
call fcn.004ff0b0
mov eax, dword [esp + 0xdc]
mov eax, dword [eax + 0x1af20]
test eax, eax
lea eax, [esp + 0x174]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x9c], eax
je 0x586ae0
lea eax, [esp + 0xc0]
lea edx, [esp + 0xe0]
mov dword [esp + 0x74], edi
mov edi, ebp
lea ecx, [esp + 0x124]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x80], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x130]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0x88], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], eax
jmp 0x586570
lea eax, [esp + 0x188]
lea esi, [esp + 0x104]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x17c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
lea eax, [esp + 0x13c]
mov dword [esp], eax
call fcn.004ff240
mov eax, dword [esp + 0x174]
test eax, eax
je 0x5869a0
lea eax, [esp + 0x14f]
mov dword [esp], eax
call fcn.004fff20
mov eax, dword [esp + 0xdc]
mov eax, dword [eax + 0x1af20]
cmp dword [esp + 0x158], eax
jae 0x586c38
lea eax, [esp + 0x16c]
mov dword [esp], edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14f]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x160]
mov dword [esp + 8], eax
lea eax, [esp + 0x158]
mov dword [esp + 4], eax
call fcn.00500120
lea eax, [esp + 0x170]
mov ebx, dword [esp + 0x74]
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call fcn.004ff1f0
test byte [esp + 0x14f], 1
je 0x586448
lea eax, [esp + 0x184]
lea ebx, [esp + 0x164]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x178]
lea ebp, [esp + 0xd0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x128]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004ff470
mov eax, dword [esp + 0x178]
test eax, eax
je 0x5869a0
lea eax, [esp + 0x168]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004ff6d0
mov eax, dword [esp + 0x168]
test eax, eax
jne 0x5869c0
lea eax, [esp + 0xb8]
lea esi, [esp + 0xec]
mov dword [esp + 0x90], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x94], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x180]
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x15c]
mov dword [esp + 8], eax
lea eax, [esp + 0x150]
mov dword [esp + 4], eax
call fcn.004ff880
lea eax, [esp + 0x150]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00500200
lea eax, [esp + 0x184]
mov dword [esp + 0x30], ebp
lea ebp, [esp + 0xfc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x178]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], esi
lea esi, [esp + 0x104]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x120]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004ff9d0
mov eax, dword [esp + 0x184]
test eax, eax
je 0x5869a0
lea eax, [esp + 0x168]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004ffc50
mov edx, dword [esp + 0x168]
test edx, edx
je 0x586547
lea eax, [esp + 0x188]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x184]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x178]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x128]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004ffc90
mov eax, dword [esp + 0x188]
test eax, eax
jne 0x586547
lea esi, [esi]
mov eax, dword [esp + 0x18c]
sub eax, dword [0xd41044]
jne 0x586c4c
add esp, 0x19c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x184]
lea esi, [esp + 0xec]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x17c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x178]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x48], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [esp + 0x128]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004ff710
mov ecx, dword [esp + 0x17c]
test ecx, ecx
jne 0x586736
jmp 0x5869a0
lea ecx, [esp + 0x124]
lea eax, [esp + 0xb8]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x130]
lea edx, [esp + 0xe0]
mov dword [esp + 0x90], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x94], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x104]
lea ecx, [esp + 0x188]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x178]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x128]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], edx
mov dword [esp], eax
call fcn.004fff50
jmp 0x5869a0
mov ebp, edi
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x74]
mov edx, esi
jmp 0x586b58
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop