Function at 0x41b3e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x7b8
push ebx
push ebp
push esi
push edi
push 0
call fcn.0041aad0
mov eax, dword [0x52ddb4]
add esp, 4
test eax, eax
jne 0x41b419
push 0x1e50
push 2
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b8
ret
mov esi, dword [esp + 0x7cc]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 1
push eax
push 0
push esi
mov dword [esp + 0x28], 0
call ebp
push 0
push 0
mov ebx, eax
push 0
push esi
mov dword [esp + 0x20], ebx
call ebp
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0x3e9]
mov byte [esp + 0x3e8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x3e8]
push 0x3e0
push ecx
push esi
stosb byte es:[edi], al
call fcn.0041f580
add esp, 0xc
lea edx, [esp + 0x18]
mov edi, eax
push 0
push edx
push ebx
push esi
call ebp
test edi, edi
jne 0x41b4a7
push 0x1e64
push 0xf
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b8
ret
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x60]
lea ecx, [esp + 0x3e8]
push eax
push ecx
call fcn.0041eee0
add esp, 8
test eax, eax
jne 0x41b4f1
push 0x1e6c
push 0x14
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b8
ret
lea edx, [esp + 0x60]
push edx
call fcn.00425bc0
add esp, 4
test eax, eax
jne 0x41b51e
push 0x1e73
push 0x1f
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b8
ret
mov eax, dword [esp + 0x3e0]
mov ecx, dword [esp + 0x7d4]
test eax, eax
jne 0x41b568
mov edi, dword [esp + 0x7d0]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x7d8]
test eax, eax
je 0x41b558
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7b8
ret
cmp ecx, eax
jae 0x41b5a5
mov ecx, dword [esp + 0x7d8]
test ecx, ecx
je 0x41b579
mov dword [ecx], eax
mov esi, dword [esp + 0x7d0]
test esi, esi
je 0x41b593
push 0x1e88
push 0x20
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x7b8
ret
push eax
call fcn.004d2462
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x41b5d0
push 0x1e92
push 0x21
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b8
ret
mov ecx, dword [esp + 0x3e0]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x3d8]
xor edi, edi
lea eax, [esp + 0x3dc]
push edi
push eax
push ecx
push esi
mov dword [esp + 0x24], edi
call ebp
mov eax, dword [esp + 0x3e0]
lea edx, [esp + 0x1c]
push edi
push edx
push eax
push ebx
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 0
push ecx
push edx
push esi
mov edi, eax
call ebp
test edi, edi
je 0x41b73e
mov eax, dword [esp + 0x3e4]
mov ecx, dword [esp + 0x3e0]
push eax
push ecx
push ebx
call fcn.00429370
add esp, 0xc
test eax, eax
je 0x41b747
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x408]
lea edx, [esp + 0x20]
push 0x40
push edx
push eax
call fcn.00418540
add esp, 0xc
test eax, eax
jne 0x41b6c1
mov eax, dword [esp + 0x3e0]
mov edi, dword [esp + 0x7d0]
mov ecx, eax
mov esi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7d8]
test ecx, ecx
je 0x41b6b4
mov dword [ecx], eax
mov dword [esp + 0x14], 1
jmp 0x41b756
push eax
call fcn.00410a20
mov edx, eax
add esp, 4
test edx, edx
je 0x41b735
mov ecx, dword [esp + 0x7d4]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x7d4]
push ecx
mov ecx, dword [esp + 0x3e8]
push eax
push ecx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [edx]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
lea eax, [esp + 0x34]
push ecx
push eax
mov ecx, edx
mov dword [esp + 0x2c], 0
call dword [esi + 0x14]
test eax, eax
mov dword [esp + 0x14], eax
je 0x41b72c
mov eax, dword [esp + 0x7d8]
test eax, eax
je 0x41b756
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
jmp 0x41b756
push 0x1ed0
push 0x12
jmp 0x41b74e
push 0x1ed5
push 0xc
jmp 0x41b74e
push 0x1ea4
push 0xd
jmp 0x41b74e
push 0x1eab
push 0x1c
call fcn.0041aab0
add esp, 8
push ebx
call fcn.004d248b
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b8
ret