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

Disassembly:
push 0xffffffffffffffff
push 0x59b11e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5f4964]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
lea esi, [ebp + 0x14]
mov dword [esp + 0x18], ebx
cmp dword [esi], 5
jne 0x5005b6
mov ecx, esi
call fcn.0053b9a0
cmp dword [esi], 5
je 0x5005a5
jmp 0x500984
push 1
mov edi, 0xf
push str.___:
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00404d10
mov eax, dword [esp + 0x3c]
mov esi, 0x10
mov dword [esp + 0x98], ebx
lea ecx, [ebp + 0x18]
cmp dword [esp + 0x50], esi
jae 0x5005f4
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push ebx
call fcn.00422080
test eax, eax
jne 0x500617
lea ecx, [ebp + 0x14]
call fcn.0053b9a0
mov byte [esp + 0x17], 1
jmp 0x50061b
mov byte [esp + 0x17], bl
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x50], esi
jb 0x500639
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0056a760
add esp, 4
cmp byte [esp + 0x17], bl
je 0x50084c
push 1
push 0x5c8df8
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00404d10
mov eax, 1
or dword [esp + 0x18], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x50067d
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x18]
push eax
push ebx
call fcn.00422080
test eax, eax
je 0x5006ea
push 1
push 0x5bcf58
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00404d10
mov eax, 2
or dword [esp + 0x18], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x5006ce
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebp + 0x2c]
push ecx
lea ecx, [ebp + 0x18]
push eax
push edx
push ebx
call fcn.00422080
mov byte [esp + 0x17], 1
test eax, eax
jne 0x5006ee
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
je 0x500719
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x50], esi
jb 0x50070d
mov eax, dword [esp + 0x3c]
push eax
call fcn.0056a760
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x98], 0xffffffff
je 0x500743
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x34], esi
jb 0x500743
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0056a760
add esp, 4
mov ecx, ebp
cmp byte [esp + 0x17], bl
je 0x500752
call fcn.00500560
jmp 0x500757
call fcn.00501870
test al, al
je 0x500969
push 1
push 0x5c8df4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00404d10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x98], 3
cmp dword [esp + 0x34], esi
jae 0x500794
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x18]
push eax
push ebx
call fcn.00422080
test eax, eax
jne 0x5007ba
lea ecx, [ebp + 0x14]
call fcn.0053b9a0
mov byte [esp + 0x17], 1
jmp 0x5007be
mov byte [esp + 0x17], bl
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x5007dc
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0056a760
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x500984
push 1
push 0x5c8df0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00404d10
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov dword [esp + 0x9c], 4
call fcn.004fe4e0
mov byte [esp + 0x17], al
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x50083b
mov eax, dword [esp + 0x20]
push eax
call fcn.0056a760
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x500643
xor al, al
jmp 0x500986
push 1
push 0x5bce68
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00404d10
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0x9c], 5
call fcn.004fb930
or edi, 0xffffffff
mov byte [esp + 0x17], al
mov dword [esp + 0x98], edi
cmp dword [esp + 0x34], esi
jb 0x5008a0
mov edx, dword [esp + 0x20]
push edx
call fcn.0056a760
add esp, 4
mov eax, dword [ebp + 0x14]
lea esi, [ebp + 0x14]
cmp eax, 3
je 0x5008b9
cmp eax, 4
je 0x5008b9
cmp eax, 2
jne 0x500969
cmp byte [esp + 0x17], bl
je 0x50097d
cmp eax, 2
jne 0x50097d
lea eax, [ebp + 0x18]
push eax
lea ecx, [esp + 0x74]
call fcn.00403500
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x9c], 6
call fcn.004fc1a0
lea ecx, [esp + 0x74]
push 0x5bceb4
push ecx
call fcn.004fb510
add esp, 0xc
test al, al
je 0x50096d
lea edx, [esp + 0x70]
push str.infinity
push edx
call fcn.004fb510
add esp, 8
test al, al
je 0x50096d
lea eax, [esp + 0x70]
push 0x5bcea4
push eax
call fcn.004fb510
add esp, 8
test al, al
je 0x50096d
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x58]
push str.Invalid_float_number:
push edx
call fcn.0040e630
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x9c], 7
call fcn.004fa920
lea ecx, [esp + 0x54]
call fcn.00403540
lea ecx, [esp + 0x70]
call fcn.00403540
xor al, al
jmp 0x500986
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], edi
call fcn.00403540
mov ecx, esi
call fcn.0053b9a0
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0056ab51
add esp, 0x88
ret