Function at 0x4486b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x9c
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x74], edx
mov edx, dword [0x4de47c]
mov edx, dword [edx]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov edx, ecx
mov dword [ebp - 0x70], edx
mov edx, eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0xaa
mov dword [esp + 8], 4
call fcn.004a6a40
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 0x4d430001
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x48]
xor edx, edx
rol edi, 3
rol edi, 0xd
rol edi, 0x3d
rol edi, 0x33
xchg ebx, ebx
lea eax, [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0xaa
mov dword [esp + 8], 0x14
call fcn.004a6a40
lea eax, [ebp - 0x30]
mov dword [ebp - 0x48], 0x4d430001
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x48]
xor edx, edx
rol edi, 3
rol edi, 0xd
rol edi, 0x3d
rol edi, 0x33
xchg ebx, ebx
mov eax, dword [ebp - 0x78]
cmp byte [eax + 8], 0
jne 0x448801
jmp 0x448835
jmp 0x4486f6
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x4c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
cmp eax, 0
je 0x44887d
jmp 0x4488e8
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
jmp 0x4487c0
xor eax, eax
mov dword [ebp - 0x8c], eax
jmp 0x4487c0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x4c]
mov word [ebp - 0x10], 0
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x44886b
jmp 0x448870
call fcn.004a85b0
mov eax, dword [ebp - 0x7c]
add esp, 0x9c
pop esi
pop edi
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov cx, ax
mov word [ebp - 0x8e], cx
sub ax, 0x26
je 0x4489a4
jmp 0x448898
mov ax, word [ebp - 0x8e]
sub ax, 0x40
je 0x4489db
jmp 0x4488ab
mov ax, word [ebp - 0x8e]
sub ax, 0x6d
je 0x44896d
jmp 0x4488be
mov ax, word [ebp - 0x8e]
movzx eax, ax
sub eax, 0x3e3
je 0x448968
jmp 0x4488d5
mov ax, word [ebp - 0x8e]
movzx eax, ax
sub eax, 0x3e5
je 0x448946
jmp 0x4488ed
jmp 0x44883f
mov ecx, dword [ebp - 0x84]
mov ax, word [ebp - 0x8e]
mov word [ebp - 0x4e], ax
movzx edx, ax
call fcn.00408360
mov ecx, dword [ebp - 0x84]
mov word [ebp - 0x18], ax
call fcn.00401c30
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x44886b
jmp 0x448939
mov eax, dword [ebp - 0x7c]
add esp, 0x9c
pop esi
pop edi
pop ebp
ret
mov ecx, str.reached_unreachable_code
mov edx, 0x18
xor eax, eax
lea eax, [0x4ac2f8]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00401e40
jmp 0x4487bb
mov eax, dword [ebp - 0x80]
mov ecx, dword [0x4ac300]
mov dword [eax], ecx
mov ecx, dword [0x4ac304]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x44886b
jmp 0x448997
mov eax, dword [ebp - 0x7c]
add esp, 0x9c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x80]
mov ecx, dword [0x4ac300]
mov dword [eax], ecx
mov ecx, dword [0x4ac304]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x44886b
jmp 0x4489ce
mov eax, dword [ebp - 0x7c]
add esp, 0x9c
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x84]
call fcn.00401c30
mov eax, dword [ebp - 0x80]
mov ecx, dword [0x4ac308]
mov dword [eax], ecx
mov ecx, dword [0x4ac30c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x44886b
jmp 0x448a10
mov eax, dword [ebp - 0x7c]
add esp, 0x9c
pop esi
pop edi
pop ebp
ret