Function at 0x41d8d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435408
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x45da50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push str.__Settings___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xf8]
add eax, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xa0], edx
jne 0x41d961
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x41d9b3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x14]
call fcn.004207d0
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xf8]
add ecx, 4
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
mov eax, dword [edx + 4]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xb0], ecx
jne 0x41d9ef
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0x14], 0
je 0x41da0c
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xb4]
je 0x41da12
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp ecx, dword [ebp - 0xb0]
sete dl
movzx eax, dl
neg eax
sbb eax, eax
add eax, 1
movzx ecx, al
test ecx, ecx
je 0x41db6c
push 1
push 3
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_int_]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x9c]
test edx, edx
je 0x41da64
lea eax, [ebp - 0x94]
mov dword [ebp - 0xfc], eax
jmp 0x41da6e
mov dword [ebp - 0xfc], 0
cmp dword [ebp - 0x14], 0
jne 0x41da7a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 4]
jne 0x41da8b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0x14], 0
jne 0x41daa3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 4]
jne 0x41dab4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______cdecl_std::endl_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int____]
push ecx
mov edx, dword [ebp - 0xf0]
add edx, 0x1c
push edx
push 0x440a38
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______cdecl_std::operator___unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int_____class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
push eax
call fcn.00404550
add esp, 8
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______cdecl_std::operator___unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int_____class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______thiscall_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int_______cdecl___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int_____]
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x104]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vbase_dtor_void_]
jmp 0x41d981
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret