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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1ac
mov eax, dword [esp + 0x1c0]
fld qword [esp + 0x254]
lea ebx, [esp + 0x188]
lea ebp, [esp + 0x124]
mov edx, dword [esp + 0x1e0]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x14c], edx
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x1c8]
fstp qword [esp + 0xd0]
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x1f4]
mov edx, dword [esp + 0x204]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x214]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x228]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x104], edx
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x208]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x210]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x218]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x21c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x220]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x224]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x22c]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x230]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x234]
mov edx, dword [esp + 0x238]
mov dword [esp + 8], ebx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x23c]
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x244]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x24c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x248]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x250]
mov dword [esp + 0xdc], eax
mov eax, dword [0xd44044]
mov dword [esp + 0x19c], eax
xor eax, eax
lea eax, [esp + 0x17f]
mov dword [esp + 4], eax
lea eax, [esp + 0x180]
mov dword [esp], eax
call fcn.0050a790
mov edi, dword [esp + 0x124]
mov eax, dword [edi + 0x6af7c]
test eax, eax
je 0x58a33d
lea esi, [esp + 0x184]
mov dword [esp + 0xa8], esi
cmp eax, 2
ja 0x589c1d
lea esi, [esi]
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a970
mov edx, dword [esp + 0x180]
mov eax, dword [edi + 0x6af70]
test edx, edx
je 0x589bd0
cmp eax, dword [edi + 0x6af84]
jae 0x589bd0
mov ecx, dword [edi + 0x6af74]
sub ecx, edx
cmp ecx, 0x7efa
ja 0x589bd0
mov eax, dword [edi + 0x6af8c]
cmp dword [edi + 0x6af7c], eax
jb 0x58a330
lea eax, [esp + 0x18c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x148]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x158]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x164]
mov dword [esp + 8], eax
lea eax, [esp + 0x168]
mov dword [esp + 4], eax
lea eax, [esp + 0x16c]
mov dword [esp], eax
mov dword [esp + 0x28], ebp
call fcn.0050aa00
mov edi, dword [esp + 0x124]
mov eax, dword [esp + 0x188]
cmp dword [edi + 0x6af7c], eax
jb 0x58a318
cmp eax, 3
je 0x58a2f0
mov eax, dword [edi + 0x6af70]
lea esi, [esi]
cmp eax, 2
jbe 0x589be2
cmp eax, dword [esp + 0x188]
jae 0x589ea0
cmp byte [esp + 0x17f], 0
mov eax, dword [edi + 0x6af74]
jne 0x589c60
mov byte [esp + 0x17f], 1
add eax, 1
mov dword [edi + 0x6af74], eax
mov eax, dword [edi + 0x6af7c]
sub eax, 1
mov dword [edi + 0x6af7c], eax
cmp eax, 0x105
jbe 0x58a160
mov dword [esp], ebp
call fcn.0050a7e0
lea eax, [esp + 0x180]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a830
lea eax, [esp + 0x180]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a8a0
mov dword [esp], ebp
call fcn.0050a930
mov edi, dword [esp + 0x124]
jmp 0x589a48
movzx eax, byte [edi + eax + 0x1af63]
mov edx, edi
call fcn.00589250
test al, al
jne 0x589c88
mov edi, dword [esp + 0x124]
mov eax, dword [edi + 0x6af74]
jmp 0x589bfa
mov esi, dword [esp + 0x124]
xor edx, edx
mov edi, dword [esp + 0x108]
vmovsd xmm1, qword [esp + 0x100]
fld qword [esp + 0xe8]
mov eax, dword [esi + 0x6af68]
mov dword [esp + 0xb0], edi
vmovsd qword [esp + 0x80], xmm1
mov edi, dword [esp + 0x140]
lea ecx, [esi + eax + 0x1af64]
test eax, eax
mov dword [esp + 4], eax
cmovns edx, ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x90], edi
fstp qword [esp + 0xb8]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x16c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x94], edx
mov eax, dword [esi + 0x6af74]
mov dword [esp], eax
call fcn.004026d0
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x160]
vmovsd xmm0, qword [esp + 0xb8]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x68], edi
vmovsd xmm2, qword [esp + 0x148]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x54], ecx
vmovsd xmm3, qword [esp + 0xd0]
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x154]
vmovsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x164]
vmovsd qword [esp + 0x4c], xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
vmovsd qword [esp + 0x44], xmm2
vmovsd qword [esp + 0x34], xmm3
mov dword [esp + 0x6c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], edi
vmovsd xmm4, qword [esp + 0xf0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x168]
mov dword [esp], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x158]
vmovsd qword [esp + 0x14], xmm4
mov dword [esp + 4], eax
call fcn.0058aab0
mov edi, dword [esp + 0x124]
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x58a298
mov eax, dword [edi + 0x6af74]
mov dword [edi + 0x6af68], eax
jmp 0x589bfa
lea eax, [esp + 0x190]
mov dword [esp], ebp
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x17e]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.0050aac0
mov dword [esp], ebp
call fcn.0050ab30
mov edi, dword [esp + 0x124]
mov esi, dword [esp + 0x190]
lea esi, [esi]
mov dword [esp], ebp
call fcn.0050ab80
cmp esi, dword [edi + 0x6af74]
jae 0x58a2c0
mov dword [esp], ebp
call fcn.0050aca0
mov eax, dword [edi + 0x6af70]
test eax, eax
jne 0x589ef0
mov dword [esp], ebp
call fcn.0050acd0
lea eax, [esp + 0x17f]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0050ad00
cmp byte [esp + 0x17e], 0
je 0x58a14c
mov eax, dword [edi + 0x6af68]
test eax, eax
jns 0x58a450
mov dword [esp + 0x194], 0
mov dword [esp + 0xd8], 0
mov ecx, dword [esp + 0x158]
fld qword [esp + 0x128]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x140]
mov esi, dword [esp + 0x10c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x150]
fstp qword [esp + 0xb0]
fld qword [esp + 0xf0]
vmovsd xmm5, qword [esp + 0xb0]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x90], edx
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x88], edx
mov dword [esp + 0x9c], ecx
vmovsd qword [esp + 0x80], xmm5
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x8c], esi
mov eax, dword [edi + 0x6af74]
fstp qword [esp + 0xb8]
mov dword [esp], eax
call fcn.004026d0
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x134]
vmovsd xmm6, qword [esp + 0xb8]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x138]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
vmovsd qword [esp + 0x58], xmm6
vmovsd xmm5, qword [esp + 0xb0]
mov eax, dword [esp + 0x130]
vmovsd xmm7, qword [esp + 0x148]
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x164]
vmovsd qword [esp + 0x34], xmm7
vmovsd xmm7, qword [esp + 0xe8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x10], 0
mov dword [esp], eax
vmovsd qword [esp + 0x4c], xmm5
vmovsd qword [esp + 0x44], xmm6
vmovsd qword [esp + 0x14], xmm7
call fcn.0058aab0
mov edi, dword [esp + 0x124]
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x58a298
mov eax, dword [edi + 0x6af74]
mov dword [edi + 0x6af68], eax
mov eax, dword [edi + 0x6af7c]
cmp eax, 0x105
ja 0x589c1d
lea esi, [esi]
mov edx, dword [esp + 0x168]
fld qword [esp + 0xe8]
mov dword [esp + 0x7c], edi
fld qword [esp + 0x148]
fld qword [esp + 0xf0]
fxch st(2)
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x164]
mov esi, dword [esp + 0x130]
mov ecx, dword [esp + 0x150]
fst qword [esp + 0x84]
mov eax, dword [esp + 0x138]
mov edi, dword [esp + 0x114]
mov dword [esp + 0x80], edx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xf8]
fstp qword [esp + 0x68]
fst qword [esp + 0x60]
fxch st(1)
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x154]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x108]
fst qword [esp + 0x40]
mov dword [esp + 0x78], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], eax
fst qword [esp + 0x38]
mov dword [esp + 0x70], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x158]
fstp qword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x110]
fstp qword [esp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.0058a650
mov edi, dword [esp + 0x124]
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x589a1f
lea esi, [esi]
nop
mov eax, dword [esp + 0x19c]
sub eax, dword [0xd44044]
jne 0x58a484
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x180]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050ac00
mov dword [esp], ebp
call fcn.0050aca0
mov eax, dword [edi + 0x6af70]
test eax, eax
jne 0x589ef0
jmp 0x589f16
mov eax, dword [edi + 0x6af74]
sub eax, dword [edi + 0x6af78]
cmp eax, 0x1000
jbe 0x589bc7
mov dword [esp], ebx
call fcn.0050aa90
jmp 0x589bc7
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.0050aa50
mov eax, dword [esp + 0x188]
jmp 0x589bbe
mov dword [esp], ebp
call fcn.0050a9c0
jmp 0x589aa6
lea eax, [esp + 0x198]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x18c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x17f]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x144]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x150]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x154]
mov dword [esp + 8], eax
lea eax, [esp + 0x15c]
mov dword [esp + 4], eax
lea eax, [esp + 0x160]
mov dword [esp], eax
call fcn.0050a400
jmp 0x58a298
lea edx, [esp + 0x194]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 0xac], eax
call fcn.0050ad40
mov eax, dword [esp + 0x194]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xac]
jmp 0x589f63
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov ecx, dword [0xd44044]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
sub ecx, dword [0xd44044]
jne 0x58a4c4
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp dword [0xd46334]
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop