Function at 0x410d10
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x552da6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x2c], 0x80004005
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x24], ebp
push 0x5d2ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 2
cmp eax, ebp
mov byte [esp + 0x15c], bl
jne 0x410dca
cmp dword [0x5cb044], ebp
jne 0x410dca
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov byte [esp + 0x15c], 3
je 0x410d9d
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x410d9f
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x164], bl
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x10]
mov edi, dword [0x5cb044]
mov byte [esp + 0x15c], 1
mov edx, dword [ecx]
call dword [edx + 8]
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00473740
test eax, eax
jl 0x411172
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x411176
mov dword [esp + 0x10], ebp
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x5b5380
push eax
mov byte [esp + 0x168], 4
call dword [ecx + 0xc]
cmp eax, ebp
mov dword [esp + 0x2c], eax
jl 0x41115c
cmp dword [esp + 0x10], ebp
je 0x41115c
mov eax, dword [0x5d0514]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x50]
push 0x104
push ecx
push eax
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x50]
push str...StormNCStormNC_I.dll
push edx
call edi
lea ebp, [esi + 0x2e8]
push 0x14
lea eax, [esp + 0x54]
push ebp
push eax
call fcn.0051e030
mov eax, dword [0x5d0514]
add esp, 0xc
lea ecx, [esp + 0x50]
push 0x104
push ecx
push eax
call ebx
lea edx, [esp + 0x50]
push str...StormNCStormNC_R.dll
push edx
call edi
lea ebx, [esi + 0x2fc]
push 0x14
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0051e030
mov cl, byte [esp + 0x37]
mov edi, dword [esp + 0x170]
add esp, 0xc
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
push 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_]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x30]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
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_]
mov edi, str.UID
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x15c], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.UID
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004104a0
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x15c], 6
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov byte [esp + 0x15c], 5
push 1
lea ecx, [esp + 0x34]
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.gcid
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.gcid
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x410f99
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x410f99
mov eax, dword [esi + 0x1c]
push eax
call fcn.0055071c
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
mov edi, str.stormver
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.stormver
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
lea eax, [esp + 0x40]
mov ecx, esi
push eax
call fcn.00410680
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x15c], 7
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x160], 5
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.stormncver
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.stormncver
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
mov edi, 0x5b5348
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5b5348
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
lea ecx, [esp + 0x1c]
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__::append_char_const___unsigned_int_]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x411071
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]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], 0
lea ebp, [eax + 1]
lea ebx, [ebp + 0xc]
mov byte [esp + 0x15c], 8
push ebx
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_operatornew
mov ecx, ebx
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add ebp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x30], esi
rep stosb byte es:[edi], al
xor edi, edi
mov word [esi + 6], bp
mov dword [esi], edi
mov word [esi + 4], 0x66
mov cx, word [esp + 0x1c]
lea eax, [esi + 8]
mov word [esi + 6], cx
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jne 0x4110e4
mov ecx, 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 ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
push ebx
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x411118
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x411118
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp esi, edi
mov dword [esp + 0x10], edi
je 0x411129
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x41114e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x411145
cmp al, 0xff
je 0x411145
dec al
mov byte [ecx], al
jmp 0x41114e
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov byte [esp + 0x15c], 1
cmp eax, ebp
je 0x411172
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
pop edi
pop esi
cmp eax, ebp
pop ebp
mov byte [esp + 0x150], 0
pop ebx
je 0x41118c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x154]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x150
ret 4