Function at 0x5af564
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov eax, dword [ebp + 0x18]
mov ecx, dword [0x7024bc]
xor ecx, ebp
mov dword [esi + 0x128], ecx
lea edi, [esi + 0x5c]
mov dword [edi], 0xffffffff
push eax
push edi
call fcn.005ade0c
add esp, 8
mov ecx, dword [edi]
test ecx, ecx
je 0x5af5b9
lea eax, [esi + 0x58]
mov dword [eax], 0
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test eax, eax
je 0x5af5c7
xor ebx, ebx
jmp 0x5afbfd
mov dword [esi + 0x5c], 0
xor ebx, ebx
jmp 0x5afc2f
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xa0], xmm0
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x5af5ed
lea edx, [esi + 0xa0]
mov ecx, eax
push edx
call fcn.005ae7bc
xor eax, eax
dec eax
lea edi, [esi + 0x4c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.00495680
push edi
call fcn.004980e0
add esp, 4
test al, al
je 0x5af763
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x30]
movdqu xmmword [ebx + 0xc], xmm0
movdqa xmmword [ebx], xmm0
mov ecx, ebx
push 0x2061
push edi
call fcn.00495350
mov ecx, ebx
call fcn.004b6ed0
test al, al
je 0x5afbeb
mov eax, dword [esi + 0x58]
pxor xmm0, xmm0
lea ecx, [esi + 0xbc]
movdqu xmmword [ecx + 0x24], xmm0
xor edx, edx
inc edx
mov dword [ecx], edx
movaps xmm0, xmmword [esi + 0xa0]
movups xmmword [ecx + 0x14], xmm0
movdqu xmm0, xmmword [eax + 0x34]
movdqu xmmword [ecx + 4], xmm0
lea eax, [esi + 0x80]
mov dword [eax], 0x43500001
mov dword [eax + 4], 0x34
mov dword [eax + 8], ecx
lea ecx, [esi + 0x78]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x30]
call fcn.004b6ee0
mov ebx, eax
mov ecx, edi
call fcn.004b9140
mov edi, eax
mov ecx, dword [ebp + 8]
call fcn.004b9120
push 0
lea ecx, [esi + 0x78]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push edi
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
test eax, eax
je 0x5afbeb
pxor xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
lea edx, [esi + 0xf0]
movdqa xmmword [edx + 0x10], xmm0
movdqa xmmword [edx], xmm0
xor eax, eax
lea ecx, [esi + 0x30]
push 0x20
push edx
push eax
push eax
call fcn.004b7110
cmp eax, 0x20
jne 0x5afb06
cmp dword [esi + 0xf0], 0x504d444d
jne 0x5afb06
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x5afb06
lea edi, [esi + 0x64]
mov ecx, edi
push eax
call fcn.005afcea
mov eax, dword [esi + 0xf8]
shl eax, 2
lea ebx, [eax + eax*2]
lea ecx, [esi + 0x30]
push ebx
push dword [edi]
push 0
push dword [esi + 0xfc]
call fcn.004b7110
cmp eax, ebx
lea ebx, [esi + 0xf0]
jne 0x5afb06
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x68]
cmp eax, edi
je 0x5af76a
cmp dword [eax], 0
je 0x5af76a
add eax, 0xc
cmp edi, eax
jne 0x5af753
mov eax, edi
jmp 0x5af795
xor ebx, ebx
jmp 0x5afbf5
cmp eax, edi
je 0x5af795
lea ecx, [eax + 0xc]
cmp ecx, edi
je 0x5af795
cmp dword [ecx], 0
je 0x5af78b
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
movq xmm0, qword [ecx]
movq qword [eax], xmm0
add eax, 0xc
add ecx, 0xc
cmp edi, ecx
jne 0x5af775
mov edi, dword [esi + 0x68]
cmp edi, eax
je 0x5af79e
mov dword [esi + 0x68], eax
mov edi, eax
mov dword [esi + 0xf4], 0xa793
mov eax, dword [esi + 0x64]
sub edi, eax
mov ecx, edi
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0xf8], ecx
lea ecx, [esi + 0x30]
push edi
push eax
push 0
push dword [esi + 0xfc]
call fcn.004b7350
cmp eax, edi
jne 0x5afb06
xor eax, eax
lea edi, [esi + 0x30]
mov ecx, edi
push 0x20
push ebx
push eax
push eax
call fcn.004b7350
cmp eax, 0x20
jne 0x5afb06
mov dword [esi + 0x60], edi
pxor xmm0, xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
mov dword [esi + 0x120], 0
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp eax, ecx
je 0x5afb06
mov edi, dword [ebp + 0x14]
cmp dword [eax], 0x43500001
je 0x5af840
add eax, 0xc
cmp ecx, eax
jne 0x5af82c
jmp 0x5afb06
cmp dword [eax + 4], 0x34
jne 0x5afb06
mov eax, dword [eax + 8]
test eax, eax
je 0x5afb06
lea ecx, [esi + 0x30]
push 0x34
push ebx
push 0
mov dword [esi + 0x2c], eax
push eax
call fcn.004b7110
cmp eax, 0x34
jne 0x5afb06
xor edx, edx
cmp dword [esi + 0xf0], 1
jne 0x5afb08
mov ecx, dword [esi + 0x60]
push edx
push edx
push 2
call fcn.004b6ff0
mov dword [esi + 0xc], eax
and eax, edx
cmp eax, 0xffffffff
je 0x5afb06
test edx, edx
mov edx, 0
jg 0x5afb08
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov ecx, edi
mov edi, dword [edi]
add ecx, 4
mov dword [esi + 0x28], ecx
cmp ecx, edi
je 0x5afc46
movzx eax, byte [edi + 0x27]
test al, al
jns 0x5af8d6
mov eax, dword [edi + 0x20]
test eax, eax
je 0x5afac3
mov dword [esi + 0x90], 0xffffffff
movzx eax, byte [edi + 0x1b]
test al, al
jns 0x5af8f3
mov eax, dword [edi + 0x14]
mov dword [esi + 0x90], eax
mov ecx, dword [esi + 0x60]
push 4
lea eax, [esi + 0x90]
push eax
call fcn.004b7460
cmp eax, 0xffffffff
je 0x5afcb8
lea eax, [edi + 0x10]
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x10], ecx
cmp byte [eax + 0xb], 0
jns 0x5af927
mov eax, dword [eax]
cmp dword [esi + 0x10], 0
js 0x5afcb8
mov ecx, dword [esi + 0x60]
push dword [esi + 0x10]
push eax
call fcn.004b7460
cmp eax, 0xffffffff
je 0x5afcb8
lea ebx, [edi + 0x1c]
mov dword [esi + 0x8c], 0xffffffff
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x5af95e
mov eax, dword [edi + 0x20]
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0x60]
push 4
lea eax, [esi + 0x8c]
push eax
call fcn.004b7460
cmp eax, 0xffffffff
je 0x5afcb8
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x1c], eax
cmp byte [ebx + 0xb], 0
jns 0x5af98f
mov ebx, dword [ebx]
cmp dword [esi + 0x1c], 0
js 0x5afcb8
mov ecx, dword [esi + 0x60]
push dword [esi + 0x1c]
push ebx
call fcn.004b7460
cmp eax, 0xffffffff
je 0x5afcb8
mov eax, dword [esi + 0xc]
add eax, 4
add eax, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x9c]
mov ecx, eax
cmp eax, edx
je 0x5af9e5
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
add ecx, 8
mov dword [esi + 0x98], ecx
jmp 0x5afab7
mov eax, dword [esi + 0x94]
mov dword [esi + 0x18], eax
sub ecx, eax
mov dword [esi + 0x20], ecx
sar ecx, 3
mov eax, ecx
mov dword [esi + 0x24], ecx
lea eax, [ecx + 1]
cmp eax, 0x20000000
jae 0x5afcda
mov ebx, edx
sub ebx, dword [esi + 0x18]
mov ecx, ebx
sar ecx, 3
sar ebx, 2
cmp ebx, eax
cmovb ebx, eax
cmp ecx, 0xfffffff
mov eax, 0x1fffffff
cmovae ebx, eax
mov eax, ebx
mov dword [esi + 0x14], ebx
test ebx, ebx
je 0x5afa56
cmp dword [esi + 0x14], 0x20000000
jae 0x5afce5
mov eax, dword [esi + 0x14]
lea eax, [eax*8]
push eax
call fcn.0064173e
add esp, 4
mov ebx, eax
jmp 0x5afa58
xor ebx, ebx
mov eax, dword [esi + 0x24]
lea ecx, [ebx + eax*8]
add ecx, 8
mov eax, dword [esi + 0xc]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x14]
lea eax, [ebx + eax*8]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], ecx
mov dword [ecx - 4], eax
cmp dword [esi + 0x20], 0
jle 0x5afa8e
push dword [esi + 0x20]
push dword [esi + 0x18]
push ebx
call fcn.006452d0
add esp, 0xc
mov dword [esi + 0x94], ebx
mov eax, dword [esi + 0xc]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x9c], eax
cmp dword [esi + 0x18], 0
je 0x5afab7
push dword [esi + 0x18]
call fcn.006417be
add esp, 4
mov ebx, dword [esi + 0x10]
add ebx, 4
add ebx, dword [esi + 0x1c]
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5afad4
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5afaca
jmp 0x5afaea
mov eax, dword [edi + 8]
cmp dword [eax], edi
je 0x5afaea
add edi, 8
mov ecx, dword [edi]
lea edi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x5afade
mov edi, eax
cmp dword [esi + 0x28], eax
jne 0x5af8cb
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
jmp 0x5afc48
xor edx, edx
mov eax, dword [esi + 0x64]
test eax, eax
je 0x5afb1f
mov dword [esi + 0x68], eax
push eax
mov edi, edx
call fcn.006417be
mov edx, edi
add esp, 4
xor ebx, ebx
test dl, dl
je 0x5afbed
mov eax, dword [esi + 0x58]
mov edi, dword [eax]
lea ecx, [esi + 0x30]
push ebx
push ebx
push ebx
call fcn.004b6ff0
and edx, eax
cmp edx, 0xffffffff
je 0x5afbed
xor eax, eax
lea ecx, [esi + 0xf0]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0x400
call fcn.00429dd8
lea ebx, [esi + 0x30]
mov eax, dword [esi + 0xf0]
mov edx, dword [esi + 0xf4]
sub edx, eax
mov ecx, ebx
push edx
push eax
call fcn.004b7240
test eax, eax
js 0x5afb90
je 0x5afb94
mov edx, dword [edi]
mov ecx, edi
push eax
push dword [esi + 0xf0]
call dword [edx + 4]
test al, al
jne 0x5afb61
xor ebx, ebx
jmp 0x5afb96
mov bl, 1
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5afbaf
mov dword [esi + 0xf4], eax
push eax
call fcn.006417be
add esp, 4
test bl, bl
je 0x5afbeb
mov edi, esp
pxor xmm0, xmm0
movdqa xmmword [esi + 0xf0], xmm0
mov ecx, dword [esi + 0x5c]
push eax
push eax
mov eax, esp
mov edx, dword [esi + 0x58]
mov dword [esi + 0x58], 0
mov dword [eax], edx
lea edx, [esi + 0xf0]
mov dword [eax + 4], edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esp, edi
test eax, eax
sete bl
jmp 0x5afbed
xor ebx, ebx
lea ecx, [esi + 0x30]
call fcn.004954e0
lea ecx, [esi + 0x4c]
call fcn.00495790
mov edi, dword [esi + 0x58]
mov dword [esi + 0x58], 0
test edi, edi
je 0x5afc1b
mov ecx, edi
call fcn.005ede52
push edi
call fcn.006417be
add esp, 4
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x5c], 0
test ecx, ecx
je 0x5afc2f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x128]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
sub ecx, eax
sar ecx, 3
lea eax, [esi + 0x90]
mov dword [eax], ecx
mov ecx, dword [esi + 0x60]
push 4
push eax
call fcn.004b7460
cmp eax, 0xffffffff
je 0x5afcb8
mov edi, dword [esi + 0x90]
shl edi, 3
test edi, edi
js 0x5afcb8
mov ecx, dword [esi + 0x60]
push edi
push dword [esi + 0x94]
call fcn.004b7460
cmp eax, 0xffffffff
je 0x5afcb8
or edi, 4
mov dword [esi + 0x114], edi
mov eax, dword [esi + 0xc]
mov dword [esi + 0x118], eax
mov ecx, dword [esi + 0x60]
push 0x34
lea eax, [esi + 0xf0]
push eax
push 0
push dword [esi + 0x2c]
call fcn.004b7350
cmp eax, 0x34
sete al
mov edi, eax
jmp 0x5afcba
xor edi, edi
mov eax, dword [esi + 0x94]
test eax, eax
je 0x5afcd3
mov dword [esi + 0x98], eax
push eax
call fcn.006417be
add esp, 4
mov edx, edi
jmp 0x5afb08
lea ecx, [esi + 0x94]
call fcn.0048fe3c
call fcn.00656a75