Function at 0x623ad0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cdca6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x300
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2e4], edi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2ec], ecx
mov ecx, dword [ebx + 0x14]
push eax
mov dword [ebp - 0x2f0], ecx
call fcn.00623960
add esp, 4
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2e8]
mov ecx, edi
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.005518f0
mov esi, dword [ebp - 0x2f8]
cmp byte [esi + 0xd], 0
jne 0x623ef9
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [esi + 0x10]
jb 0x623ef9
cmp esi, dword [edi]
je 0x623ef9
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp edi, eax
jne 0x623c57
mov eax, dword [ebp - 0x2e4]
cmp dword [ebx + 0x10], edi
push 0
cmovb edi, dword [ebx + 0x10]
push 0
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x2e4]
push edi
push dword [ebp - 0x2ec]
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 4], 0
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x180]
call fcn.00622d60
mov eax, dword [ebp - 0x2ec]
lea ecx, [ebp - 0x17c]
push edi
push eax
push eax
mov byte [ebp - 4], 1
call fcn.00632be0
lea ecx, [ebp - 0x180]
call fcn.00622fb0
cmp edi, dword [esi + 0x20]
jne 0x623c37
push 0xfed0c
push edi
push dword [ebp - 0x2ec]
call fcn.00699310
add esp, 0xc
cmp eax, dword [esi + 0x28]
jne 0x623e36
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x623ea9
mov dword [eax], edi
xor eax, eax
jmp 0x623efe
lea ecx, [eax + edi]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x2f4], ecx
xor edi, edi
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], edi
test ecx, ecx
je 0x623cf5
cmp ecx, 0x7fffffff
ja 0x623f1e
cmp ecx, 0x1000
jb 0x623cbd
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x623f23
push eax
call fcn.0061aba4
add esp, 4
test eax, eax
je 0x623f28
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x623cc8
push ecx
call fcn.0061aba4
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2f4]
push eax
push 0
push esi
lea edi, [esi + eax]
mov dword [ebp - 0x2e8], esi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x304], edi
call fcn.00653fd0
add esp, 0xc
mov dword [ebp - 0x308], edi
mov eax, dword [ebp - 0x2f8]
push 0
push 0
mov dword [ebp - 4], 3
push dword [eax + 0x1c]
push dword [eax + 0x18]
mov eax, dword [ebp - 0x2e4]
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x310]
push eax
mov eax, dword [ebp - 0x2f8]
push dword [eax + 0x20]
mov eax, dword [ebp - 0x2e4]
push esi
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 4
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00622d60
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 5
push dword [eax + 0x20]
push esi
push esi
call fcn.00632be0
lea ecx, [ebp - 0x2e0]
call fcn.00622fb0
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [ecx + 0x20]
push dword [ecx + 0x24]
add eax, esi
push eax
push dword [ebp - 0x2e8]
call fcn.006990f0
mov ecx, dword [ebp - 0x2f8]
add esp, 0xc
mov edx, dword [ecx + 0x20]
cmp eax, edx
je 0x623de9
test esi, esi
je 0x623ddf
sub edi, esi
cmp edi, 0x1000
jb 0x623dd5
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x623f28
mov esi, ecx
push edi
push esi
call fcn.0061abd4
add esp, 8
mov eax, 6
jmp 0x623efe
push 0xfed0c
push dword [ecx + 0x24]
lea eax, [esi + edx]
push eax
call fcn.00699310
mov ecx, dword [ebp - 0x2f8]
add esp, 0xc
cmp eax, dword [ecx + 0x28]
je 0x623e40
test esi, esi
je 0x623e36
sub edi, esi
cmp edi, 0x1000
jb 0x623e2c
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x623f28
mov esi, ecx
push edi
push esi
call fcn.0061abd4
add esp, 8
mov eax, 2
jmp 0x623efe
mov eax, dword [ecx + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
push eax
mov eax, dword [ecx + 0x20]
add eax, esi
push eax
push dword [ebp - 0x2ec]
call fcn.00653a50
mov edx, dword [ebp - 0x2f0]
add esp, 0xc
test edx, edx
je 0x623e7b
mov eax, dword [ebp - 0x2f8]
mov eax, dword [eax + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
mov dword [edx], eax
test esi, esi
je 0x623ea9
sub edi, esi
cmp edi, 0x1000
jb 0x623e9f
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x623f28
mov esi, ecx
push edi
push esi
call fcn.0061abd4
add esp, 8
xor eax, eax
jmp 0x623efe
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00460720
call fcn.0044c580
call fcn.0065ecef
int3