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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
test ebx, ebx
je 0x5a4356
cmp ebx, 0x76d020
je 0x5a42f3
cmp ebx, 0x76cf60
je 0x5a4311
cmp ebx, 0x76cd80
je 0x5a42c0
cmp dword [ebx + 4], 0x80
ja 0x5a4382
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.005a3d00
cmp eax, 1
jbe 0x5a4193
lea edi, [esp + 0x50]
mov ecx, esi
mov dword [esp], edi
mov eax, dword [ebx]
lea edx, [ebx + 4]
call fcn.005a3b80
cmp eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x30]
cmovne esi, edi
test eax, eax
je 0x5a41c0
lea edx, [esp + 0x78]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.005a4080
fld qword [esp + 0x78]
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x5a4145
jne 0x5a4150
mov edx, dword [esp + 0xb8]
fstp qword [edx]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
jmp 0x5a4152
fstp st(0)
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
shr eax, 4
add esi, eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.005a4080
mov eax, dword [esp + 0xb8]
fld qword [esp + 0x78]
fadd qword [esp + 0x80]
fstp qword [eax]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0063fb50
mov eax, dword [esp + 0xb8]
fld qword [esp + 0x78]
fstp qword [eax]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x38], edx
mov ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, esi
call fcn.005a3aa0
mov ebp, dword [ebx + 0x20]
mov edi, dword [ebx + 0x1c]
test eax, eax
je 0x5a42e6
cmp eax, dword [ebx + 0x18]
je 0x5a4204
sub eax, dword [ebx + 0x14]
cmp dword [ebx + 0x24], 1
je 0x5a4330
add eax, 1
fldz
fstp qword [esp + 0x30]
test ebp, ebp
jle 0x5a4281
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov esi, eax
jmp 0x5a4227
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x2c]
cmp ebp, 0x20
mov ebx, 0x20
mov eax, dword [esp + 0x38]
cmovle ebx, ebp
mov dword [esp], edi
sub esi, ebx
sub ebp, ebx
mov dword [esp + 4], ebx
add edi, ebx
call fcn.005a3aa0
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 8], esi
mov dword [esp + 0x40], eax
fild qword [esp + 0x40]
fstp qword [esp]
call fcn.0069ee30
test ebp, ebp
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
jg 0x5a4220
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edx, dword [ebx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, esi
call fcn.005a3aa0
test eax, eax
je 0x5a42ac
fld qword [esp + 0x30]
fchs
fstp qword [esp + 0x30]
mov eax, dword [esp + 0xb8]
fld qword [esp + 0x30]
fstp qword [eax]
jmp 0x5a413a
mov eax, dword [esi]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x68], eax
fld xword [esp + 0x60]
fstp qword [edx]
jmp 0x5a413a
mov eax, 1
sub eax, dword [ebx + 0x14]
jmp 0x5a4204
mov eax, dword [esi]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xb8]
fld dword [esp + 0x8c]
fstp qword [eax]
jmp 0x5a413a
mov eax, dword [esi]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb8]
fld qword [esp + 0x78]
fstp qword [eax]
jmp 0x5a413a
fld1
fstp qword [esp]
mov dword [esp + 8], eax
mov dword [esp + 0x28], eax
call fcn.0069ee30
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], edx
fstp qword [esp + 0x30]
jmp 0x5a420a
mov dword [esp + 0x10], str.fmt___NULL
mov dword [esp + 0xc], str.floatformat_to_doublest
mov dword [esp + 8], 0x734358
mov dword [esp + 4], 0x2d6
mov dword [esp], str._home_build_work_GCC_4_8_build_src_gdb_gdb_doublest.c
call fcn.0059c0c0
mov dword [esp + 0x10], str.fmt__totalsize___FLOATFORMAT_LARGEST_BYTES__FLOATFORMAT_CHAR_BIT
mov dword [esp + 0xc], str.convert_floatformat_to_doublest
mov dword [esp + 8], 0x734358
mov dword [esp + 4], 0xb7
mov dword [esp], str._home_build_work_GCC_4_8_build_src_gdb_gdb_doublest.c
call fcn.0059c0c0
nop