Function at 0x42eb30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444e93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
call fcn.004038c0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004038c0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.004038c0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004038c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004048e0
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], edi
cmp eax, edi
mov byte [ebp - 4], 6
je 0x42efb4
push 0x100
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x42efb4
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0042e890
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00404290
push edi
lea ecx, [ebp - 0x58]
push eax
push ecx
call fcn.00404040
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004033c0
lea ecx, [ebp - 0x58]
mov bl, al
mov byte [ebp - 4], 7
call fcn.00403350
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00403980
test bl, bl
je 0x42efb4
jmp 0x42ec1b
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 8]
push 0x7f
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], eax
push edx
call fcn.00403900
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 9
call fcn.00404290
push 0
lea ecx, [ebp - 0x98]
push eax
push ecx
call fcn.00403f90
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004033c0
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 9
call fcn.00403350
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00403980
mov al, byte [ebp - 0x11]
test al, al
je 0x42ed76
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x60]
push edx
call fcn.00403990
mov eax, dword [ebp - 0x3c]
test ebx, ebx
mov byte [eax + ebx], 0
jne 0x42ecae
xor edi, edi
jmp 0x42ecdb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004322c0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [ebp - 0xb4]
call fcn.00404c50
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x74]
call fcn.00405680
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 6
call fcn.00404e10
push 0x45ce48
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x1c], 0
call fcn.00404c50
sub esp, 8
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
mov byte [ebp - 4], 0xc
call fcn.00403900
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004059c0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00404290
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.00403980
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00404e10
lea edx, [ebp - 0x34]
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00404090
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004033c0
test al, al
je 0x42edca
lea ecx, [ebp - 0x40]
push 0
lea edx, [ebp - 0x7c]
push ecx
push edx
call fcn.00403f90
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004033c0
lea ecx, [ebp - 0x7c]
mov bl, al
mov byte [ebp - 4], 0xe
call fcn.00403350
test bl, bl
je 0x42edca
mov bl, 1
jmp 0x42edcc
xor bl, bl
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00403350
test bl, bl
jne 0x42ec18
lea eax, [ebp - 0x40]
push 0xffffffffffffffff
lea ecx, [ebp - 0x7c]
push eax
push ecx
call fcn.00404090
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004033c0
test al, al
jne 0x42ee30
lea edx, [ebp - 0x34]
push 0
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00403fc0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.004033c0
lea ecx, [ebp - 0x2c]
mov bl, al
mov byte [ebp - 4], 0x10
call fcn.00403350
test bl, bl
je 0x42ee32
mov bl, 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.00403350
test bl, bl
je 0x42ee7c
mov ecx, dword [ebp - 0x24]
call fcn.0042dde0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42ee61
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x18], 0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, esi
call fcn.00404a70
mov eax, dword [ebp - 0x20]
or al, 1
mov dword [ebp - 0x20], eax
jmp 0x42efe1
lea edx, [ebp - 0x60]
push 0
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00403f90
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004033c0
lea ecx, [ebp - 0x2c]
mov bl, al
mov byte [ebp - 4], 6
call fcn.00403350
test bl, bl
je 0x42efb4
lea ecx, [ebp - 0x34]
push 0
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.00403f90
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.004033c0
lea ecx, [ebp - 0x2c]
mov bl, al
mov byte [ebp - 4], 6
call fcn.00403350
test bl, bl
je 0x42ef3d
sub esp, 8
lea ecx, [ebp - 0x34]
mov eax, esp
mov dword [ebp - 0x44], esp
push 1
push ecx
push eax
mov dword [ebp - 0x1c], 0
call fcn.00403da0
add esp, 0xc
sub esp, 8
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x38], esp
push edx
mov byte [ebp - 4], 0x14
call fcn.00403900
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x74]
push eax
mov byte [ebp - 4], 6
call fcn.00405ef0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
call fcn.00405210
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
jmp 0x42ef6a
push 0x45e5ac
lea ecx, [ebp - 0x90]
call fcn.00404c50
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x16
push ecx
lea ecx, [ebp - 0x74]
call fcn.00405210
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
call fcn.00404e10
lea ecx, [ebp - 0x34]
call fcn.0042f110
push eax
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00403d00
add esp, 0xc
sub esp, 8
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x44], esp
push 2
push eax
push ecx
call fcn.00403d00
mov ecx, dword [ebp - 0x24]
add esp, 0xc
call fcn.0042e680
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00403980
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x42efcb
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x74]
push edx
mov ecx, esi
call fcn.00404a70
mov eax, dword [ebp - 0x20]
or al, 1
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00404e10
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00403980
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00403980
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403980
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00403980
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1c0]
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4