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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
movsx eax, word [edi + 0x22]
mov ecx, dword [eax*4 + 0xa9b0c8]
mov eax, dword [ecx + 0x14]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
add eax, 0xc
mov dword [esp + 0x24], ecx
mov ecx, dword [eax]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, ecx
mov dword [esp + 0x1c], eax
mov eax, ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], ecx
mov ecx, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov ecx, eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x50], edx
mov edx, eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov edx, ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x48], ecx
mov ecx, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov ecx, eax
mov edx, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], 0x497423f0
mov dword [esp + 0x18], 0x497423f0
mov dword [esp + 0x1c], 0x497423f0
mov dword [esp + 0x20], 0xc97423f0
mov dword [esp + 0x24], 0xc97423f0
mov dword [esp + 0x28], 0xc97423f0
lea esi, [esp + 0x38]
mov ebp, 8
xor ebx, ebx
lea esp, [esp]
cmp dword [edi + 0x14], ebx
jne 0x5987d8
mov ecx, edi
call fcn.0054f560
mov ecx, dword [edi + 0x14]
push ecx
lea ecx, [edi + 4]
call fcn.0054f1b0
mov eax, dword [edi + 0x14]
push esi
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0059c890
mov edx, dword [eax]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
fld dword [esi]
fcomp dword [esp + 0x20]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x59880f
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
fld dword [esi + 4]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x598824
mov edx, dword [esi + 4]
mov dword [esp + 0x18], edx
fld dword [esi + 8]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x598839
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
fld dword [esi]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x59884c
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
fld dword [esi + 4]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x598861
mov edx, dword [esi + 4]
mov dword [esp + 0x24], edx
fld dword [esi + 8]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x598876
mov eax, dword [esi + 8]
mov dword [esp + 0x28], eax
add esi, 0xc
dec ebp
jne 0x5987c0
mov eax, dword [0xb6f03c]
cmp eax, ebx
je 0x59888e
add eax, 0x30
jmp 0x598893
mov eax, 0xb6f02c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 1
jne 0x598906
fld dword [esp + 0x2c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jp 0x598906
fld dword [esp + 0x30]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x598906
fld dword [esp + 0x30]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x598906
fld dword [esp + 0x34]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x598906
fld dword [esp + 0x34]
mov byte [esp + 0x13], 1
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x59890a
mov byte [esp + 0x13], bl
push ebx
call fcn.0056e210
mov ecx, dword [eax + 0x14]
add esp, 4
cmp ecx, ebx
je 0x59891f
lea eax, [ecx + 0x30]
jmp 0x598922
add eax, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 1
jne 0x598995
fld dword [esp + 0x2c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jp 0x598995
fld dword [esp + 0x30]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x598995
fld dword [esp + 0x30]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x598995
fld dword [esp + 0x34]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x598995
fld dword [esp + 0x34]
mov byte [esp + 0x12], 1
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x598999
mov byte [esp + 0x12], bl
push 1
call fcn.0056e210
add esp, 4
test eax, eax
je 0x598a34
push 1
call fcn.0056e210
mov ecx, dword [eax + 0x14]
add esp, 4
cmp ecx, ebx
je 0x5989c1
lea eax, [ecx + 0x30]
jmp 0x5989c4
add eax, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 1
jne 0x598a34
fld dword [esp + 0x2c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jp 0x598a34
fld dword [esp + 0x30]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x598a34
fld dword [esp + 0x30]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x598a34
fld dword [esp + 0x34]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x598a34
fld dword [esp + 0x34]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jp 0x598a34
mov bl, 1
mov edx, dword [esp + 0x12]
mov ecx, dword [esp + 0x13]
xor eax, eax
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
or eax, edx
or eax, ecx
add esp, 0x88
ret 8