Function at 0x54fff0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62b42b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xf4
mov dword [eax], 0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x90]
push edi
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x55002d
mov ecx, dword [ecx + 0x10]
jmp 0x550037
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x550037
lea ecx, [eax + 0x30]
push 0
push 0
push 3
push 0
push 3
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x30], esi
jne 0x550062
mov eax, 1
jmp 0x550395
mov edx, dword [ebx + 0x3d4]
lea ecx, [esp + 0x14]
push 0
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x55038a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x55038a
lea ebp, [ebx + 0x390]
mov ecx, eax
lea edi, [esp + 0x44]
mov esi, ebp
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x550386
mov ecx, dword [0x6cd768]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ecx
mov edx, dword [ebx + 0x3d4]
push eax
push edx
lea eax, [esp + 0x18]
push str.Check_w_st_o_n_cn_failed__r_nposInCmpBuff3_ld__bytes_read_ld_r_nBuff3:_r_n
push eax
mov dword [esp + 0x11c], edi
call fcn.005fc86b
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
mov ecx, ebx
call fcn.0054d2a0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x9c]
push edx
push ebp
call fcn.00555b10
mov ecx, dword [ebx + 0x9c]
push 0xc
push str._r_ntmpBuff:_r_n
call fcn.00555b10
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, dword [ebx + 0x9c]
call fcn.00555b10
mov ecx, dword [ebx + 0x9c]
push 2
push 0x6a1db0
call fcn.00555b10
mov eax, dword [ebx + 0x3d4]
lea edx, [esp + 0x18]
lea esi, [ebx + 0x10]
push edx
push eax
push ebp
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.005561e0
cmp eax, edi
je 0x5502b4
mov eax, dword [ebx + 0x3d4]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x5502b4
mov ebp, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x70]
cdq
add ebp, eax
mov dword [ebx + 0x68], ebp
mov esi, dword [ebx + 0x6c]
adc esi, edx
add ecx, eax
mov dword [ebx + 0x70], ecx
mov ebp, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x94]
mov dword [ebx + 0x6c], esi
adc ebp, edx
mov dword [ebx + 0x74], ebp
mov esi, dword [ecx]
add esi, eax
mov dword [ecx], esi
mov ebp, dword [ecx + 4]
adc ebp, edx
mov dword [ecx + 4], ebp
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebx + 0x3d4]
mov esi, dword [ecx]
cdq
add esi, eax
mov dword [ecx], esi
mov eax, dword [ecx + 4]
lea esi, [ebx + 0x424]
adc eax, edx
push esi
mov dword [ecx + 4], eax
call fcn.005e8b67
mov eax, dword [esi]
mov ecx, dword [ebx + 0x418]
mov esi, dword [ebx + 0xb0]
add esp, 4
sub eax, ecx
mov dword [ebx + 0x430], eax
mov dword [esp + 0x24], eax
je 0x550295
mov ebp, dword [esi + 0x45c]
cmp ebp, edi
mov dword [esp + 0x1c], ebp
je 0x55026d
fild dword [esp + 0x1c]
lea ecx, [ebp + 1]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x34]
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fild dword [esp + 0x1c]
fst qword [esp + 0x1c]
fld qword [esp + 0x34]
fmul qword [esi + 0x430]
fadd qword [esp + 0x24]
fdivrp st(1)
fst qword [esp + 0x3c]
fstp qword [esi + 0x430]
fld qword [esp + 0x24]
fsub qword [esp + 0x3c]
fld qword [0x63e8d8]
call fcn.005e9610
fdiv qword [esp + 0x1c]
fld qword [esp + 0x34]
fmul qword [esi + 0x440]
fdiv qword [esp + 0x1c]
faddp st(1)
fstp qword [esi + 0x440]
fld qword [esp + 0x24]
jmp 0x550277
fild dword [esp + 0x24]
fst qword [esi + 0x430]
fcom qword [esi + 0x450]
fnstsw ax
test ah, 0x41
jne 0x55028c
fstp qword [esi + 0x450]
jmp 0x55028e
fstp st(0)
inc ebp
mov dword [esi + 0x45c], ebp
mov ecx, ebx
call fcn.0054f6f0
mov edx, dword [esp + 0x114]
mov dword [ebx + 0xa4], edi
mov dword [edx], 0xfffffff5
jmp 0x550372
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3d4]
mov ebp, eax
mov eax, dword [esp + 0x18]
push ebp
push eax
push ecx
lea edx, [esp + 0x90]
push str.File_write_error__Received__d_bytes__wrote__d_bytes__errCode___ld_n
push edx
call fcn.005e7bd3
add esp, 0x14
lea eax, [esp + 0x84]
mov ecx, ebx
push eax
call fcn.0054d2a0
cmp ebp, 5
jne 0x550304
mov ecx, dword [0x6d3374]
push ecx
mov ecx, dword [ebx + 0x9c]
call fcn.005559f0
mov ecx, dword [esp + 0x18]
mov edi, dword [ebx + 0x68]
xor edx, edx
add edi, ecx
mov dword [ebx + 0x68], edi
mov eax, dword [ebx + 0x6c]
adc eax, edx
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x94]
mov ebp, dword [eax]
add ebp, ecx
mov ecx, ebx
mov dword [eax], ebp
mov edi, dword [eax + 4]
adc edi, edx
mov dword [eax + 4], edi
call fcn.00551b20
test eax, eax
je 0x550354
lea ecx, [esp + 0x10]
mov dword [esp + 0x10c], 0xffffffff
call fcn.00603a3c
mov eax, 0xfffffffb
jmp 0x550395
mov edx, dword [ebx + 0x90]
mov ecx, esi
mov eax, dword [edx + 0x10]
push eax
call fcn.00555dd0
mov ecx, dword [esp + 0x114]
mov dword [ecx], 0xfffffffe
lea ecx, [esp + 0x10]
mov dword [esp + 0x10c], 0xffffffff
call fcn.00603a3c
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x100
ret 4