Function at 0x40b380
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x414df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x164], ebx
call fcn.0040c5c0
push ecx
mov byte [0x4208cc], al
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Entering_ComparePwd
call fcn.00413dc4
call fcn.0040c2c0
lea eax, [esp + 0x170]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call sub.MFC42u.DLL_CString::CString_2
call fcn.0040c2c0
add esp, 4
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, 0x10
xor eax, eax
mov edi, 0x420854
mov byte [esp + 0x164], 1
rep stosd dword es:[edi], eax
call fcn.0040ae20
cmp eax, ebx
je 0x40b44c
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x38]
push 0x41e428
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x170]
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x40b490
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.couldnt_open_pwd_file
call fcn.00413dc4
call fcn.0040c2c0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x16c]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
push 0x80
push esi
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fseek]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x20
lea edx, [esp + 0x28]
push 1
push edx
call edi
push esi
push 0x3f
push 1
push 0x420854
call edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x2c
mov byte [esp + 0x38], bl
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Compare_Pwd..._Pwd__hint
mov byte [esp + 0x60], bl
call fcn.00413dc4
call fcn.0040c2c0
mov dword [esp + 0x10], esp
mov esi, esp
call sub.MFC42u.DLL_AfxGetEmptyString
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00413e78
call fcn.0040c2c0
mov dword [esp + 0x10], esp
mov esi, esp
call sub.MFC42u.DLL_AfxGetEmptyString
mov edx, dword [eax]
push 0x420854
mov ecx, esi
mov dword [esi], edx
call fcn.00413e78
call fcn.0040c2c0
add esp, 4
mov ecx, 8
lea edi, [esp + 0x14]
lea esi, [esp + 0x38]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
push ecx
mov ecx, esp
jne 0x40b666
mov dword [esp + 0x10], esp
push str.Current_and_previous_pwds_match
call fcn.00413dc4
call fcn.0040c2c0
add esp, 4
call fcn.0040c6b0
test al, al
jne 0x40b581
lea ecx, [esp + 0x14]
push ecx
call fcn.0040bf80
add esp, 4
test al, al
jne 0x40b811
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x41ee80
call sub.MFC42u.DLL_CString::CString_3
call fcn.0040b030
add esp, 4
mov esi, eax
lea edx, [esp + 0x10]
push esi
push str.ret0___i
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call sub.MFC42u.DLL_CString::CString_2
call fcn.0040c2c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
cmp esi, 1
je 0x40b5da
cmp esi, 0xfe
jne 0x40b5fe
push 0x7d0
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x41ee80
call sub.MFC42u.DLL_CString::CString_3
call fcn.0040b030
add esp, 4
mov esi, eax
jmp 0x40b5cd
push esi
lea ecx, [esp + 0x14]
push str.ret1___i
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call sub.MFC42u.DLL_CString::CString_2
call fcn.0040c2c0
add esp, 4
cmp esi, ebx
push ecx
mov ecx, esp
jne 0x40b658
mov dword [esp + 0x10], esp
push str.hashed_pwd_match_with_input_file
call fcn.00413dc4
call fcn.0040c2c0
add esp, 4
call fcn.0040c6b0
test al, al
jne 0x40b811
jmp 0x40b804
mov dword [esp + 0x10], esp
push str.didnt_work___cancel_hit__something_missing_
jmp 0x40b43f
mov dword [esp + 0x10], esp
push 0x41ed88
call fcn.00413dc4
call fcn.0040c2c0
lea ecx, [esp + 0x18]
push ecx
call fcn.0040bf80
add esp, 8
test al, al
jne 0x40b811
mov edx, dword [0x41ed84]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x60]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.__a__
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x420854
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41ed78
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
lea eax, [esp + 0x60]
push eax
call sub.MFC42u.DLL_CString::CString_3
call fcn.0040b030
add esp, 4
mov esi, eax
lea ecx, [esp + 0x10]
push esi
push str.ret2___i
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call sub.MFC42u.DLL_CString::CString_2
call fcn.0040c2c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
cmp esi, 1
je 0x40b7ad
cmp esi, 0xfe
jne 0x40b7d1
push 0x7d0
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x41ee80
call sub.MFC42u.DLL_CString::CString_3
call fcn.0040b030
add esp, 4
mov esi, eax
jmp 0x40b7a0
push esi
lea eax, [esp + 0x14]
push str.ret3___i
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call sub.MFC42u.DLL_CString::CString_2
call fcn.0040c2c0
add esp, 4
cmp esi, ebx
jne 0x40b44c
lea eax, [esp + 0x14]
push eax
call fcn.0040bc90
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x16c]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x40b478