Function at 0x44eff8
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1068]
mov eax, 0x10e8
call fcn.00451980
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp + 0x1064], eax
mov eax, dword [ebp + 0x1074]
push ebx
push esi
mov esi, dword [ebp + 0x1070]
push edi
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x48]
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x60], 7
call fcn.004062f0
push ebx
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x44], 0xf
call fcn.004085b4
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x44f135
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
mov edi, 0x1000
push edi
lea ecx, [ebp + 0x64]
push ecx
push eax
jmp 0x44f0a3
cmp dword [ebp - 0x1c], ebx
jbe 0x44f0a9
push dword [ebp - 0x1c]
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp + 0x2c]
call fcn.0040eba7
push ebx
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp + 0x64]
push eax
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x44f082
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x44], 0x10
mov edi, dword [ebp + 0x30]
jae 0x44f0be
lea edi, [ebp + 0x30]
mov esi, dword [ebp + 0x40]
cmp esi, 3
jl 0x44f0f8
push ebx
lea ecx, [ebp + 0x2c]
call fcn.0040d820
cmp byte [eax], 0xef
jne 0x44f0f8
push 1
lea ecx, [ebp + 0x2c]
call fcn.0040d820
cmp byte [eax], 0xbb
jne 0x44f0f8
push 2
lea ecx, [ebp + 0x2c]
call fcn.0040d820
cmp byte [eax], 0xbf
jne 0x44f0f8
add edi, 3
sub esi, 3
push ebx
lea eax, [esi + 1]
push eax
lea ecx, [ebp + 0x48]
call fcn.00409282
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x48]
push ebx
call fcn.004062c8
push eax
push esi
push edi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
lea ecx, [ebp + 0x48]
jle 0x44f130
push ebx
push eax
call fcn.00409282
jmp 0x44f135
call fcn.0044ce09
cmp dword [ebp + 0x5c], ebx
je 0x44f2ec
xor esi, esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x18], esi
call fcn.0044d640
lea ecx, [ebp - 0x38]
call fcn.0044d640
cmp dword [ebp + 0x60], 8
mov eax, dword [ebp + 0x4c]
jae 0x44f15f
lea eax, [ebp + 0x4c]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0044d640
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.0044eae2
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x68]
call fcn.0044ef9e
cmp dword [ebp - 0x10], 3
jne 0x44f19d
cmp esi, ebx
jne 0x44f1a1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jmp 0x44f252
cmp esi, ebx
je 0x44f1de
lea eax, [esi + 1]
cmp dword [ebp - 0xc], eax
jne 0x44f1d1
push str.assemblyIdentity
lea ecx, [ebp - 8]
call fcn.0040634a
test eax, eax
jne 0x44f1d1
cmp dword [ebp - 0x10], 3
jne 0x44f1d1
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044ddd3
jmp 0x44f252
cmp esi, ebx
je 0x44f1de
cmp dword [ebp - 0xc], esi
je 0x44f262
cmp dword [ebp - 0x10], 5
je 0x44f27d
cmp dword [ebp - 0x10], ebx
je 0x44f27d
inc esi
cmp dword [ebp - 0xc], esi
jne 0x44f252
push str.file
lea ecx, [ebp - 8]
call fcn.0040634a
test eax, eax
jne 0x44f252
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
push 0x38
cdq
pop ecx
idiv ecx
xor esi, esi
mov edi, eax
cmp edi, ebx
jbe 0x44f252
push esi
lea ecx, [ebp + 0x14]
call fcn.0044c6f2
push 0x4807dc
mov ecx, eax
call fcn.0040634a
test eax, eax
jne 0x44f24d
push esi
lea ecx, [ebp + 0x14]
call fcn.0044c6f2
mov ecx, dword [ebp - 0x20]
add eax, 0x1c
push eax
add ecx, 0x38
call fcn.0040c086
inc esi
cmp esi, edi
jb 0x44f21c
lea ecx, [ebp - 0x10]
call fcn.0044db55
mov esi, dword [ebp - 0x18]
jmp 0x44f170
lea ecx, [ebp - 0x10]
call fcn.0044db55
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push eax
call fcn.0044e168
pop ecx
pop ecx
mov byte [ebp - 0x11], al
jmp 0x44f288
lea ecx, [ebp - 0x10]
call fcn.0044db55
mov byte [ebp - 0x11], bl
lea ecx, [ebp - 0x68]
call fcn.0044ea9d
push dword [ebp - 0x68]
call fcn.004503f3
pop ecx
lea ecx, [ebp - 0x38]
call fcn.0044d675
push dword [ebp - 0x38]
call fcn.004503f3
pop ecx
lea ecx, [ebp - 0x80]
call fcn.0040bcc2
push dword [ebp - 0x80]
call fcn.004503f3
pop ecx
push ebx
push 1
lea ecx, [ebp + 0x2c]
call fcn.0040893c
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.004064d9
mov ecx, dword [ebp + 0x1064]
mov al, byte [ebp - 0x11]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fa41
add ebp, 0x1068
leave
ret
mov byte [ebp - 0x11], bl
jmp 0x44f2bb