Function at 0x407e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b9de
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x437050]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x437050]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x80
push 0
mov esi, ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
mov eax, dword [esi + 4]
push edi
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push edi
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.00408b20
mov eax, esi
mov byte [esi + 0x27], 0
call fcn.00408fe0
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor edx, edx
cmp byte [esi + 0x24], dl
push 0
setne dl
push edx
push 0xf1
push 0x41a
push eax
call edi
mov edx, dword [esi + 4]
xor ecx, ecx
cmp byte [esi + 0x25], cl
push 0
setne cl
push ecx
push 0xf1
push 0x41b
push edx
call edi
call fcn.004086e0
xor edi, edi
push edi
push edi
push edi
push 1
push 0x81
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, edi
mov dword [esi + 0x34], eax
je 0x407f0c
mov eax, dword [esi + 4]
push 0x419
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x16
push 0x40
push 0x40
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push eax
push 0x3eb
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea edx, [esp + 0x80]
push edx
call fcn.004083d0
lea eax, [esp + 0x80]
mov dword [esp + 0xb8], edi
mov ecx, dword [esi + 0x1c]
push eax
mov edx, str.AppCallName
call fcn.004078b0
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x80]
push edx
mov edx, str.CrashSignature
call fcn.004078b0
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], str.BR_SEND
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], str.BR_RESTART
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], str.BR_ASSIST
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], str.BR_QQACOUNT
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], str.BR_CONTACT2
mov dword [esp + 0x64], 0xa
mov dword [esp + 0x68], str.BR_REASON
mov dword [esp + 0x6c], 0xe
mov dword [esp + 0x70], str.BR_OK
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x78], str.BR_ERRINFO
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0xb8], 1
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x40806b
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edx, dword [esp + 0x24]
je 0x408038
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x408034
mov dword [edx], edi
add edx, 4
mov dword [esp + 0x24], edx
jmp 0x408058
mov ecx, dword [esp + 0x20]
cmp ecx, edx
mov ebx, edx
jbe 0x408043
call fcn.0041a9c9
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040a020
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x408007
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esp + ebx*8 + 0x40]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00407ce0
mov edx, dword [eax]
mov edi, dword [esp + ebx*8 + 0x44]
mov eax, dword [esp + 0x28]
add esp, 8
sub edi, 1
test eax, eax
mov dword [esp + 0x18], edx
je 0x4080a4
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x4080ad
call fcn.0041a9c9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + edi*4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
cmp ebx, 8
jb 0x408070
lea ecx, [esp + 0x10]
push str.BR_HELP
push ecx
call fcn.00407ce0
add esp, 8
mov byte [esp + 0xb8], 2
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x88]
call sym.bugreport.exe_public:_class_std::vector_struct_tagStringItem__class_std::allocator_struct_tagStringItem_____thiscall_CFmtString::DoFormatEx_wchar_t_const__
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x408136
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
push eax
mov eax, ebx
call fcn.004126f0
add esp, 4
push ebx
call fcn.0041a2cc
add esp, 4
mov eax, dword [esp + 0x84]
mov edi, 8
cmp dword [esp + 0x98], edi
jae 0x408152
lea eax, [esp + 0x84]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3e8
push ecx
call ebx
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40818c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push str.BR_TIP
push ecx
call fcn.00407ce0
add esp, 8
mov byte [esp + 0xb8], 3
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x88]
call sym.bugreport.exe_public:_class_std::vector_struct_tagStringItem__class_std::allocator_struct_tagStringItem_____thiscall_CFmtString::DoFormatEx_wchar_t_const__
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4081e5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
push ecx
call fcn.004126f0
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.0041a2cc
add esp, 4
mov edi, 8
cmp dword [esp + 0x98], edi
mov eax, dword [esp + 0x84]
jae 0x4081fc
lea eax, [esp + 0x84]
push eax
mov eax, dword [esi + 4]
push 0x3ee
push eax
call ebx
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408230
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push str.BR_CONTACT1
push ecx
call fcn.00407ce0
mov eax, dword [eax]
mov edx, dword [esi + 4]
add esp, 8
push eax
push 0x3e9
push edx
call ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408270
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push str.BR_CRASH_SIGNATURE
push ecx
call fcn.00407ce0
add esp, 8
mov byte [esp + 0xb8], 4
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x88]
call sym.bugreport.exe_public:_class_std::vector_struct_tagStringItem__class_std::allocator_struct_tagStringItem_____thiscall_CFmtString::DoFormatEx_wchar_t_const__
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4082c9
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
push ecx
call fcn.004126f0
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.0041a2cc
add esp, 4
mov edi, 8
cmp dword [esp + 0x98], edi
mov eax, dword [esp + 0x84]
jae 0x4082e0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esi + 4]
push 0x3f4
push eax
call ebx
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408314
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push str.BR_APP_TITLE
push ecx
call fcn.00407ce0
mov eax, dword [eax]
mov edx, dword [esi + 4]
add esp, 8
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408353
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x408366
push eax
call fcn.0041a2cc
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea eax, [esp + 0x9c]
mov dword [esp + 0xb8], 5
call fcn.00409eb0
cmp dword [esp + 0x98], edi
jb 0x4083a2
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0041a2cc
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0041a2d1
mov esp, ebp
pop ebp
ret 8