Function at 0x402d9a
Capabilities:
Execute command
Get session user name

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1f8
mov dword [ebp - 0x174], sym.___gxx_personality_sj0
mov dword [ebp - 0x170], 0x46d5f6
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x403169
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x18c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
call sym.___main
mov dword [ebp - 0x38], 0x101
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x151]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xffffffff
call sym._GetUserNameA_8
sub esp, 8
lea eax, [ebp - 0x31]
mov dword [esp], eax
call fcn.00441c4c
lea eax, [ebp - 0x31]
mov dword [esp + 8], eax
lea eax, [ebp - 0x151]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xb
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x31]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xa
call fcn.0044c980
jmp 0x402e9f
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov dword [ebp - 0x188], 9
call fcn.0044c980
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x188], 8
call fcn.0044c980
mov dword [ebp - 0x20], 0
jmp 0x402f43
call sym._rand
mov edx, 0x4a
mov ecx, edx
cdq
idiv ecx
mov eax, edx
add eax, 0x30
movsx eax, al
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov dword [ebp - 0x188], 7
call fcn.0044d110
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call method.std::string.c_str___const
add eax, dword [ebp - 0x20]
mov al, byte [eax]
mov byte [ebp - 0x1ed], al
lea eax, [ebp - 0x44]
mov dword [esp], eax
call method.std::string.c_str___const
add eax, dword [ebp - 0x20]
mov al, byte [eax]
xor al, byte [ebp - 0x1ed]
movsx eax, al
mov dword [esp + 4], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0044d110
inc dword [ebp - 0x20]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x188], 7
call method.std::string.length___const
cmp eax, dword [ebp - 0x20]
seta al
test al, al
jne 0x402ed2
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x188], 6
call dbg.md5(std::string)
sub esp, 4
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x188], 5
call method.std::string.operator_std::string_const_
lea eax, [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0x188], 6
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x402ff9
lea eax, [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0x188], 7
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x403042
mov dword [ebp - 0x1c], 0
jmp 0x40308c
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x188], 7
call method.std::string.operator___unsigned_int_
mov dword [ebp - 0x1ec], eax
call sym._rand
mov edx, 0x4a
mov ecx, edx
cdq
idiv ecx
mov eax, edx
add eax, 0x30
mov edx, dword [ebp - 0x1ec]
mov byte [edx], al
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x188], 7
call method.std::string.length___const
cmp eax, dword [ebp - 0x1c]
seta al
test al, al
jne 0x40304b
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0044c980
lea eax, [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x188], 4
call fcn.0044c980
mov dword [esp + 4], str.what_is_the_password_:_n
mov dword [esp], 0x4760c0
mov dword [ebp - 0x188], 3
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], 0x476020
call method.std::basic_istream_char__std::char_traits_char____std::operator___char__std::char_traits_char___std.allocator_char____std::basic_istream_char__std::char_traits_char_____std::basic_string_char__std::char_traits_char___std::allocator_char____
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x24]
mov dword [esp], eax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x188], 2
call dbg.md5(std::string)
sub esp, 4
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x188], 1
call dbg.operator==<char>
mov byte [ebp - 0x1e5], al
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x188], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x403207
lea eax, [ebp - 0x24]
mov dword [esp], eax
mov dword [ebp - 0x188], 3
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40324d
cmp byte [ebp - 0x1e5], 0
jne 0x403297
mov dword [esp], 0x471044
call sym._system
mov dword [esp + 4], str.correct_
mov dword [esp], 0x4760c0
mov dword [ebp - 0x188], 3
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x188], 4
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x4032f5
mov dword [esp], 0x471044
call sym._system
mov dword [esp + 4], str.incorrect__n
mov dword [esp], 0x4760c0
mov dword [ebp - 0x188], 3
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x4030cb
lea eax, [ebp - 0x4c]
mov dword [esp], eax
mov dword [ebp - 0x188], 7
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40333b
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x188], 8
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x403381
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov dword [ebp - 0x188], 9
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x4033c7
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xa
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40340d
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov dword [ebp - 0x188], 0xffffffff
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
mov eax, 0
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0x18c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x1f4]
lea esp, [ebp - 0x10]
add esp, 0
pop ecx
pop ebx
pop esi
pop edi
leave
lea esp, [ecx - 4]
ret