Function at 0x46685a
Capabilities:
Create process memory minidump
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x200
mov eax, dword [0x5599f4]
mov edi, ecx
lea esi, [esp + 0x2c]
xor eax, ebp
mov dword [esp + 0x1f8], eax
lea eax, [edi + 0x10]
push eax
push esi
call fcn.0047ee84
add esp, 8
mov ecx, dword [esi]
test ecx, ecx
je 0x4668ab
lea eax, [esp + 0x28]
mov dword [eax], 0
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test eax, eax
je 0x4668b2
xor ebx, ebx
jmp 0x4671ed
xor ebx, ebx
jmp 0x4671fb
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.004817b8
mov eax, dword [edi + 8]
mov dword [esp + 4], edi
lea esi, [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
lea edi, [esp + 0xf0]
mov dword [esi], str.Win32
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
push ebx
push str.prod
call fcn.004673a6
lea ecx, [esp + 0x120]
push dword [ebp + 0xc]
push 0x516e46
call fcn.004673a6
lea ecx, [esp + 0x150]
push dword [ebp + 0x10]
push 0x516e4a
call fcn.004673a6
lea ecx, [esp + 0x180]
push esi
push str.plat
call fcn.004673ec
lea ecx, [esp + 0x1b0]
push dword [ebp + 0x14]
push 0x516df1
call fcn.004673a6
lea eax, [esp + 0x1e0]
lea ecx, [esp + 8]
push eax
push edi
call fcn.00467452
lea esi, [esp + 0x1c8]
mov edi, 0xffffff10
mov ecx, esi
call fcn.00401ae0
lea ecx, [esi - 0x18]
call fcn.00401ae0
add esi, 0xffffffd0
add edi, 0x30
jne 0x46696a
mov ecx, dword [esp + 4]
xor ebx, ebx
lea edi, [esp + 0x94]
mov esi, 0x2c
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], ebx
mov dword [edi], esi
call fcn.0041b1e0
push esi
push edi
push eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
lea ecx, [esp + 0xf0]
test eax, eax
mov esi, ecx
je 0x466b6c
mov eax, dword [esp + 0xbc]
lea edi, [esp + 0xc8]
shr eax, 0xc
push ebx
push eax
push edi
call fcn.0041ca40
add esp, 0xc
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd xmm2, qword [edi + 0x10]
mov eax, 0xf
lea esi, [esp + 0xf4]
mov dword [edi + 0x10], ebx
lea ecx, [esp + 8]
mov dword [edi + 0x14], eax
lea eax, [esp + 0xf0]
mov dword [esi - 4], 0x516e62
mov byte [edi], bl
movsd qword [esi], xmm0
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 8], xmm1
push eax
call fcn.00467494
lea edx, [esp + 0x1e0]
lea ecx, [esp + 8]
push eax
add eax, 0x10
push eax
push ebx
push edx
call fcn.00452e50
mov ecx, esi
call fcn.00401ae0
mov ecx, edi
call fcn.00401ae0
mov eax, dword [esp + 0x9c]
shr eax, 0xc
push ebx
push eax
push edi
call fcn.0041ca40
add esp, 0xc
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd xmm2, qword [edi + 0x10]
lea eax, [esp + 0xf4]
mov dword [esi - 4], 0x516e76
lea esi, [esp + 8]
mov dword [edi + 0x10], ebx
mov ecx, esi
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm2
movsd qword [eax + 8], xmm1
mov eax, 0xf
mov dword [edi + 0x14], eax
lea eax, [esp + 0xf0]
mov byte [edi], bl
push eax
call fcn.00467494
mov ecx, esi
push eax
add eax, 0x10
push eax
push ebx
lea eax, [esp + 0x1ec]
push eax
call fcn.00452e50
lea esi, [esp + 0xf4]
mov ecx, esi
call fcn.00401ae0
mov ecx, edi
call fcn.00401ae0
mov eax, dword [esp + 0xb8]
shr eax, 0xc
push ebx
push eax
push edi
call fcn.0041ca40
add esp, 0xc
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd xmm2, qword [edi + 0x10]
mov eax, 0xf
mov dword [esi - 4], 0x516e90
lea esi, [esp + 0xf4]
mov dword [edi + 0x10], ebx
lea ecx, [esp + 8]
mov dword [edi + 0x14], eax
lea eax, [esp + 0xf0]
mov byte [edi], bl
movsd qword [esi], xmm0
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 8], xmm1
push eax
call fcn.00467494
lea ecx, [esp + 8]
push eax
add eax, 0x10
push eax
push ebx
lea eax, [esp + 0x1ec]
push eax
call fcn.00452e50
mov ecx, esi
lea esi, [esp + 0xf0]
call fcn.00401ae0
mov ecx, edi
call fcn.00401ae0
mov eax, 0x38
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0xf0], eax
push eax
push esi
call sub.PSAPI.DLL_GetPerformanceInfo
test eax, eax
mov edi, esi
je 0x466cf3
mov eax, dword [esp + 0xf8]
lea esi, [esp + 0x1e0]
sub eax, dword [esp + 0xf4]
push eax
push esi
call fcn.0041c8a0
add esp, 8
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd xmm2, qword [esi + 0x10]
xor ecx, ecx
mov eax, 0xf
lea ebx, [esp + 0xcc]
lea edi, [esp + 8]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [esp + 0xc8]
mov dword [ebx - 4], 0x516ea9
mov byte [esi], cl
mov ecx, edi
movsd qword [ebx], xmm0
movsd qword [ebx + 0x10], xmm2
movsd qword [ebx + 8], xmm1
push eax
call fcn.00467494
lea edx, [esp + 0x30]
mov ecx, edi
push eax
add eax, 0x10
push eax
xor eax, eax
push eax
push edx
call fcn.00452e50
mov ecx, ebx
call fcn.00401ae0
mov ecx, esi
call fcn.00401ae0
push dword [esp + 0xf8]
push esi
call fcn.0041c8a0
add esp, 8
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd xmm2, qword [esi + 0x10]
lea edx, [esp + 0xc8]
xor eax, eax
lea ebx, [esp + 0xcc]
mov ecx, 0xf
mov dword [edx], str.SystemCommitLimit
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov byte [esi], al
mov ecx, edi
movsd qword [ebx], xmm0
movsd qword [ebx + 0x10], xmm2
movsd qword [ebx + 8], xmm1
push edx
lea edi, [esp + 0xf4]
call fcn.00467494
lea ecx, [esp + 8]
push eax
add eax, 0x10
push eax
xor eax, eax
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00452e50
mov ecx, ebx
call fcn.00401ae0
mov ecx, esi
call fcn.00401ae0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x466d0f
lea edx, [esp + 0x84]
mov ecx, eax
push edx
call fcn.00481a2a
lea esi, [esp + 0x1e0]
mov ecx, esi
call fcn.004103c0
push esi
call fcn.0042db80
add esp, 4
test al, al
je 0x466f0a
lea ebx, [esp + 0xc8]
mov ecx, ebx
push 0x2061
push esi
call fcn.0041d250
mov ecx, ebx
call fcn.0041d430
test al, al
je 0x4671af
mov esi, dword [ebp + 0x10]
mov ecx, esi
push 0
push str.canary
call fcn.00402e68
test eax, eax
je 0x466d7d
mov ecx, esi
push 0
push 0x516e5e
call fcn.00402e68
mov ecx, 0x1920
test eax, eax
jne 0x466d82
mov ecx, 0x1960
movsd xmm0, qword [esp + 0x84]
movsd xmm1, qword [esp + 0x8c]
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], edx
lea edx, [esp + 0x94]
mov dword [esp + 0x94], ecx
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
lea eax, [esp + 0x54]
mov dword [eax], 0x43500001
mov dword [eax + 4], 0x34
mov dword [eax + 8], edx
lea edx, [esp + 0x4c]
mov dword [edx], ecx
lea ecx, [esp + 0xc8]
mov dword [edx + 4], eax
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xa0], xmm1
call fcn.0041d440
mov edi, dword [esp + 4]
mov esi, eax
mov ecx, edi
call fcn.0041b1f0
mov ecx, edi
mov ebx, eax
call fcn.0041b1e0
xor edx, edx
lea ecx, [esp + 0x14]
push edx
lea edx, [esp + 0x50]
push edx
push ecx
push dword [esp + 0xc]
push esi
push ebx
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
test eax, eax
je 0x467366
xorps xmm0, xmm0
mov esi, 0x20
lea ecx, [esp + 0xc8]
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
push esi
lea edi, [esp + 0xf4]
push edi
xor eax, eax
push eax
push eax
call fcn.0041d590
cmp eax, esi
jne 0x4671a6
cmp dword [esp + 0xf0], 0x504d444d
jne 0x4671a6
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x4671a6
lea ebx, [esp + 0x34]
mov ecx, ebx
push ebx
push eax
call fcn.00467524
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0xc8]
shl eax, 2
lea esi, [eax + eax*2]
push esi
push dword [ebx]
push 0
push dword [esp + 0x108]
call fcn.0041d590
cmp eax, esi
jne 0x4671a6
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp ebx, esi
je 0x466f64
cmp dword [ebx], 0
je 0x466f11
add ebx, 0xc
cmp esi, ebx
jne 0x466efc
jmp 0x466f64
xor ebx, ebx
jmp 0x4671bd
cmp esi, ebx
je 0x466f64
lea eax, [esi - 0xc]
cmp eax, ebx
je 0x466f42
lea eax, [ebx + 0xc]
cmp dword [eax], 0
je 0x466f35
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
movsd xmm0, qword [eax]
movsd qword [ebx], xmm0
add ebx, 0xc
add eax, 0xc
cmp esi, eax
jne 0x466f1f
mov edi, dword [esp + 0x38]
jmp 0x466f44
mov edi, esi
cmp ebx, esi
je 0x466f5b
sub edi, esi
push edi
push esi
push ebx
call fcn.004d75c0
add esp, 0xc
add edi, ebx
mov dword [esp + 0x38], edi
mov esi, edi
lea edi, [esp + 0xf0]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xf4], 0xa793
sub esi, eax
mov ecx, esi
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0xc8]
push esi
push eax
push 0
push dword [esp + 0x108]
call fcn.0041d6f0
cmp eax, esi
jne 0x4671a6
lea esi, [esp + 0xc8]
mov edi, 0x20
xor eax, eax
mov ecx, esi
push edi
lea edx, [esp + 0xf4]
push edx
push eax
push eax
call fcn.0041d6f0
cmp eax, edi
lea edi, [esp + 0xf0]
jne 0x4671a6
mov dword [esp + 0x30], esi
xorps xmm0, xmm0
mov dword [esp + 0x120], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
cmp eax, ecx
je 0x4671a6
cmp dword [eax], 0x43500001
je 0x467023
add eax, 0xc
cmp ecx, eax
jne 0x46700f
jmp 0x4671a6
cmp dword [eax + 4], 0x34
jne 0x4671a6
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 4], eax
je 0x4671a6
mov esi, 0x34
lea ecx, [esp + 0xc8]
push esi
push edi
push 0
push dword [esp + 0x10]
call fcn.0041d590
cmp eax, esi
jne 0x4671a6
cmp dword [esp + 0xf0], 1
jne 0x4671a6
mov ecx, dword [esp + 0x30]
xor eax, eax
push eax
push eax
push 2
call fcn.0041d4e0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4671a6
mov edi, dword [esp + 8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov esi, dword [edi]
cmp esi, edi
mov dword [esp + 0x74], esi
je 0x467215
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
cmp dword [esi + 0x38], eax
je 0x467187
mov dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x64], eax
push 4
lea eax, [esp + 0x68]
push eax
call fcn.0041d7a0
cmp eax, 0xffffffff
je 0x467354
mov ecx, dword [esp + 0x64]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov dword [esp], ecx
jb 0x4670f3
mov eax, dword [eax]
cmp dword [esp], 0
js 0x467354
mov ecx, dword [esp + 0x30]
push dword [esp]
push eax
call fcn.0041d7a0
cmp eax, 0xffffffff
je 0x467354
add ebx, 4
mov ecx, dword [esp + 0x30]
add ebx, dword [esp]
mov dword [esp + 0x6c], ebx
mov eax, dword [esi + 0x38]
mov dword [esp + 0x60], eax
mov eax, 4
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0041d7a0
cmp eax, 0xffffffff
je 0x467354
mov ecx, dword [esp + 0x60]
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
mov dword [esp], ecx
jb 0x467153
mov eax, dword [eax]
cmp dword [esp], 0
js 0x467354
mov ecx, dword [esp + 0x30]
push dword [esp]
push eax
call fcn.0041d7a0
cmp eax, 0xffffffff
je 0x467354
add ebx, 4
lea eax, [esp + 0x68]
lea ecx, [esp + 0x78]
add ebx, dword [esp]
push eax
call fcn.004bcea8
lea ecx, [esp + 0x74]
call fcn.004c66b0
mov esi, dword [esp + 0x74]
cmp esi, edi
jne 0x4670aa
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
jmp 0x467217
lea ecx, [esp + 0x34]
call fcn.004c2ea2
xor ebx, ebx
lea ecx, [esp + 0xc8]
call fcn.0041d390
lea ecx, [esp + 0x1e0]
call fcn.00401930
lea esi, [esp + 8]
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
push edi
call fcn.00452070
push dword [esi]
call fcn.004d4c09
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004817ca
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4671fb
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x1f8]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x68]
sar eax, 3
mov dword [edx], eax
push 4
push edx
call fcn.0041d7a0
cmp eax, 0xffffffff
je 0x467354
mov esi, dword [esp + 0x68]
shl esi, 3
test esi, esi
js 0x467354
mov ecx, dword [esp + 0x30]
push esi
push dword [esp + 0x7c]
call fcn.0041d7a0
cmp eax, 0xffffffff
je 0x467354
mov ecx, dword [esp + 0x30]
or esi, 4
mov eax, 0x34
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], ebx
push eax
lea edi, [esp + 0xf4]
push edi
push 0
push dword [esp + 0x10]
call fcn.0041d6f0
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.004cf754
lea ecx, [esp + 0x34]
call fcn.004c2ea2
mov eax, 0x34
xor ebx, ebx
cmp esi, eax
jne 0x4671b1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xc8]
mov esi, dword [eax]
push ebx
push ebx
push ebx
call fcn.0041d4e0
not eax
or eax, edx
je 0x4671b1
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
push edi
push 0x400
call fcn.0040523e
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
lea ecx, [esp + 0xc8]
sub edx, eax
push edx
push eax
call fcn.0041d650
mov edi, eax
cmp edi, 0xffffffff
je 0x467346
test edi, edi
je 0x467374
mov dword [esp + 0x94], ebx
push ebx
lea eax, [esp + 0x98]
push eax
push edi
push dword [esp + 0xfc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x467346
cmp dword [esp + 0x94], edi
je 0x4672f1
lea ecx, [esp + 0xf0]
call fcn.0040344c
jmp 0x467366
lea ecx, [esp + 0x78]
call fcn.004cf754
lea ecx, [esp + 0x34]
call fcn.004c2ea2
xor ebx, ebx
lea edi, [esp + 0xf0]
jmp 0x4671b1
lea esi, [esp + 0xf0]
mov ecx, esi
call fcn.0040344c
lea ecx, [esp + 0x20]
call fcn.004817de
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
movaps xmmword [esi], xmm0
mov eax, dword [ecx]
push esi
push dword [esp + 0x2c]
call dword [eax + 0xc]
test eax, eax
sete bl
jmp 0x467368