Function at 0x410340
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x439d4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call fcn.0041b9d8
lea edi, [esi + 0x6c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.0041b9d2
mov dword [edi], 0x43da18
mov dl, byte [esp + 0x24]
lea ecx, [esi + 0xac]
push ebx
mov byte [esp + 0x20], 1
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0xbc]
push ebx
mov byte [esp + 0x20], 2
mov byte [ecx], 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 dl, byte [esp + 0x24]
lea ecx, [esi + 0xcc]
push ebx
mov byte [esp + 0x20], 3
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0xdc]
push ebx
mov byte [esp + 0x20], 4
mov byte [ecx], 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 dl, byte [esp + 0x24]
lea ecx, [esi + 0xec]
push ebx
mov byte [esp + 0x20], 5
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0xfc]
push ebx
mov byte [esp + 0x20], 6
mov byte [ecx], 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 dl, byte [esp + 0x24]
lea ecx, [esi + 0x10c]
push ebx
mov byte [esp + 0x20], 7
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0x11c]
push ebx
mov byte [esp + 0x20], 8
mov byte [ecx], 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 dl, byte [esp + 0x24]
lea ecx, [esi + 0x12c]
push ebx
mov byte [esp + 0x20], 9
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0x13c]
push ebx
mov byte [esp + 0x20], 0xa
mov byte [ecx], 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 dl, byte [esp + 0x24]
lea ecx, [esi + 0x14c]
push ebx
mov byte [esp + 0x20], 0xb
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0x160]
push ebx
mov byte [esp + 0x20], 0xc
mov byte [ecx], 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_]
lea ecx, [esi + 0x178]
mov byte [esp + 0x1c], 0xd
call fcn.0041ab80
mov dl, byte [esp + 0x24]
lea ecx, [esi + 0x1ac]
push ebx
mov byte [esp + 0x20], 0xe
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0x1bc]
push ebx
mov byte [esp + 0x20], 0xf
mov byte [ecx], 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 dl, byte [esp + 0x24]
lea ecx, [esi + 0x1cc]
push ebx
mov byte [esp + 0x20], 0x10
mov byte [ecx], 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 al, byte [esp + 0x24]
lea ecx, [esi + 0x1dc]
push ebx
mov byte [esp + 0x20], 0x11
mov byte [ecx], 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_]
lea edi, [esi + 0x1ec]
push fcn.00413430
push fcn.00412d10
push 6
lea ecx, [edi + 8]
push 0x1c8
push ecx
mov byte [esp + 0x30], 0x12
mov dword [esp + 0x38], edi
call fcn.0041baf2
lea ecx, [edi + 0xab8]
mov byte [esp + 0x1c], 0x13
call fcn.00412d10
push fcn.00413430
push fcn.00412d10
push 2
lea edx, [edi + 0xc80]
push 0x1c8
push edx
mov byte [esp + 0x30], 0x14
call fcn.0041baf2
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov byte [esp + 0x1c], 0x15
lea ecx, [esi + 0x11fc]
mov al, byte [esp + 0x24]
push ebx
mov byte [ecx], 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_]
lea ebx, [esi + 0x1218]
push 0
mov dword [esp + 0x28], ebx
mov cl, byte [esp + 0x28]
lea ebp, [ebx + 8]
mov byte [esp + 0x20], 0x16
mov byte [ebp], cl
mov ecx, ebp
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, 0x44a9e8
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1c], 0x17
push ecx
push 0x44a9e8
mov ecx, ebp
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_]
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov byte [esp + 0x1c], 0x18
mov dword [esi], 0x43d940
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x170], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4