Function at 0x41e75d
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2b0
mov eax, 0x5b2c6a
call fcn.0057b78b
mov eax, ecx
mov dword [ebp - 0xb8], eax
xor ebx, ebx
mov dword [ebp - 0xc0], eax
push ebx
push 1
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 4], ebx
call fcn.004536c0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x63c338
call fcn.004060b5
mov eax, dword [eax]
xor ecx, ecx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004048f3
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.004055b1
push 0x5ccdf8
lea ecx, [ebp - 0x2c]
call fcn.00406557
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ebx
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xb4], eax
cmp eax, 0xffffffff
je 0x41eb97
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.005460f3
pop ecx
mov edi, eax
mov dword [ebp - 0xb0], ebx
push ebx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], edi
push eax
push esi
push edi
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xb0], esi
jne 0x41eab5
cmp byte [edi], 0x1f
je 0x41e885
push 0x5cce94
lea ecx, [ebp - 0xdc]
call fcn.0041e652
push 0x61bd54
lea eax, [ebp - 0xdc]
jmp 0x41ebb2
push esi
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x44]
push edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
call fcn.00405728
push 1
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0042239d
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x41e905
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ecx
cmp eax, 0x1000
jb 0x41e8fc
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040480e
mov eax, dword [ebp - 0xac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
push eax
push ecx
call fcn.0057b69e
pop ecx
pop ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
cmp dword [ebp - 0xb0], esi
jne 0x41eaaa
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x2bc]
push eax
call fcn.00455c80
test eax, eax
jne 0x41eaaa
push ebx
lea ecx, [ebp - 0x2bc]
call fcn.00454ef0
mov esi, eax
push ebx
push 0x5cc978
mov ecx, esi
call fcn.004576a0
cmp eax, 3
jne 0x41eaaa
push 0x5ccdbc
mov ecx, esi
call fcn.00454ef0
mov esi, eax
test esi, esi
je 0x41eaaa
push ebx
push 0x5ccdc8
mov ecx, esi
call fcn.00454910
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0045d3a0
pop ecx
pop ecx
push ebx
push 0x5ccdcc
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00454910
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0045d3a0
pop ecx
pop ecx
push ebx
push 0x5ccdd8
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00454910
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045d3a0
pop ecx
pop ecx
push ebx
push 0x5ccde4
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004576a0
push ebx
push 0x5ccdf0
mov ecx, esi
mov dword [ebp - 0xac], eax
call fcn.004576a0
push 0x10
mov dword [ebp - 0xa8], eax
call fcn.005460b6
mov edx, eax
pop ecx
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 0xb
test edx, edx
je 0x41ea4a
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xa8]
cmovae ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
push dword [ebp - 0xac]
cmp dword [ebp - 0x60], 8
push ecx
cmovae eax, dword [ebp - 0x74]
mov ecx, edx
push eax
call fcn.0041e5e0
mov dword [ebp - 0xa8], eax
jmp 0x41ea50
mov dword [ebp - 0xa8], ebx
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
push eax
call fcn.0041e2a2
mov ecx, dword [ebp - 0xa8]
push 0x5ccdbc
mov eax, dword [eax]
mov dword [eax + 0x20], ecx
mov ecx, esi
call fcn.00455b80
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00404880
lea ecx, [ebp - 0x74]
call fcn.00404880
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.00404880
jmp 0x41e977
lea ecx, [ebp - 0x8c]
call fcn.00405702
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41eb04
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], ecx
cmp eax, 0x1000
jb 0x41eafb
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0040480e
mov eax, dword [ebp - 0xa8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xac]
push eax
push ecx
call fcn.0057b69e
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00453ad0
mov esi, dword [ebp - 0xb8]
jmp 0x41eb6f
test edi, edi
je 0x41eb7a
push edi
call fcn.005460ee
pop ecx
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x41eb8b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 8], ebx
seta al
call fcn.0057b6dd
ret
push 0x5cce80
lea ecx, [ebp - 0xd0]
call fcn.0041e652
push 0x61bd54
lea eax, [ebp - 0xd0]
push eax
call fcn.0057e7cc
int3