Function at 0x44b657
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb0f8
mov eax, dword fs:[0]
push eax
mov eax, 0x10088
call fcn.004e3d40
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10088], eax
mov dword [ebp - 0x10090], ebx
xor eax, eax
mov dword [ebp - 0x1007c], ebx
lea edi, [ebp - 0x10078]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x48
stosd dword es:[edi], eax
lea eax, [ebp - 0x1006c]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x10084], esi
mov dword [ebp - 0x10080], ebx
call sub.MSVCR80.dll_memset
xor eax, eax
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xffff
stosb byte es:[edi], al
lea eax, [ebp - 0x10023]
push ebx
push eax
mov byte [ebp - 0x10024], bl
call sub.MSVCR80.dll_memset
add esp, 0x18
mov ecx, 0x550310
mov dword [ebp - 0x1008c], ebx
call fcn.00405085
mov edi, dword [ebp - 0x10088]
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
mov dword [ebp - 0x10090], 1
je 0x44b820
push 0x21
call fcn.00401958
lea eax, [ebp - 0x1007c]
call fcn.0045f56c
mov edi, dword [edi]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44b75d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44b826
push ebx
lea eax, [ebp - 0x10080]
push eax
push 0x10000
lea eax, [ebp - 0x10024]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10080], ebx
mov esi, eax
jle 0x44b7ac
cmp esi, ebx
je 0x44b7a0
push dword [ebp - 0x10080]
lea eax, [ebp - 0x10024]
push eax
lea eax, [ebp - 0x1007c]
call fcn.0045f590
pop ecx
pop ecx
cmp dword [ebp - 0x10080], ebx
jle 0x44b7ac
cmp esi, ebx
jne 0x44b75d
lea eax, [ebp - 0x24]
push eax
lea esi, [ebp - 0x1007c]
call fcn.0045f633
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
movzx eax, byte [ebp - 0x21]
push eax
movzx eax, byte [ebp - 0x22]
push eax
movzx eax, byte [ebp - 0x23]
push eax
movzx eax, byte [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10084]
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
call fcn.00401a57
add esp, 0x48
jmp 0x44b826
mov edi, dword [ebp - 0x1008c]
mov esi, dword [ebp - 0x10084]
mov eax, dword [esi]
cmp eax, ebx
jne 0x44b836
xor eax, eax
jmp 0x44b83e
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, esi
call fcn.00401385
cmp edi, 0xffffffff
je 0x44b851
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d0736
leave
ret