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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x5982fe
cmp dword [ebp - 0x1c], 2
ja 0x5984b9
cmp dword [ebp - 0x1c], 0
je 0x598152
cmp dword [ebp - 0x1c], 1
je 0x5984bf
jmp 0x5984b9
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov eax, dword [ebp + 0x20]
fld qword [eax]
fstp qword [ebp - 0x30]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x5c]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x78]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x40]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x58]
fld qword [eax]
mov eax, dword [ebp + 0x80]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x1c]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
fstp qword [esp + 0x98]
fxch st(5)
fstp qword [esp + 0x90]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], esi
fld qword [ebp - 0x30]
fstp qword [esp + 0x80]
fxch st(3)
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x7c], ebx
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x78], esi
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x74], ebx
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x70], esi
mov ebx, dword [ebp - 0x44]
mov dword [esp + 0x6c], ebx
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x68], esi
mov ebx, dword [ebp - 0x4c]
mov dword [esp + 0x64], ebx
fstp qword [esp + 0x5c]
fxch st(1)
fstp qword [esp + 0x54]
mov esi, dword [ebp - 0x50]
mov dword [esp + 0x50], esi
fstp qword [esp + 0x48]
mov ebx, dword [ebp - 0x54]
mov dword [esp + 0x44], ebx
mov esi, dword [ebp - 0x58]
mov dword [esp + 0x40], esi
mov ebx, dword [ebp - 0x5c]
mov dword [esp + 0x3c], ebx
mov esi, dword [ebp - 0x60]
mov dword [esp + 0x38], esi
fstp qword [esp + 0x30]
mov ebx, dword [ebp - 0x64]
mov dword [esp + 0x2c], ebx
mov esi, dword [ebp - 0x68]
mov dword [esp + 0x28], esi
fstp qword [esp + 0x20]
mov ebx, dword [ebp - 0x6c]
mov dword [esp + 0x1c], ebx
mov esi, dword [ebp - 0x70]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
fstp qword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00451286
mov edx, dword [ebp + 0x6c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x5984ba
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x70]
mov esi, dword [eax]
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 0x80]
mov esi, dword [eax]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x60]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x80]
mov ebx, dword [eax]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x44]
mov esi, dword [eax]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x7c]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x48]
mov ebx, dword [eax]
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0x68]
mov edi, dword [eax]
mov eax, dword [ebp + 0x80]
mov esi, dword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x58]
fld qword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x4c]
fld qword [eax]
fxch st(5)
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x8c], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x88], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x78], edx
fstp qword [esp + 0x70]
fxch st(3)
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x50], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x48], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
fstp qword [esp + 0x30]
fxch st(1)
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], ebx
fstp qword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x78]
mov dword [esp + 0xc], ecx
fstp qword [esp + 4]
mov dword [esp], eax
call fcn.0045995c
mov edx, dword [ebp + 0x70]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x5984ba
nop
jmp 0x598129
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret