Function at 0x537e00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x23b4
call fcn.006ab750
fldz
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push esi
push edi
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call edx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x3b8]
push eax
mov edi, 0x2002
lea eax, [esp + 0x2b4]
call fcn.00541330
lea esi, [esp + 0x50]
call fcn.0054d5b0
push 0xea60
lea ecx, [esp + 0x2b4]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.00541fe0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x537ec1
mov esi, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esp + 0x50]
call fcn.0054d640
mov eax, dword [esp + 0x90]
push eax
call fcn.0069c8fa
mov eax, dword [esp + 0x74]
add esp, 4
cmp eax, 0xffffffff
je 0x537e9c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0069c8fa
mov edx, dword [esp + 0x54]
add esp, 4
push edx
call fcn.0069c8fa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov esi, dword [ebp + 0x1c]
push 0x9c40
lea eax, [esp + 0x3bc]
push eax
lea ecx, [esp + 0x2b8]
push ecx
mov ecx, dword [ebp + 0x14]
push str.POST
lea edx, [esp + 0x60]
push edx
push ebx
lea eax, [esp + 0x38]
push eax
mov eax, esi
call fcn.00578820
mov eax, dword [eax]
test eax, eax
je 0x537f12
mov edi, dword [ebp + 8]
lea esi, [esp + 0x50]
mov dword [edi], eax
call fcn.00499ba0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
fldz
push 0x1000
fstp qword [esp + 0x34]
mov dword [esp + 0x30], ebx
fld qword [0x723960]
mov dword [esp + 0x2c], 0x6dbc50
fstp qword [esp + 0x3c]
mov dword [esp + 0x20], esi
call fcn.0069c0de
fldz
mov ecx, esi
fstp qword [esp + 0x44]
add esp, 4
test ecx, ecx
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
mov edi, eax
jge 0x537f5b
fadd qword [0x7235b8]
test esi, esi
fdivr qword [0x723c18]
fstp qword [esp + 0x48]
ja 0x537fcb
push edi
call fcn.0069c8fa
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
add esp, 4
push 0x9c40
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.00578910
mov eax, dword [eax]
test eax, eax
jne 0x537ef9
mov edx, dword [ebx]
fld1
mov eax, dword [edx + 0x24]
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call eax
mov edi, dword [ebp + 8]
lea esi, [esp + 0x50]
mov dword [edi], 0
call fcn.00499ba0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov esi, dword [esp + 0x1c]
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
test al, al
jne 0x538063
cmp esi, 0x1000
jbe 0x537fe8
mov esi, 0x1000
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x24], esi
jne 0x538091
push 0x9c40
push edi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, esi
lea ecx, [esp + 0x60]
call fcn.0054d6a0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x53809c
fld qword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
fadd qword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub dword [esp + 0x1c], esi
fst qword [esp + 0x40]
sub esp, 8
fmul qword [esp + 0x40]
fadd qword [esp + 0x38]
fstp qword [esp]
call edx
cmp dword [esp + 0x1c], 0
ja 0x537fc7
jmp 0x537f69
mov ebx, dword [ebp + 8]
mov dword [ebx], 1
push edi
call fcn.0069c8fa
add esp, 4
lea esi, [esp + 0x50]
mov dword [esp + 0x28], 0x70c5e4
call fcn.00499ba0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [ebp + 8]
mov dword [ebx], 2
jmp 0x53806c
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
jmp 0x53806c