Function at 0x4062b0
Capabilities:
Inspect load icon resource
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40e4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x41501c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x41501c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
test byte [0x415598], 1
mov esi, ecx
jne 0x40630c
mov eax, dword [sym.imp.ATL80.DLL_Ordinal_10]
or dword [0x415598], 1
mov dword [0x415594], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x80
push 0
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [esi + 4]
mov edi, eax
push edi
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push edi
push 1
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00406de0
mov eax, esi
mov byte [esi + 0x27], 0
call fcn.004071f0
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
cmp byte [esi + 0x24], al
push 0
setne al
push eax
push 0xf1
push 0x41a
push ecx
call edi
mov eax, dword [esi + 4]
xor edx, edx
cmp byte [esi + 0x25], dl
push 0
setne dl
push edx
push 0xf1
push 0x41b
push eax
call edi
call fcn.00406970
push 0
push 0
push 0
push 1
push 0x81
push 0
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
mov dword [esi + 0x34], eax
je 0x4063dc
mov ecx, dword [esi + 4]
push 0x419
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x16
push 0x40
push 0x40
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [esi + 0x10]
call edi
mov edx, dword [esi + 4]
push eax
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x78]
call dword [sym.imp.Common.dll_public:_void___thiscall_CFmtString::constructor_void_]
lea ecx, [esi + 0x1c]
mov dword [esp + 0xb0], 0
call edi
mov ebx, dword [sym.imp.Common.dll_public:_int___thiscall_CFmtString::PropertyStr_wchar_t_const___wchar_t_const__]
push eax
push 0x410950
lea ecx, [esp + 0x80]
call ebx
lea ecx, [esi + 0x20]
call edi
push eax
push str.CrashSignature
lea ecx, [esp + 0x80]
call ebx
xor eax, eax
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], str.BR_SEND
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], str.BR_RESTART
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], str.BR_ASSIST
mov dword [esp + 0x4c], 6
mov dword [esp + 0x50], str.BR_QQACOUNT
mov dword [esp + 0x54], 8
mov dword [esp + 0x58], str.BR_CONTACT2
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0x60], str.BR_REASON
mov dword [esp + 0x64], 0xe
mov dword [esp + 0x68], str.BR_OK
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], str.BR_ERRINFO
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0xb0], 1
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x406557
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov edx, dword [esp + 0x28]
je 0x406519
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x406515
mov eax, edx
add eax, 4
mov dword [edx], ebx
mov dword [esp + 0x28], eax
jmp 0x406544
mov ecx, dword [esp + 0x24]
cmp ecx, edx
mov dword [esp + 0x1c], edx
jbe 0x406527
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
call fcn.0040bb20
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x4064e6
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + ecx*8 + 0x38]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00406180
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + ecx*8 + 0x3c]
mov ecx, dword [esp + 0x2c]
sub eax, 1
add esp, 8
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x4065a3
mov edx, dword [esp + 0x28]
sub edx, ecx
sar edx, 2
cmp eax, edx
jb 0x4065b1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
call edi
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x14]
call ebx
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 8
mov dword [esp + 0x10], eax
jb 0x406565
lea edx, [esp + 0x14]
push str.BR_HELP
push edx
call fcn.00406180
add esp, 8
mov ecx, eax
mov byte [esp + 0xb0], 2
call edi
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CFmtString::DoFormat_wchar_t_const__]
push eax
mov eax, dword [esi + 4]
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 1
call ebx
lea ecx, [esp + 0x14]
push str.BR_TIP
push ecx
call fcn.00406180
add esp, 8
mov ecx, eax
mov byte [esp + 0xb0], 3
call edi
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CFmtString::DoFormat_wchar_t_const__]
mov edx, dword [esi + 4]
push eax
push 0x3ee
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 1
call ebx
lea eax, [esp + 0x14]
push str.BR_CONTACT1
push eax
call fcn.00406180
add esp, 8
mov ecx, eax
call edi
mov ecx, dword [esi + 4]
push eax
push 0x3e9
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x14]
call ebx
lea edx, [esp + 0x14]
push str.BR_CRASH_SIGNATURE
push edx
call fcn.00406180
add esp, 8
mov ecx, eax
mov byte [esp + 0xb0], 4
call edi
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CFmtString::DoFormat_wchar_t_const__]
push eax
mov eax, dword [esi + 4]
push 0x3f4
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 1
call ebx
lea ecx, [esp + 0x14]
push str.BR_APP_TITLE
push ecx
call fcn.00406180
add esp, 8
mov ecx, eax
call edi
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x14]
call ebx
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x40671d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0xb0], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CFmtString::destructor_void_]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0040c926
mov esp, ebp
pop ebp
ret 8