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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1ac
mov eax, dword [esp + 0x1f4]
fld qword [esp + 0x20c]
lea ebx, [esp + 0x18c]
lea ebp, [esp + 0x170]
mov edx, dword [esp + 0x1c4]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x250]
mov dword [esp + 0x17c], edx
mov edx, dword [esp + 0x1d0]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x254]
fstp qword [esp + 0xf0]
fld qword [esp + 0x21c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x16c], edx
mov edx, dword [esp + 0x1e0]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x1c8]
fstp qword [esp + 0xf8]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], edx
mov eax, dword [esp + 0x1e4]
mov edx, dword [esp + 0x22c]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x124], edx
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x204]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x208]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x218]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x224]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x228]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x230]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x234]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x238]
mov edx, dword [esp + 0x23c]
mov dword [esp + 8], ebx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x244]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x248]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x24c]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x258]
mov dword [esp + 0x100], eax
mov eax, dword [0xd46044]
mov dword [esp + 0x19c], eax
xor eax, eax
lea eax, [esp + 0x183]
mov dword [esp + 4], eax
lea eax, [esp + 0x184]
mov dword [esp], eax
call fcn.0050a070
mov esi, dword [esp + 0x170]
mov eax, dword [esi + 0x6af7c]
test eax, eax
je 0x58c34d
lea ecx, [esp + 0x188]
mov edi, ecx
cmp eax, 2
ja 0x58bbcd
lea esi, [esi]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.0050a1f0
mov dword [esp], ebx
call fcn.0050a230
mov edx, dword [esp + 0x184]
mov eax, dword [esi + 0x6af70]
test edx, edx
je 0x58bb80
cmp eax, dword [esi + 0x6af84]
jae 0x58bb80
mov ecx, dword [esi + 0x6af74]
sub ecx, edx
cmp ecx, 0x7efa
ja 0x58bb80
mov eax, dword [esi + 0x6af8c]
cmp dword [esi + 0x6af7c], eax
jb 0x58c340
lea eax, [esp + 0x190]
mov dword [esp + 8], ebp
mov dword [esp + 0x50], eax
lea eax, [esp + 0x184]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x144]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x160]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x164]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x168]
mov dword [esp + 4], eax
lea eax, [esp + 0x174]
mov dword [esp], eax
call fcn.0050a2a0
lea eax, [esp + 0x190]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0050a2e0
mov esi, dword [esp + 0x170]
mov eax, dword [esp + 0x18c]
cmp dword [esi + 0x6af7c], eax
jb 0x58c328
cmp eax, 3
je 0x58c2f8
mov eax, dword [esi + 0x6af70]
lea esi, [esi]
nop
cmp eax, 2
jbe 0x58bb92
cmp eax, dword [esp + 0x18c]
jae 0x58be60
cmp byte [esp + 0x183], 0
mov eax, dword [esi + 0x6af74]
jne 0x58bbf8
mov byte [esp + 0x183], 1
add eax, 1
mov dword [esi + 0x6af74], eax
mov eax, dword [esi + 0x6af7c]
sub eax, 1
mov dword [esi + 0x6af7c], eax
cmp eax, 0x105
jbe 0x58c140
lea eax, [esp + 0x184]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a0c0
mov dword [esp], ebp
call fcn.0050a1b0
mov esi, dword [esp + 0x170]
jmp 0x58b9f8
movzx eax, byte [esi + eax + 0x1af63]
mov ecx, esi
xor edx, edx
call fcn.0058b470
mov esi, dword [esp + 0x170]
test al, al
jne 0x58bc20
mov eax, dword [esi + 0x6af74]
jmp 0x58bbaa
mov eax, dword [esi + 0x6af68]
xor edx, edx
fld qword [esp + 0x110]
vmovsd xmm2, qword [esp + 0xf8]
lea ecx, [esi + eax + 0x1af64]
test eax, eax
cmovns edx, ecx
mov ecx, dword [esp + 0x138]
fstp qword [esp + 0xb8]
fld qword [esp + 0x168]
vmovsd xmm0, qword [esp + 0xb8]
vmovsd qword [esp + 0x90], xmm2
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x148]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x160]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x12c]
fstp qword [esp + 0xd0]
mov dword [esp + 0x80], edx
vmovsd qword [esp + 0x9c], xmm0
mov dword [esp + 4], eax
mov eax, dword [esi + 0x6af74]
mov dword [esp], eax
call fcn.004026d0
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
vmovsd xmm1, qword [esp + 0xd0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x68], ecx
vmovsd xmm0, qword [esp + 0xb8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x164]
vmovsd xmm3, qword [esp + 0x178]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x60], edx
vmovsd xmm4, qword [esp + 0x158]
mov dword [esp + 0x4c], eax
vmovsd xmm5, qword [esp + 0xf0]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], eax
vmovsd qword [esp + 0x70], xmm0
vmovsd qword [esp + 0x58], xmm1
vmovsd qword [esp + 0x50], xmm3
vmovsd qword [esp + 0x3c], xmm4
vmovsd qword [esp + 0x2c], xmm5
mov eax, dword [esp + 0x14c]
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 0
vmovsd qword [esp + 0x24], xmm1
call fcn.0058ca80
mov esi, dword [esp + 0x170]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x58c290
mov eax, dword [esi + 0x6af74]
mov dword [esi + 0x6af68], eax
jmp 0x58bbaa
lea eax, [esp + 0x194]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a3d0
lea eax, [esp + 0x190]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x182]
mov dword [esp + 8], eax
mov dword [esp], ebp
call fcn.0050a460
mov dword [esp], ebp
call fcn.0050a4f0
mov esi, dword [esp + 0x170]
lea esi, [esi]
mov dword [esp], ebp
call fcn.0050a540
mov eax, dword [esi + 0x6af74]
cmp dword [esp + 0x194], eax
jae 0x58c2b0
mov dword [esp], ebp
call fcn.0050a640
mov eax, dword [esi + 0x6af70]
test eax, eax
jne 0x58bea8
lea eax, [esp + 0x183]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0050a670
cmp byte [esp + 0x182], 0
mov esi, dword [esp + 0x170]
je 0x58c12c
mov eax, dword [esi + 0x6af68]
xor edx, edx
fld qword [esp + 0x110]
lea ecx, [esi + eax + 0x1af64]
test eax, eax
mov dword [esp + 4], eax
cmovns edx, ecx
mov ecx, dword [esp + 0x160]
fstp qword [esp + 0xc0]
fld qword [esp + 0x120]
vmovsd xmm6, qword [esp + 0xc0]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x144]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x150]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0xb8]
fstp qword [esp + 0xc8]
vmovsd xmm7, qword [esp + 0xc8]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], edx
vmovsd qword [esp + 0x9c], xmm6
vmovsd qword [esp + 0x90], xmm7
mov eax, dword [esi + 0x6af74]
mov dword [esp], eax
call fcn.004026d0
mov ecx, dword [esp + 0xe0]
vmovsd xmm6, qword [esp + 0xc0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x190]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0xd0]
vmovsd qword [esp + 0x70], xmm6
vmovsd xmm2, qword [esp + 0x178]
vmovsd xmm6, qword [esp + 0xf0]
mov dword [esp + 0x48], eax
vmovsd xmm7, qword [esp + 0xc8]
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x4c], edx
vmovsd qword [esp + 0x58], xmm2
mov dword [esp + 0x38], eax
vmovsd qword [esp + 0x50], xmm7
vmovsd qword [esp + 0x3c], xmm6
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x13c]
vmovsd xmm7, qword [esp + 0x158]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], 0
vmovsd qword [esp + 0x2c], xmm6
vmovsd qword [esp + 0x24], xmm7
call fcn.0058ca80
mov esi, dword [esp + 0x170]
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x58c290
mov eax, dword [esi + 0x6af74]
mov dword [esi + 0x6af68], eax
mov eax, dword [esi + 0x6af7c]
cmp eax, 0x105
ja 0x58bbcd
lea esi, [esi]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x148]
mov edx, dword [esp + 0x160]
mov edi, dword [esp + 0x140]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
mov dword [esp + 0x88], edi
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x144]
vmovsd xmm4, qword [esp + 0x158]
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x138]
vmovsd xmm5, qword [esp + 0xf8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x104]
mov esi, dword [esp + 0x190]
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x7c], eax
vmovsd xmm3, qword [esp + 0x120]
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], edx
vmovsd qword [esp + 0x60], xmm4
vmovsd qword [esp + 0x58], xmm5
vmovsd qword [esp + 0x68], xmm3
vmovsd xmm3, qword [esp + 0x110]
mov edi, dword [esp + 0xe8]
mov edx, dword [esp + 0x14c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
mov dword [esp + 4], edi
vmovsd qword [esp + 0x30], xmm3
call fcn.0058c610
mov esi, dword [esp + 0x170]
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x58b9d1
lea esi, [esi]
nop
mov eax, dword [esp + 0x19c]
sub eax, dword [0xd46044]
jne 0x58c441
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x184]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a570
lea eax, [esp + 0x184]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050a5e0
mov dword [esp], ebp
call fcn.0050a640
mov eax, dword [esi + 0x6af70]
test eax, eax
jne 0x58bea8
jmp 0x58bed5
mov eax, dword [esi + 0x6af74]
sub eax, dword [esi + 0x6af78]
cmp eax, 0x1000
jbe 0x58bb71
mov dword [esp], ebx
call fcn.0050a350
mov esi, dword [esp + 0x170]
jmp 0x58bb71
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.0050a310
mov eax, dword [esp + 0x18c]
jmp 0x58bb68
mov dword [esp], ebp
call fcn.0050a260
jmp 0x58ba57
lea eax, [esp + 0x198]
mov dword [esp + 8], ebp
mov dword [esp + 0x54], eax
lea eax, [esp + 0x190]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x183]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x144]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x148]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x164]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x174]
mov dword [esp + 4], eax
lea eax, [esp + 0x178]
mov dword [esp], eax
call fcn.00509e00
jmp 0x58c290
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov ecx, dword [0xd46044]
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 [0xd46044]
jne 0x58c484
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp dword [0xd48334]
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop