Function at 0x407040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408d96
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00405910
add esp, 4
mov dword [ebp - 4], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00405840
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov byte [ebp - 0xba], al
movzx ecx, byte [ebp - 0xba]
push ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x28]
call fcn.004052b0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405700
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x28]
call fcn.004052b0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.00402f40
add esp, 0x14
mov dword [ebp - 0x134], 0x66
mov dword [ebp - 0x130], 0x69
mov dword [ebp - 0x12c], 0x61
mov dword [ebp - 0x128], 0x70
mov dword [ebp - 0x124], 0x2d
mov dword [ebp - 0x120], 0x63
mov dword [ebp - 0x11c], 0x70
mov dword [ebp - 0x118], 0x30
mov dword [ebp - 0x114], 0x32
mov dword [ebp - 0x110], 0x2d
mov dword [ebp - 0x10c], 0x32
mov dword [ebp - 0x108], 0x74
mov dword [ebp - 0x104], 0x64
mov dword [ebp - 0x100], 0x63
mov dword [ebp - 0xfc], 0x67
mov dword [ebp - 0xf8], 0x2e
mov dword [ebp - 0xf4], 0x65
mov dword [ebp - 0xf0], 0x78
mov dword [ebp - 0xec], 0x65
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
mov byte [ebp - 4], 2
mov dword [ebp - 0xc4], 0
jmp 0x4071e5
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
cmp dword [ebp + ecx*4 - 0x134], 0
je 0x40720e
mov edx, dword [ebp - 0xc4]
movzx eax, byte [ebp + edx*4 - 0x134]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404310
jmp 0x4071d6
mov byte [ebp - 0xb9], 1
mov dword [ebp - 0xc0], 0
jmp 0x407230
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x40]
call fcn.00404140
movsx eax, byte [eax]
test eax, eax
je 0x40728f
mov ecx, dword [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404140
movsx edx, byte [eax]
test edx, edx
je 0x40728f
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404140
movsx esi, byte [eax]
mov ecx, dword [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404140
movsx edx, byte [eax]
cmp esi, edx
je 0x40728d
mov byte [ebp - 0xb9], 0
jmp 0x40728f
jmp 0x407221
movzx eax, byte [ebp - 0xb9]
test eax, eax
jne 0x4072a7
call fcn.00406260
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00403420
mov byte [ebp - 4], 3
mov edx, dword [0x40d03c]
push edx
mov eax, dword [0x40d038]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00406220
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x184]
push ecx
call fcn.00406d90
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00405140
add esp, 8
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x70]
call fcn.004040d0
lea ecx, [ebp - 0x16c]
call fcn.00403e90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.00403e90
movzx eax, byte [ebp - 0xb9]
test eax, eax
je 0x40752e
push 0x17
lea ecx, [ebp - 0x40]
call fcn.00404140
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40752e
lea ecx, [ebp - 0x58]
call fcn.004038c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.004038c0
mov byte [ebp - 4], 6
push str.username:
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.004015c0
add esp, 8
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push ecx
call fcn.004012f0
add esp, 8
push str.password:
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.004015c0
add esp, 8
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push ecx
call fcn.004012f0
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x148], esp
lea edx, [ebp - 0x58]
push edx
call fcn.00403420
call fcn.00405d60
add esp, 0x18
mov byte [ebp - 0xbb], al
movzx eax, byte [ebp - 0xbb]
test eax, eax
jne 0x407424
call fcn.00406260
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
lea edx, [ebp - 0x70]
push edx
call fcn.00403420
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00405bd0
add esp, 0x20
mov byte [ebp - 0xbc], al
movzx edx, byte [ebp - 0xbc]
test edx, edx
je 0x4074a5
push 0x4092c6
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.004015c0
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
lea edx, [ebp - 0x70]
push edx
call fcn.00403420
lea eax, [ebp - 0xb8]
push eax
call fcn.00405380
add esp, 0x1c
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0xb8]
call fcn.00403e90
jmp 0x407511
call fcn.00406260
mov dword [ebp - 0xc8], 0
jmp 0x4074c5
mov ecx, dword [ebp - 0xc8]
add ecx, 1
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0x7530
jge 0x407511
push 0x402b90
push 0x409388
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push eax
push 0x40938c
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.004015c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4074b6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00403e90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00403e90
jmp 0x40759a
call fcn.00406260
mov dword [ebp - 0xcc], 0
jmp 0x40754e
mov eax, dword [ebp - 0xcc]
add eax, 1
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x7530
jge 0x40759a
push 0x402b90
push 0x409390
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push eax
push 0x409394
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.004015c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x40753f
mov dword [ebp - 0xdc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00403e90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403e90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403e90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00403e90
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040774c
mov esp, ebp
pop ebp
ret