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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov dword [esp + 0x10], edx
mov edi, ecx
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x158], eax
xor eax, eax
dec eax
lea ebx, [esp + 0x44]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [ecx + 4]
mov ecx, esi
push 8
push str.metadata
push ebx
call fcn.0053bfb0
cmp byte [edi + 0xf], 0
jns 0x408605
lea ecx, [esp + 0xb0]
push dword [edi + 8]
push dword [edi + 4]
call fcn.00556f30
lea eax, [esp + 0x38]
lea edi, [esp + 0xb0]
mov ecx, edi
push 0xb
push str.attachments
push eax
call fcn.0053bfb0
cmp byte [edi + 0xb], 0
jns 0x40849f
push dword [esp + 0xb0]
call fcn.0057dc2b
add esp, 4
lea eax, [esp + 0x2c]
mov ecx, esi
push 7
push str.reports
push eax
call fcn.0053bfb0
cmp byte [esp + 0x4f], 0
jns 0x4084bd
mov ebx, dword [esp + 0x44]
sub esp, 0x1c
movdqa xmm0, xmmword [0x63d700]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x408d7a
mov esi, eax
pxor xmm0, xmm0
lea eax, [esp + 0x50]
movdqa xmmword [eax], xmm0
mov dword [eax + 0x10], 0
sub esp, 0x18
mov dword [esp + 0x14], eax
movdqa xmm0, xmmword [0x63d710]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
je 0x408d2e
push 0x34
call fcn.0057dc30
add esp, 4
mov ebx, eax
mov dword [eax], 0x629058
mov dword [eax + 4], esi
mov byte [eax + 8], 0
lea ecx, [eax + 0xc]
cmp byte [esp + 0x37], 0
mov dword [esp + 0x28], ecx
jns 0x408621
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00556f30
mov esi, ebx
add esi, 0x18
cmp byte [esp + 0x43], 0
jns 0x408637
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.00556f30
mov byte [ebx + 0x24], 0
xor edi, edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov eax, dword [esp + 0x10]
mov dword [eax], ebx
push 2
push edi
push edi
push dword [ebx + 4]
call fcn.004090a0
add esp, 0x10
cmp eax, 1
sbb edx, 0
jge 0x40864d
cmp byte [esp + 0x37], 0
jns 0x4085c5
push dword [esp + 0x2c]
call fcn.0057dc2b
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x4085d8
push dword [esp + 0x38]
call fcn.0057dc2b
add esp, 4
cmp byte [esp + 0x4f], 0
jns 0x4085eb
push dword [esp + 0x44]
call fcn.0057dc2b
add esp, 4
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.005810d5
mov eax, dword [esp + 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [esp + 0xb8], eax
movsd xmm0, qword [esi]
movsd qword [esp + 0xb0], xmm0
jmp 0x408470
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], eax
movq xmm0, qword [esp + 0x2c]
movq qword [ecx], xmm0
jmp 0x408563
mov eax, dword [esp + 0x40]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x38]
movq qword [esi], xmm0
jmp 0x408582
push edi
push edi
push edi
push dword [ebx + 4]
call fcn.004090a0
add esp, 0x10
or edx, eax
jne 0x408f84
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x80]
movdqa xmmword [eax], xmm0
mov edx, dword [ebx + 4]
lea ecx, [esp + 0xb0]
mov dword [ecx], 0x628f68
mov dword [ecx + 4], edx
push 1
push 0x10
push eax
call fcn.004218b0
test al, al
je 0x408fc0
cmp dword [esp + 0x80], 0x43504144
jne 0x408ffc
cmp dword [esp + 0x84], 1
jne 0x408ffc
mov edi, dword [esp + 0x88]
mov ecx, 0x38
mov eax, edi
mul ecx
mov dword [esp + 4], eax
jo 0x40904b
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov ecx, 0
mov edx, 0
test edi, edi
je 0x408c7f
push dword [esp + 4]
call fcn.0057dc30
add esp, 4
imul ecx, edi, 0x38
mov dword [esp + 8], ecx
xor edx, edx
mov ecx, eax
add ecx, edx
je 0x408e87
add edx, 0x38
cmp dword [esp + 8], edx
jne 0x408705
mov dword [esp + 0x14], edi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0xb0]
mov dword [ecx], 0x628f68
mov dword [ecx + 4], edx
push 1
push dword [esp + 8]
mov dword [esp + 8], eax
push eax
call fcn.004218b0
test al, al
je 0x408d89
xor eax, eax
dec eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov edi, dword [ebx + 4]
xor eax, eax
push 1
push eax
push eax
push edi
call fcn.004090a0
add esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 8], edx
push 2
xor eax, eax
push eax
push eax
push edi
call fcn.004090a0
add esp, 0x10
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
xor eax, eax
push eax
push dword [esp + 0xc]
push dword [esp + 0x20]
mov dword [esp + 0x30], edi
push edi
call fcn.004090a0
add esp, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0xc]
xor ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edi, eax
mov edx, dword [esp + 0x18]
xor edi, edx
or edi, ecx
je 0x408ec0
mov edi, edx
mov edx, dword [esp + 8]
and edx, edi
cmp edx, 0xffffffff
je 0x408ec0
mov ecx, eax
mov edx, dword [esp + 0xc]
and edx, eax
cmp edx, 0xffffffff
je 0x408ec0
mov eax, dword [esp + 0x1c]
and eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x408ec0
sub ecx, edi
xor eax, eax
dec eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
cmp ecx, 0x7ffffff8
jae 0x408ede
cmp ecx, 0xb
mov dword [esp + 4], ecx
jae 0x408cf4
lea eax, [esp + 0xb0]
mov byte [eax + 0xb], cl
test ecx, ecx
je 0x408d27
push ecx
push 0
push eax
mov edi, eax
call fcn.00582870
add esp, 0xc
mov eax, dword [esp + 4]
mov byte [edi + eax], 0
cmp byte [esp + 0xbb], 0
lea eax, [esp + 0xb0]
jns 0x408869
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xa4]
mov dword [ecx], 0x628f68
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
push 1
push dword [esp + 8]
push eax
call fcn.004218b0
test al, al
mov edi, dword [esp]
je 0x408efe
cmp byte [esp + 0xbb], 0
jns 0x408f65
lea ecx, [esp + 0x68]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
call fcn.00504f90
cmp byte [esp + 0xbb], 0
jns 0x4088d2
push dword [esp + 0xb0]
call fcn.0057dc2b
add esp, 4
mov cl, byte [esp + 0x73]
mov edx, dword [esp + 0x6c]
test cl, cl
movzx eax, cl
cmovs eax, edx
test eax, eax
je 0x408dff
test cl, cl
jns 0x4088f4
mov ecx, dword [esp + 0x68]
jmp 0x4088f8
lea ecx, [esp + 0x68]
cmp byte [ecx + eax - 1], 0
jne 0x408dff
imul eax, dword [esp + 0x14], 0x38
mov dword [esp + 8], eax
xor ecx, ecx
movsx eax, byte [esp + 0x73]
mov edx, eax
mov dword [esp + 0xc], eax
test eax, eax
jns 0x408921
mov edx, dword [esp + 0x6c]
mov eax, dword [edi + ecx + 0x10]
cmp eax, edx
jae 0x408f15
cmp dword [edi + ecx + 0x14], edx
jae 0x408f15
mov dword [esp + 4], ecx
add ecx, edi
xor edi, edi
dec edi
lea edx, [esp + 0xc0]
mov dword [edx + 0x40], edi
pcmpeqd xmm0, xmm0
movdqu xmmword [edx + 0x30], xmm0
movdqu xmmword [edx + 0x20], xmm0
mov dword [edx + 0x44], edi
xor edi, edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
pxor xmm0, xmm0
movq qword [edx + 0x2e], xmm0
movq qword [edx + 0x28], xmm0
pxor xmm0, xmm0
movdqu xmmword [edx + 0x10], xmm0
movdqu xmmword [edx], xmm0
mov byte [edx + 0x20], 0
movdqu xmm0, xmmword [ecx]
movdqa xmmword [esp + 0xb0], xmm0
lea edi, [esp + 0x68]
cmp byte [esp + 0xc], 0
jns 0x4089a6
mov edi, dword [esp + 0x68]
add edi, eax
je 0x408e9c
push edi
call fcn.00598320
add esp, 4
push eax
push edi
lea edi, [esp + 0xa0]
push edi
call fcn.00539030
add esp, 0xc
movsx eax, byte [esp + 0xa3]
mov edx, edi
test eax, eax
jns 0x4089e5
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
test eax, eax
mov edi, dword [esp]
js 0x408ea3
je 0x4089fa
test edx, edx
je 0x408e8e
mov ecx, dword [esp + 0x28]
push eax
push edx
lea eax, [esp + 0xac]
push eax
call fcn.0053bfb0
cmp byte [esp + 0xcb], 0
jns 0x408a26
push dword [esp + 0xc0]
call fcn.0057dc2b
add esp, 4
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xc0]
mov dword [ecx + 8], eax
movsd xmm0, qword [esp + 0xa4]
movsd qword [ecx], xmm0
mov byte [esp + 0xaf], 0
mov word [esp + 0xa4], 0
cmp byte [esp + 0xa3], 0
jns 0x408a6f
push dword [esp + 0x98]
call fcn.0057dc2b
add esp, 4
mov eax, dword [esp + 4]
mov eax, dword [edi + eax + 0x14]
movsx ecx, byte [esp + 0x73]
mov edx, ecx
test ecx, ecx
jns 0x408a86
mov edx, dword [esp + 0x6c]
cmp edx, eax
jb 0x408eb9
lea edx, [esp + 0x68]
test cl, cl
jns 0x408a9a
mov edx, dword [esp + 0x68]
add edx, eax
je 0x408e95
lea ecx, [esp + 0xcc]
push edx
call fcn.00561eb0
mov ecx, dword [esp + 4]
movsd xmm0, qword [edi + ecx + 0x18]
movsd qword [esp + 0xd8], xmm0
movq xmm0, qword [edi + ecx + 0x20]
movq qword [esp + 0xe8], xmm0
mov eax, dword [edi + ecx + 0x28]
mov dword [esp + 0xf0], eax
mov eax, dword [edi + ecx + 0x2c]
cmp byte [edi + ecx + 0x31], 0
mov dword [esp + 0x100], eax
setne byte [esp + 0xf5]
mov al, byte [edi + ecx + 0x30]
mov ecx, eax
and cl, 1
mov byte [esp + 0xe0], cl
shr al, 1
and al, 1
mov byte [esp + 0xf4], al
lea eax, [esp + 0xc0]
push eax
call fcn.00409270
add esp, 4
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf8], eax
xor eax, eax
dec eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
lea ecx, [esp + 0xb0]
lea edi, [esp + 0x98]
push edi
call fcn.00409190
movsx eax, byte [esp + 0xa3]
mov edx, edi
test eax, eax
jns 0x408b75
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
test eax, eax
js 0x408ea3
mov edi, dword [esp]
je 0x408b8a
test edx, edx
je 0x408e8e
mov ecx, esi
push eax
push edx
lea eax, [esp + 0xac]
push eax
call fcn.0053bfb0
cmp byte [esp + 0xa3], 0
jns 0x408bb4
push dword [esp + 0x98]
call fcn.0057dc2b
add esp, 4
lea eax, [esp + 0xa4]
push eax
call fcn.00409410
add esp, 4
add dword [esp + 0xf8], eax
adc dword [esp + 0xfc], edx
lea ecx, [esp + 0x74]
lea edx, [esp + 0xb0]
call fcn.00409a20
cmp byte [esp + 0xaf], 0
jns 0x408bfb
push dword [esp + 0xa4]
call fcn.0057dc2b
add esp, 4
cmp byte [esp + 0xd7], 0
js 0x408eea
cmp byte [esp + 0xcb], 0
jns 0x408c22
push dword [esp + 0xc0]
call fcn.0057dc2b
add esp, 4
mov ecx, dword [esp + 4]
add ecx, 0x38
mov al, 1
cmp dword [esp + 8], ecx
jne 0x40890e
mov esi, eax
cmp byte [esp + 0x73], 0
jns 0x408c4a
push dword [esp + 0x68]
call fcn.0057dc2b
add esp, 4
test edi, edi
mov ecx, dword [esp + 8]
je 0x408c6d
test ecx, ecx
je 0x408c64
add ecx, 0xffffffc8
mov eax, edi
add eax, ecx
jne 0x408c52
jmp 0x408eaa
push edi
call fcn.0057dc2b
add esp, 4
mov edx, dword [esp + 0x74]
mov eax, esi
test al, al
je 0x408c9f
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov esi, edx
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x28], esi
mov dword [esp + 0x74], edx
mov esi, dword [ebx + 0x2c]
mov dword [ebx + 0x2c], ecx
mov dword [esp + 0x78], esi
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x30], eax
mov dword [esp + 0x7c], ecx
test edx, edx
je 0x4085b2
mov esi, dword [esp + 0x78]
cmp esi, edx
je 0x408ce2
add esi, 0xffffffa8
test esi, esi
je 0x408eaa
cmp byte [esi + 0x27], 0
js 0x409087
cmp byte [esi + 0x1b], 0
jns 0x408cd9
push dword [esi + 0x10]
mov edi, edx
call fcn.0057dc2b
mov edx, edi
add esp, 4
lea eax, [esi - 0x58]
cmp esi, edx
mov esi, eax
jne 0x408cb2
mov dword [esp + 0x78], edx
push edx
call fcn.0057dc2b
add esp, 4
jmp 0x4085b2
mov edi, ecx
or edi, 7
inc edi
push edi
call fcn.0057dc30
mov ecx, dword [esp + 8]
add esp, 4
mov dword [esp + 0xb0], eax
or edi, 0x80000000
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ecx
jmp 0x40883b
mov edi, eax
jmp 0x408849
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x408d7a
call fcn.00417770
lea esi, [esp + 0xb0]
mov ecx, esi
push eax
push 2
push 0x161
push str.crash_report_database_win.cc
call fcn.00409720
lea eax, [esp + 0xb8]
push 0xa
push 0x63d969
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, esi
call fcn.00409610
mov eax, dword [esp + 0x10]
mov dword [eax], 0
jmp 0x4085b2
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x408dcf
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1ef
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x16
push str.failed_to_read_records
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, esi
call fcn.0040b060
cmp dword [esp], 0
je 0x4085b2
cmp dword [esp + 8], 0
je 0x408df7
mov ecx, dword [esp + 8]
add ecx, 0xffffffc8
mov eax, dword [esp]
mov dword [esp + 8], ecx
add eax, ecx
jne 0x408dd9
jmp 0x408eaa
mov edx, dword [esp]
jmp 0x408ce6
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x408e45
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1f5
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x10
push str.bad_string_table
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, esi
call fcn.0040b060
cmp byte [esp + 0x73], 0
jns 0x408e58
push dword [esp + 0x68]
call fcn.0057dc2b
add esp, 4
cmp dword [esp], 0
je 0x408e7e
imul eax, dword [esp + 0x14], 0x38
test eax, eax
je 0x408e73
add eax, 0xffffffc8
mov ecx, dword [esp]
add ecx, eax
jne 0x408e63
jmp 0x408eaa
push dword [esp]
call fcn.0057dc2b
add esp, 4
mov edx, dword [esp + 0x74]
jmp 0x408c9f
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x408eaf
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x408eaf
push str....._third_partylibc_srcinclude_string:2719:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
jmp 0x408eaf
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
jmp 0x408eaf
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x408eaf
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x62a183
call fcn.005aacb0
push str....._third_partylibc_srcinclude_string:1241:_assertion___pos___size___failed:_string_index_out_of_bounds_n
jmp 0x408eaf
pxor xmm0, xmm0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
xor ecx, ecx
mov edi, dword [esp]
xor edx, edx
jmp 0x4088da
lea ecx, [esp + 0xb0]
call fcn.005ab850
push dword [esp + 0xcc]
call fcn.0057dc2b
add esp, 4
jmp 0x408c09
pxor xmm0, xmm0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
jmp 0x4088b9
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x408f5b
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1fc
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x1a
push str.invalid_string_table_index
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, esi
call fcn.0040b060
xor eax, eax
mov edi, dword [esp]
jmp 0x408c35
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x70], eax
movq xmm0, qword [esp + 0xb0]
movq qword [esp + 0x68], xmm0
jmp 0x4088d2
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x4085b2
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1d3
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x18
push str.failed_to_rewind_to_read
jmp 0x409036
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x4085b2
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1d9
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x15
push str.failed_to_read_header
jmp 0x409036
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x4085b2
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1de
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x11
push str.unexpected_header
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, esi
call fcn.0040b060
jmp 0x4085b2
push 2
call fcn.00557ce0
add esp, 4
test al, al
je 0x4085b2
lea esi, [esp + 0xb0]
mov ecx, esi
push 2
push 0x1e6
push str.crash_report_database_win.cc
call fcn.0040ca50
lea eax, [esp + 0xb8]
push 0x18
push str.record_size_out_of_range
jmp 0x409036
push dword [esi + 0x1c]
mov edi, edx
call fcn.0057dc2b
mov edx, edi
add esp, 4
jmp 0x408cc4