Function at 0x622fd0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7577de
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
push 0
mov ebp, ecx
push 0x7a951c
call fcn.006f9880
mov esi, dword [esp + 0xc4]
mov ebx, dword [sym.imp.kernel32.dll_ReadFile]
add esp, 8
lea eax, [esp + 0x1c]
lea edi, [ebp + 0x4188]
push 0
push eax
push 4
push edi
push esi
call ebx
mov edi, dword [edi]
test edi, edi
je 0x623240
lea ecx, [edi + edi*4]
shl ecx, 4
add ecx, 4
push ecx
call fcn.00726f70
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0xb4], 0
je 0x623071
push fcn.00449790
mov dword [eax], edi
push fcn.00449720
add eax, 4
push edi
push 0x50
push eax
mov dword [esp + 0x38], eax
call fcn.00727513
mov eax, dword [esp + 0x24]
jmp 0x623073
xor eax, eax
mov dword [esp + 0xb4], 0xffffffff
lea edx, [esp + 0x1c]
mov dword [ebp + 0x418c], eax
push 0
push edx
lea eax, [esp + 0x1c]
push 4
push eax
push esi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x623240
lea ecx, [eax*4]
push ecx
call fcn.00726f70
mov ecx, dword [esp + 0x18]
add esp, 4
xor edi, edi
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x6230fa
mov dword [esp + 0x10], eax
push 0x104
call fcn.00726f70
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0x104
push eax
push esi
mov dword [edx], eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x6230c3
mov eax, dword [ebp + 0x4188]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x24], edi
jle 0x623208
mov dword [esp + 0x10], 0x64
jmp 0x623125
mov esi, dword [esp + 0xbc]
mov ebx, dword [sym.imp.kernel32.dll_ReadFile]
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x32]
push 2
push eax
push esi
call ebx
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x22]
push 2
push edx
push esi
call ebx
movsx eax, word [esp + 0x2a]
mov ecx, dword [esp + 0x20]
push 0
push 0x80
push 3
mov edx, dword [ecx + eax*4]
push 0
push 0
push closesocket
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
xor ebx, ebx
mov esi, eax
cmp word [esp + 0x1a], bx
jle 0x623191
mov eax, dword [ebp + 0x418c]
mov ecx, edi
push esi
add ecx, eax
call fcn.0044a680
movsx eax, word [esp + 0x1a]
inc ebx
cmp ebx, eax
jl 0x623177
mov ecx, dword [ebp + 0x418c]
mov edx, dword [0x8056bc]
push esi
mov dword [edi + ecx + 0x28], edx
mov eax, dword [ebp + 0x418c]
mov edx, dword [edi + eax]
lea ecx, [edi + eax]
call dword [edx + 0xc]
mov eax, dword [esp + 0x10]
cdq
idiv dword [ebp + 0x4188]
mov ebx, eax
lea eax, [esp + 0x2c]
push ebx
push 0x7a94f8
push eax
call fcn.00727335
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.006f9880
add esp, 0x14
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x4188]
inc eax
add esi, 0x64
add edi, 0x50
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
jl 0x623118
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x623233
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
push edx
call fcn.00726ea6
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x14]
inc edi
add esi, 4
cmp edi, eax
jl 0x623216
mov eax, dword [esp + 0x20]
push eax
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 4