Function at 0x403bda
Capabilities:
Read file on windows

Disassembly:
push 0x180
push 0x403ca0
call fcn.004024b3
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], esi
mov eax, dword [0x405058]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], esi
call dword [0x4010b8]
push eax
xor ebx, ebx
inc ebx
push ebx
push 0x1fffff
call dword [0x401098]
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x403df4
push 0x44
pop edi
push edi
push esi
lea eax, [ebp - 0x8c]
push eax
call fcn.0040452d
mov dword [ebp - 0x8c], edi
xor eax, eax
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x60], 0x181
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x24], esi
je 0x403c67
push 0x104
lea eax, [ebp - 0x190]
push eax
call fcn.00403a30
test eax, eax
jne 0x403c74
push ebx
lea eax, [ebp - 0x190]
push eax
call fcn.00403eaf
cmp dword [ebp + 8], esi
je 0x403cf5
lea edi, [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push esi
push 0x2000000
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQuerySecurityObject]
test eax, eax
je 0x403caf
push 4
lea eax, [ebp - 0x44]
push eax
push 0xc
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtDelayExecution]
lea edi, [ebp - 0x20]
push esi
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call fcn.004049bc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
push dword [ebp - 0x40]
push 0x404
push ebx
push esi
push esi
lea eax, [ebp - 0x190]
push eax
push esi
push dword [edi]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x403d18
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_LdrLoadDll]
jmp 0x403d18
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
push esi
push 4
push ebx
push esi
push esi
lea eax, [ebp - 0x190]
push eax
push esi
call dword [0x401064]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], esi
je 0x403d42
cmp dword [ebp - 0x1c], esi
je 0x403d96
push esi
lea eax, [ebp - 0x190]
push eax
call fcn.00403eaf
push esi
push dword [ebp - 0x34]
lea eax, [ebp - 0x190]
push eax
call fcn.00403e3f
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x403df4
cmp dword [ebp - 0x24], esi
jne 0x403d57
mov eax, dword [0x405004]
push esi
push 0x80
mov ecx, 0x405070
push ecx
sub eax, dword [0x405004]
add eax, ecx
push eax
push dword [ebp - 0x34]
call dword [fcn.00401088]
cmp dword [ebp - 0x24], esi
je 0x403dbe
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
mov eax, dword [0x405058]
push dword [eax + 0x34]
push dword [ebp - 0x34]
call fcn.0040414e
cmp dword [ebp - 0x1c], esi
jne 0x403dc7
cmp dword [ebp - 0x34], esi
je 0x403dae
push esi
push dword [ebp - 0x34]
call dword [0x401078]
push dword [ebp - 0x34]
call dword [sym.imp.ntdll.dll_LdrLoadDll]
cmp dword [ebp - 0x30], esi
je 0x403df4
push dword [ebp - 0x30]
call dword [sym.imp.ntdll.dll_LdrLoadDll]
jmp 0x403df4
push dword [ebp - 0x30]
call dword [0x401060]
cmp dword [0x4050f4], esi
jne 0x403de9
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebp - 0x34]
push 0x4033b3
push esi
push esi
call dword [0x4010cc]
mov dword [ebp - 0x3c], eax
jmp 0x403df4
push dword [ebp - 0x34]
call fcn.004040db
mov dword [ebp - 0x34], esi
or dword [ebp - 4], 0xffffffff
call fcn.00403e0a
mov eax, dword [ebp - 0x1c]
call fcn.00404111
ret 4