Function at 0x623920
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4168]
test eax, eax
jne 0x623a2a
mov ecx, dword [0x93c98c]
push ebx
call fcn.00478a90
mov ebx, dword [0x93c8a0]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
lea edi, [ebx + 0x14]
push eax
mov ecx, edi
call fcn.005a6a60
mov edi, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x623976
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x623976
lea eax, [esp + 0x10]
jmp 0x62397e
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x18]
cmp eax, ecx
pop ebx
je case.0x623a37.4
add eax, 0x10
test eax, eax
je case.0x623a37.4
mov eax, dword [eax + 0x38]
test eax, eax
jne 0x6239a3
mov eax, 0x765608
push 0
push 0x80
push 3
push 0
push 0
push closesocket
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
test eax, eax
mov dword [esi + 0x4168], eax
je case.0x623a37.4
mov eax, dword [esi + 0x40c8]
mov edx, eax
imul edx, eax
shl edx, 2
push edx
call fcn.00726f70
mov edx, dword [esi + 0x4168]
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
add esp, 4
mov dword [esi + 0x416c], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push eax
push 4
push ecx
push edx
call edi
mov eax, dword [esi + 0x40c8]
lea ecx, [esp + 0x14]
mov edx, eax
push 0
imul edx, eax
mov eax, dword [esi + 0x416c]
push ecx
mov ecx, dword [esi + 0x4168]
shl edx, 2
push edx
push eax
push ecx
call edi
mov eax, dword [esp + 0x20]
cmp eax, 9
ja case.0x623a37.4
jmp dword [eax*4 + 0x6240fc]
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 0
push 0
mov ecx, esi
call fcn.006242e0
lea ecx, [esi + 0x40e8]
push ecx
push 0
push 1
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4118]
mov ecx, esi
push edx
push 0
push 2
call fcn.00624130
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 1
push 0
mov ecx, esi
call fcn.006242e0
lea edx, [esi + 0x40f8]
mov ecx, esi
push edx
push 1
push 1
call fcn.00624130
lea eax, [esi + 0x4128]
jmp 0x623b0e
lea ecx, [esi + 0x40e8]
push ecx
push 0
push 0
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4118]
mov ecx, esi
push edx
push 0
push 1
call fcn.00624130
lea eax, [esi + 0x4148]
mov ecx, esi
push eax
push 0
push 2
call fcn.00624130
lea ecx, [esi + 0x40f8]
push ecx
push 1
push 0
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4128]
mov ecx, esi
push edx
push 1
push 1
call fcn.00624130
lea eax, [esi + 0x4158]
push eax
push 1
push 2
mov ecx, esi
call fcn.00624130
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 2
push 0
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 2
push 1
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 2
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
lea ecx, [esi + 0x4118]
push ecx
push 0
push 0
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4148]
mov ecx, esi
push edx
push 0
push 1
call fcn.00624130
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 2
mov ecx, esi
call fcn.006242e0
lea edx, [esi + 0x4128]
mov ecx, esi
push edx
push 1
push 0
call fcn.00624130
lea eax, [esi + 0x4158]
mov ecx, esi
push eax
push 1
push 1
call fcn.00624130
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 1
push 2
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 2
push 0
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 2
push 1
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 2
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
lea eax, [esi + 0x4108]
mov ecx, esi
push eax
push 0
push 2
call fcn.00624130
lea ecx, [esi + 0x4118]
push ecx
push 1
push 2
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4128]
mov ecx, esi
push edx
push 2
push 2
call fcn.00624130
lea eax, [esi + 0x40d8]
mov ecx, esi
push eax
push 0
push 1
call fcn.00624130
lea ecx, [esi + 0x40e8]
push ecx
push 1
push 1
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x40f8]
mov ecx, esi
push edx
push 2
push 1
call fcn.00624130
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 0
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 1
push 0
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 2
push 0
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 0
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 0
push 1
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 0
push 2
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 1
push 0
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 1
push 1
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 1
push 2
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 2
push 0
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 2
push 1
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 2
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
lea eax, [esi + 0x4108]
mov ecx, esi
push eax
push 0
push 0
call fcn.00624130
lea ecx, [esi + 0x4118]
push ecx
push 1
push 0
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4128]
mov ecx, esi
push edx
push 2
push 0
call fcn.00624130
lea eax, [esi + 0x4138]
mov ecx, esi
push eax
push 0
push 1
call fcn.00624130
lea ecx, [esi + 0x4148]
push ecx
push 1
push 1
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x4158]
mov ecx, esi
push edx
push 2
push 1
call fcn.00624130
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 2
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 1
push 2
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 2
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
lea eax, [esi + 0x4118]
mov ecx, esi
push eax
push 2
push 2
call fcn.00624130
lea ecx, [esi + 0x40e8]
push ecx
push 2
push 1
mov ecx, esi
call fcn.00624130
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 2
push 0
mov ecx, esi
call fcn.006242e0
lea ecx, [esi + 0x4108]
push ecx
push 1
push 2
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x40d8]
mov ecx, esi
push edx
push 1
push 1
call fcn.00624130
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 1
push 0
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 0
push 0
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 0
push 1
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
lea edx, [esi + 0x40e8]
mov ecx, esi
push edx
push 2
push 0
call fcn.00624130
lea eax, [esi + 0x4118]
mov ecx, esi
push eax
push 2
push 1
call fcn.00624130
lea ecx, [esi + 0x4148]
push ecx
push 2
push 2
mov ecx, esi
call fcn.00624130
lea edx, [esi + 0x40d8]
mov ecx, esi
push edx
push 1
push 0
call fcn.00624130
lea eax, [esi + 0x4108]
mov ecx, esi
push eax
push 1
push 1
call fcn.00624130
lea ecx, [esi + 0x4138]
push ecx
push 1
push 2
mov ecx, esi
call fcn.00624130
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 0
push 0
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 0
push 1
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4
lea edx, [esi + 0x4118]
mov ecx, esi
push edx
push 2
push 0
call fcn.00624130
lea eax, [esi + 0x4148]
mov ecx, esi
push eax
push 2
push 1
call fcn.00624130
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 2
push 2
mov ecx, esi
call fcn.006242e0
lea eax, [esi + 0x4108]
mov ecx, esi
push eax
push 1
push 0
call fcn.00624130
lea ecx, [esi + 0x4138]
push ecx
push 1
push 1
mov ecx, esi
call fcn.00624130
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 1
push 2
mov ecx, esi
call fcn.006242e0
mov ecx, dword [esi + 0x416c]
mov edx, dword [esi + 0x4168]
push ecx
push edx
push 0
push 0
mov ecx, esi
call fcn.006242e0
mov eax, dword [esi + 0x416c]
mov ecx, dword [esi + 0x4168]
push eax
push ecx
push 0
push 1
mov ecx, esi
call fcn.006242e0
mov edx, dword [esi + 0x416c]
mov eax, dword [esi + 0x4168]
push edx
push eax
push 0
push 2
mov ecx, esi
call fcn.006242e0
pop edi
pop esi
add esp, 0x14
ret 4