Function at 0x498e50
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov eax, dword [ebp + 0x18]
mov ecx, dword [0x5f3024]
xor ecx, ebp
mov dword [esp + 0x118], ecx
lea esi, [esp + 0x5c]
mov dword [esi], 0xffffffff
push eax
push esi
call fcn.004988b0
add esp, 8
mov ecx, dword [esi]
test ecx, ecx
je 0x498ea6
lea eax, [esp + 0x58]
mov dword [eax], 0
push eax
call fcn.00579610
test eax, eax
je 0x498ead
xor ebx, ebx
jmp 0x49918c
xor ebx, ebx
jmp 0x4991c3
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x5c]
call fcn.00496f20
test eax, eax
je 0x498ed6
lea edx, [esp + 0x90]
mov ecx, eax
push edx
call fcn.00578f70
xor eax, eax
dec eax
lea esi, [esp + 0x4c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
call fcn.004cecb0
push esi
call fcn.00457290
add esp, 4
test al, al
je 0x499120
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqu xmmword [edi + 0xc], xmm0
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0x2061
push esi
call fcn.004554b0
mov ecx, edi
call fcn.00465a40
test al, al
je 0x499178
mov eax, dword [esp + 0x58]
pxor xmm0, xmm0
lea ecx, [esp + 0xac]
movdqu xmmword [ecx + 0x24], xmm0
xor edx, edx
inc edx
mov dword [ecx], edx
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [ecx + 0x14], xmm0
movdqu xmm0, xmmword [eax + 0x34]
movdqu xmmword [ecx + 4], xmm0
lea eax, [esp + 0x78]
mov dword [eax], 0x43500001
mov dword [eax + 4], 0x34
mov dword [eax + 8], ecx
lea edi, [esp + 0x70]
mov dword [edi], edx
mov dword [edi + 4], eax
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x30]
call fcn.00465a50
mov esi, eax
mov ecx, ebx
call fcn.004687c0
mov ebx, eax
mov ecx, dword [ebp + 8]
call fcn.004687a0
push 0
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push ebx
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
test eax, eax
je 0x499178
pxor xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
lea edi, [esp + 0xe0]
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
xor eax, eax
lea ecx, [esp + 0x30]
push 0x20
push edi
push eax
push eax
call fcn.004dc9e0
cmp eax, 0x20
jne 0x499052
cmp dword [esp + 0xe0], 0x504d444d
jne 0x499052
mov edx, dword [esp + 0xe8]
test edx, edx
je 0x499052
lea ecx, [esp + 0x64]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, ecx
sub ebx, eax
sar ebx, 2
imul esi, ebx, 0xaaaaaaab
mov ebx, edx
sub ebx, esi
ja 0x4991db
jae 0x499021
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x68], ecx
cmp ecx, eax
je 0x4996d8
mov ecx, dword [esp + 0xe8]
shl ecx, 2
lea esi, [ecx + ecx*2]
lea ecx, [esp + 0x30]
push esi
push eax
push 0
push dword [esp + 0xf8]
call fcn.004dc9e0
cmp eax, esi
je 0x4991f2
xor edi, edi
mov eax, dword [esp + 0x64]
test eax, eax
je 0x499069
mov dword [esp + 0x68], eax
push eax
call fcn.0050d52e
add esp, 4
mov eax, dword [esp + 0x60]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jae 0x49908c
push eax
call fcn.004d10e0
add esp, 4
xor ebx, ebx
mov eax, edi
test al, al
je 0x49917a
mov eax, dword [esp + 0x58]
mov edi, dword [eax]
lea ecx, [esp + 0x30]
push ebx
push ebx
push ebx
call fcn.00560b50
and edx, eax
cmp edx, 0xffffffff
je 0x49917a
xor eax, eax
lea esi, [esp + 0xe0]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push 0x400
call fcn.004ca480
lea ebx, [esp + 0x30]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
sub edx, eax
je 0x4996d8
mov ecx, ebx
push edx
push eax
call fcn.004dcb10
test eax, eax
js 0x49911c
je 0x499124
mov edx, dword [esp + 0xe0]
cmp dword [esp + 0xe4], edx
je 0x4996d8
mov ecx, edi
push eax
push edx
call fcn.00592400
test al, al
jne 0x4990d6
xor ebx, ebx
jmp 0x499126
xor ebx, ebx
jmp 0x499183
mov bl, 1
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x499141
mov dword [esp + 0xe4], eax
push eax
call fcn.0050d52e
add esp, 4
test bl, bl
je 0x499178
pxor xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.00579710
test eax, eax
sete bl
jmp 0x49917a
xor ebx, ebx
lea ecx, [esp + 0x30]
call fcn.004cec70
lea ecx, [esp + 0x4c]
call fcn.004ceef0
mov esi, dword [esp + 0x58]
mov dword [esp + 0x58], 0
test esi, esi
je 0x4991ac
mov ecx, esi
call fcn.00591540
push esi
call fcn.0050d52e
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
test ecx, ecx
je 0x4991c3
push 1
call fcn.00498910
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x64]
push ebx
call fcn.0057a290
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x499021
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
cmp edx, eax
je 0x49920c
cmp dword [edx], 0
je 0x4992cd
add edx, 0xc
jmp 0x4991fa
mov edx, eax
lea ebx, [esp + 0x8c]
lea ecx, [esp + 0x64]
push eax
push edx
push ebx
call fcn.0055ca40
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov ecx, esi
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esp + 0xe4], 0xa793
mov dword [esp + 0xe8], ecx
sub esi, eax
je 0x4996d8
lea ecx, [esp + 0x30]
push esi
push eax
push 0
push dword [esp + 0xf8]
call fcn.004dcc10
cmp eax, esi
jne 0x499052
xor eax, eax
lea esi, [esp + 0x30]
mov ecx, esi
push 0x20
push edi
push eax
push eax
call fcn.004dcc10
cmp eax, 0x20
jne 0x499052
mov eax, dword [esp + 0x60]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jae 0x4992aa
push eax
call fcn.004d10e0
add esp, 4
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x11
and ecx, 0xfffffffc
mov ecx, dword [ecx + 0x5fc3c8]
bt ecx, eax
jae 0x4992fe
push esi
call fcn.004d0fc0
add esp, 4
jmp 0x49930a
lea ecx, [edx + 0xc]
cmp ecx, eax
je 0x49920e
cmp dword [ecx], 0
je 0x4992ee
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
movq xmm0, qword [ecx]
movq qword [edx], xmm0
add edx, 0xc
add ecx, 0xc
cmp ecx, eax
jne 0x4992d8
mov eax, dword [esp + 0x68]
jmp 0x49920e
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x6043c8], 1
mov dword [esp + 0x60], esi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
je 0x499052
mov esi, dword [ebp + 0x14]
cmp dword [eax], 0x43500001
je 0x49935f
add eax, 0xc
cmp eax, ecx
jne 0x49934b
jmp 0x499052
cmp dword [eax + 4], 0x34
jne 0x499052
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x499052
lea ecx, [esp + 0x30]
push 0x34
lea eax, [esp + 0xe4]
push eax
push 0
push dword [esp + 0x2c]
call fcn.004dc9e0
xor edi, edi
cmp eax, 0x34
jne 0x499054
cmp dword [esp + 0xe0], 1
jne 0x499054
mov ecx, dword [esp + 0x60]
xor eax, eax
push eax
xor edi, edi
push eax
push 2
call fcn.00560b50
mov dword [esp + 0x18], eax
and eax, edx
cmp eax, 0xffffffff
je 0x499054
test edx, edx
jg 0x499054
mov eax, dword [esi]
mov dword [esp + 0x8c], eax
add esi, 4
mov dword [esp + 0x24], esi
mov dword [esp + 8], eax
cmp eax, esi
je 0x49963e
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x27]
test al, al
jns 0x499419
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x49961b
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x1b]
test al, al
jns 0x499434
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x60]
push 4
lea eax, [esp + 0x8c]
push eax
call fcn.00465a80
mov ecx, dword [esp + 0x18]
lea esi, [ecx + 4]
cmp eax, 0xffffffff
cmove esi, ecx
je 0x4996f6
mov ecx, dword [esp + 8]
lea eax, [ecx + 0x10]
cmp byte [ecx + 0x1b], 0
jns 0x499470
mov eax, dword [eax]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
test ecx, ecx
js 0x4996f6
mov ecx, dword [esp + 0x60]
push dword [esp + 0x1c]
push eax
call fcn.00465a80
cmp eax, 0xffffffff
je 0x4996f6
add dword [esp + 0x1c], esi
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x27]
test al, al
jns 0x4994b1
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x60]
push 4
lea eax, [esp + 0x88]
push eax
call fcn.00465a80
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 4]
cmp eax, 0xffffffff
cmove edx, ecx
mov dword [esp + 0x28], edx
je 0x4996f6
mov ecx, dword [esp + 8]
lea eax, [ecx + 0x1c]
cmp byte [ecx + 0x27], 0
jns 0x4994f1
mov eax, dword [eax]
mov edi, dword [esp + 0x84]
test edi, edi
js 0x4996f6
mov ecx, dword [esp + 0x60]
push edi
push eax
call fcn.00465a80
cmp eax, 0xffffffff
je 0x4996f6
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x4995f0
mov esi, dword [esp + 0x10]
sub esi, dword [esp + 0xc]
mov dword [esp + 0x10], esi
sar esi, 3
lea eax, [esi + 1]
cmp eax, 0x20000000
jae 0x499727
mov ecx, dword [esp + 0x10]
mov edx, ecx
sar edx, 2
cmp edx, eax
cmovbe edx, eax
cmp ecx, 0x7ffffff8
mov eax, 0x1fffffff
cmovae edx, eax
mov dword [esp + 8], 0
mov eax, edx
mov dword [esp + 0x14], edx
test edx, edx
je 0x499593
cmp dword [esp + 0x14], 0x20000000
jae 0x49972c
mov eax, dword [esp + 0x14]
lea eax, [eax*8]
push eax
call fcn.0050d4fe
add esp, 4
mov dword [esp + 8], eax
shl esi, 3
add esi, dword [esp + 8]
je 0x499714
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi], eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00510840
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea eax, [ecx + eax*8]
mov dword [esp + 0x14], eax
add esi, 8
cmp dword [esp + 0xc], 0
je 0x4995e6
push dword [esp + 0xc]
call fcn.0050d52e
add esp, 4
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
jmp 0x49960f
cmp dword [esp + 0x10], 0
je 0x499714
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi], eax
add esi, 8
add edi, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x8c]
call fcn.00559660
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x24]
jne 0x499406
jmp 0x49964e
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0xc]
sar eax, 3
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x60]
push 4
push ebx
call fcn.00465a80
cmp eax, 0xffffffff
je 0x4996f6
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0xc]
je 0x4996d8
mov esi, dword [esp + 0x8c]
shl esi, 3
test esi, esi
js 0x4996f6
mov ecx, dword [esp + 0x60]
push esi
push dword [esp + 0x10]
call fcn.00465a80
cmp eax, 0xffffffff
je 0x4996f6
or esi, 4
mov dword [esp + 0x104], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x60]
push 0x34
lea eax, [esp + 0xe4]
push eax
push 0
push dword [esp + 0x2c]
call fcn.004dcc10
cmp eax, 0x34
sete al
mov edi, eax
jmp 0x4996f8
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x587
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.0053ff10
xor edi, edi
cmp dword [esp + 0xc], 0
je 0x499054
push dword [esp + 0xc]
call fcn.0050d52e
add esp, 4
jmp 0x499054
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
jmp 0x4996ec
call fcn.00522670
call fcn.0053f4b0
int3