Function at 0x405520
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x40f373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov dx, word [0x41825c]
push ebx
push ebp
push esi
push edi
mov ecx, 0x43
xor eax, eax
lea edi, [esp + 0x344]
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x146]
mov word [esp + 0x144], dx
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x244], dx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x246]
xor ebp, ebp
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x244]
push 0xff
push ecx
push ebp
mov dword [esp + 0x464], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
lea ecx, [esp + 0x18]
mov dl, byte [esp + 0x17]
mov byte [esp + 0x18], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str._._mnbvcxz_lkjhgfdsa__poiuytrewq
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x405623
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
mov esi, str._._mnbvcxz_lkjhgfdsa__poiuytrewq
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x38], cl
lea ecx, [esp + 0x38]
mov byte [esp + 0x45c], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x244]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x464], 2
call fcn.00404c90
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x458], 1
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x45c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
jne 0x4056b5
xor eax, eax
jmp 0x4056be
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 4
shl eax, 4
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea eax, [eax + ecx - 0x10]
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4056d4
mov edx, eax
lea ecx, [esp + 0x44]
mov esi, 0xff
lea eax, [esp + 0x44]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4056f2
mov byte [eax], cl
inc eax
dec esi
jne 0x4056e3
jmp 0x4056f6
cmp esi, ebp
jne 0x4056f7
dec eax
mov edx, str.notepad.exe
lea ecx, [esp + 0x144]
mov byte [eax], 0
mov esi, 0xff
lea eax, [esp + 0x144]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x405723
mov byte [eax], cl
inc eax
dec esi
jne 0x405714
jmp 0x405727
cmp esi, ebp
jne 0x405728
dec eax
mov byte [eax], 0
mov ecx, 0xff
lea eax, [esp + 0x44]
cmp byte [eax], 0
je 0x40573f
inc eax
dec ecx
jne 0x405734
jmp 0x405743
cmp ecx, ebp
jne 0x405744
dec eax
lea edx, [esp + 0x144]
mov byte [eax], 0
push edx
lea eax, [esp + 0x348]
push 0xff
push eax
call fcn.004057f0
lea ecx, [esp + 0x144]
push ecx
call fcn.00404dc0
lea edx, [esp + 0x48]
mov esi, eax
push edx
call fcn.00404dc0
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [esp + 0x448], esi
mov dword [esp + 0x444], eax
call ebx
push eax
push 0
push 0x1f0fff
call ebp
mov esi, eax
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push esi
call edi
push str.Sleep_1000__Login
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
push 0
push 0
push 0
push 0x4050b0
push 0
push 0
call fcn.004087f0
add esp, 0x1c
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
jmp 0x40579d