Function at 0x42b360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x452efe]
push ebx
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004281f0
push esi
call dword [sym.imp.MSVCRT.dll__getw]
add esp, 0xc
cmp eax, 0x4034b50
jne 0x42b3c6
mov ecx, dword [0x452f2c]
mov byte [ecx + 0xb], 1
mov edx, dword [0x452efe]
push edx
push esi
call fcn.004281f0
lea eax, [ebp - 0x204]
push eax
push esi
call fcn.0042c350
add esp, 0x10
cmp eax, 1
jne 0x42b917
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x70695a58
jne 0x42b3bb
mov ecx, dword [0x452f2c]
mov byte [ecx + 0xb], 0
mov edx, dword [0x452efe]
push edx
push esi
call fcn.004281f0
push esi
push 0x4d
lea eax, [ebp - 0x100]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x18
cmp eax, 0x4d
jne 0x42b3bb
mov ecx, dword [ebp - 0x100]
mov al, byte [ebp - 0xf8]
mov dword [0x453018], ecx
mov cl, byte [ebp - 0xf7]
mov byte [0x453021], cl
mov cl, byte [ebp - 0xf3]
mov byte [0x453020], al
mov al, byte [ebp - 0xf4]
mov byte [0x453025], cl
mov cl, byte [ebp - 0xf1]
mov byte [0x453024], al
mov al, byte [ebp - 0xf2]
mov byte [0x453027], cl
mov cl, byte [ebp - 0xef]
mov byte [0x453026], al
mov al, byte [ebp - 0xf0]
mov byte [0x453029], cl
mov cl, byte [ebp - 0xec]
mov byte [0x453028], al
mov al, byte [ebp - 0xee]
mov byte [0x45302c], cl
mov ecx, dword [ebp - 0xea]
mov byte [0x45302a], al
mov eax, dword [ebp - 0xeb]
and ecx, 0xff
and eax, 0xff
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0xe9]
and ecx, 0xff
mov edx, dword [ebp - 0xfc]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xe8]
and ecx, 0xff
mov bl, byte [ebp - 0xed]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 0xe6]
mov dword [0x45302d], eax
mov eax, dword [ebp - 0xe7]
and ecx, 0xff
and eax, 0xff
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0xe5]
and ecx, 0xff
mov dword [0x45301c], edx
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xe4]
and ecx, 0xff
mov dl, byte [ebp - 0xf6]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 0xe2]
mov dword [0x453031], eax
mov eax, dword [ebp - 0xe3]
and ecx, 0xff
and eax, 0xff
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0xe1]
and ecx, 0xff
mov byte [0x453022], dl
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xe0]
mov dl, byte [ebp - 0xf5]
and ecx, 0xff
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 0xde]
mov dword [0x453035], eax
mov eax, dword [ebp - 0xdf]
and ecx, 0xff
and eax, 0xff
push edi
mov byte [0x453023], dl
mov byte [0x45302b], bl
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0xdd]
and ecx, 0xff
mov esi, dword [ebp - 0xd6]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xdc]
and ecx, 0xff
and esi, 0xff
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 0xda]
mov dword [0x453039], eax
mov eax, dword [ebp - 0xdb]
and ecx, 0xff
and eax, 0xff
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0xd9]
and ecx, 0xff
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xd8]
and ecx, 0xff
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 0xd7]
shl esi, 8
and ecx, 0xff
mov dword [0x45303d], eax
or ecx, esi
mov esi, dword [ebp - 0xd5]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xd4]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xd2]
mov dword [0x453041], ecx
mov ecx, dword [ebp - 0xd3]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xd1]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xd0]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xce]
mov dword [0x453045], ecx
mov ecx, dword [ebp - 0xcf]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xcd]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xcc]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xca]
mov dword [0x453049], ecx
mov ecx, dword [ebp - 0xcb]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xc9]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xc8]
and esi, 0xff
mov edi, dword [ebp - 0xb5]
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xc6]
mov dword [0x45304d], ecx
mov ecx, dword [ebp - 0xc7]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xc5]
and esi, 0xff
and edi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xc4]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xc2]
mov dword [0x453051], ecx
mov ecx, dword [ebp - 0xc3]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xc1]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xc0]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xbe]
mov dword [0x453055], ecx
mov ecx, dword [ebp - 0xbf]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xbd]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xbc]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xba]
mov dword [0x453059], ecx
mov ecx, dword [ebp - 0xbb]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xb9]
and esi, 0xff
shl esi, 0x10
or ecx, esi
mov esi, dword [ebp - 0xb8]
and esi, 0xff
shl esi, 0x18
or ecx, esi
mov esi, dword [ebp - 0xb6]
mov dword [0x45305d], ecx
mov ecx, dword [ebp - 0xb7]
and esi, 0xff
and ecx, 0xff
shl esi, 8
or ecx, esi
mov esi, dword [ebp - 0xb4]
and esi, 0xff
shl esi, 8
or esi, edi
pop edi
shl esi, 0x10
or ecx, esi
mov dword [0x453061], ecx
test dl, dl
je 0x42b888
test bl, bl
jne 0x42b888
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.00428220
add esp, 8
test eax, eax
jne 0x42b3bb
lea eax, [ebp - 0x100]
push eax
call fcn.0042b920
add esp, 4
cmp eax, 1
je 0x42b3bb
mov al, byte [0x45302b]
test al, al
je 0x42b917
mov al, byte [ebp + 0xc]
test al, al
je 0x42b917
mov edx, dword [0x45302c]
mov ecx, dword [ebp + 8]
mov eax, dword [0x452f2c]
and edx, 0xff
push ecx
push edx
add eax, 0x437
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [0x45302c]
add esp, 0x10
and ecx, 0xff
cmp eax, ecx
jne 0x42b3bb
mov eax, dword [0x452f2c]
mov dl, byte [0x45302b]
mov byte [eax + 0x17], dl
mov ecx, dword [0x45302d]
mov dl, byte [0x45302b]
push ecx
push edx
call fcn.0042d470
add esp, 8
test eax, eax
jne 0x42b3bb
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret