Function at 0x401760
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x407743
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e0
push esi
push 0x9b8d0
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x2ec], 0
je 0x401b7c
push ebp
push edi
push 1
push 2
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2fc], 1
mov dword [esi], 0x4084b8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov al, byte [esp + 0xe]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2f8], 2
mov byte [esp + 0x14], al
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, 0x40c0a8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40c0a8
lea ecx, [esp + 0x18]
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 ecx, [esp + 0x10]
mov byte [esp + 0x2f4], 3
push ecx
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::str_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2f8], 2
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 edx, [esp + 0x44]
lea ecx, [esp + 0x54]
push edx
mov byte [esp + 0x2f8], 4
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov eax, dword [eax + 4]
test eax, eax
jne 0x401849
mov eax, 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]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
lea ecx, [esp + 0x48]
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 eax, [esp + 0xe]
lea ecx, [esp + 0x24]
push eax
push 0x40c0a8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f4], 5
push ecx
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::str_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2f8], 4
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 ecx, [esp + 0x54]
mov byte [esp + 0x2f4], 6
call fcn.00401d40
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f4], 1
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push 1
push 2
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea edx, [esp + 0xf]
lea ecx, [esp + 0x34]
push edx
push 0x40c0a8
mov byte [esp + 0x2fc], 7
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea eax, [esp + 0x34]
lea ecx, [esp + 0xdc]
push eax
mov byte [esp + 0x2f8], 8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::str_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f8], 7
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 ecx, [esp + 0xd8]
push str._____CDwonKey_____
push ecx
mov byte [esp + 0x2fc], 9
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
add esp, 8
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2f4], 0xa
call fcn.00401d40
lea ecx, [esp + 0x128]
mov byte [esp + 0x2f4], 1
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x128]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [0x40b090]
mov ebp, dword [0x40b088]
sub edx, ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esi + 0x10]
mov dword [0x40b094], edx
rep stosd dword es:[edi], eax
mov eax, dword [0x40b08c]
mov edi, dword [0x40b068]
mov ecx, dword [0x40b0ac]
mov edx, dword [0x40b07c]
add edi, eax
sub ecx, edx
mov dword [0x40b068], edi
lea edx, [esp + 0x15c]
mov dword [0x40b090], ecx
push edx
push 0x202
call dword [0x40c07c]
mov eax, dword [0x40b074]
mov ecx, dword [0x40b0bc]
add ecx, eax
xor eax, eax
mov dword [0x40b09c], ecx
mov ecx, 0x100
lea edi, [esi + 0x74]
push 0x6963
rep stosd dword es:[edi], eax
mov edx, dword [0x40b060]
mov ebp, dword [0x40b074]
and edx, ebp
push 0x3fe71f34
push 0xc72e3e6a
mov dword [0x40b088], edx
call fcn.00401ea0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov eax, dword [0x40b080]
mov ecx, dword [0x40b0dc]
imul eax, dword [0x40b074]
mov edx, dword [ecx*4 + 0x40b0f0]
push 0xe
push edx
mov dword [0x40b0b4], eax
call fcn.004012a0
add esp, 8
push eax
mov eax, dword [0x40bfac]
push eax
call fcn.004014e0
mov ecx, dword [0x40b088]
mov edx, dword [0x40b090]
push 0x3fd3754a
push 0xeaa6ea96
push 0x3fd5f5de
sub ecx, edx
push 0xf4abebbe
push 0x42180000
mov ebp, eax
mov dword [0x40b070], ecx
call fcn.004016d0
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0xc0
xor eax, eax
lea edi, [esi + 0x204]
push 0xc53a
rep stosd dword es:[edi], eax
mov edx, dword [0x40b094]
mov eax, dword [0x40b0b0]
add eax, edx
push 0xb4ea
mov dword [0x40b0ac], eax
call fcn.00401eb0
add esp, 8
fstp st(0)
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 0
push 1
push 0
call ebp
mov dword [esi + 0xc], eax
mov ecx, dword [0x40b09c]
mov edx, dword [0x40b060]
lea edi, [esi + 0x810]
sub ecx, edx
xor eax, eax
mov dword [0x40b0b4], ecx
mov ecx, 0x13517
rep stosd dword es:[edi], eax
mov dword [esi + 8], 0xffffffff
mov edx, dword [0x40b064]
mov eax, dword [0x40b0b8]
mov ecx, dword [0x40b0bc]
add edx, eax
mov eax, dword [0x40b094]
mov dword [0x40b07c], edx
sub ecx, eax
xor eax, eax
mov dword [0x40b06c], ecx
mov dword [esi + 0x4dc70], eax
mov dword [esi + 4], eax
mov edx, dword [0x40b080]
mov eax, dword [0x40b0a0]
imul edx, dword [0x40b0b4]
imul eax, dword [0x40b094]
mov dword [0x40b090], eax
pop edi
mov eax, esi
pop ebp
mov dword [0x40b0b0], edx
pop esi
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2e4]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2ec
ret