Function at 0x4680b0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6180
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3080
call fcn.0059ad30
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2058], esi
mov eax, dword [ebx + 8]
lea edi, [esi + 0xa4]
mov dword [ebp - 0x2054], eax
mov eax, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2088], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [esi + 0x7c], 0
jne 0x46819c
movq xmm0, qword [str.dump]
mov eax, dword [0x629468]
mov dword [ebp - 0x203c], 0x45343432
mov ecx, dword [ebp - 0x203c]
movq qword [ebp - 0x2084], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x207c], eax
mov dword [ebp - 0x2074], ecx
lea ecx, [ebp - 0x2084]
mov dword [ebp - 0x2040], 0x42313636
mov eax, dword [ebp - 0x2040]
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x2070], 0x1c3
movups xmmword [ebp - 0x206c], xmm0
mov dword [ebp - 0x205c], 0
call fcn.00469610
cmp dword [esi + 0x80], 7
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2034], eax
lea eax, [esi + 0x6c]
mov dword [ebp - 0x2050], eax
jbe 0x4681bf
mov eax, dword [eax]
mov dword [ebp - 0x2050], eax
push 0x20a
lea eax, [esi + 0x124]
push 0
push eax
call fcn.0059bcc0
add esp, 0xc
lea eax, [esi + 0x124]
cmp dword [ebp - 0x18], 0
push dword [ebp - 0x2050]
je 0x4681fa
push 0x104
push eax
call fcn.005af2b1
add esp, 0xc
push dword [ebp - 0x18]
jmp 0x468269
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x20a
lea eax, [esi + 0x32e]
push 0
push eax
call fcn.0059bcc0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x2034]
mov eax, ecx
shr eax, 3
test al, 1
je 0x468237
mov eax, str.unp_u_ux_kernel_manual.dmp
jmp 0x468247
test cl, 1
mov eax, str.unp_u_ui_manual.mdmp
mov ecx, str.unp_u_ui_unhandled.mdmp
cmove eax, ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
lea eax, [esi + 0x32e]
push 0x104
push eax
call fcn.00422c20
add esp, 0x14
lea eax, [esi + 0x32e]
push eax
lea eax, [esi + 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esi + 0x80], 7
lea eax, [esi + 0x6c]
jbe 0x468284
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x4682f2
sub esp, 8
lea eax, [ecx + 2]
mov edx, esp
mov dword [ebp - 0x2034], eax
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4682a4
sub ecx, dword [ebp - 0x2034]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x204c]
call fcn.00467460
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x4682d0
mov eax, dword [eax]
push eax
lea eax, [esi + 0x538]
push 0x105
push eax
call fcn.005af2b1
add esp, 0xc
lea ecx, [ebp - 0x204c]
call fcn.00428f30
jmp 0x46831c
cmp dword [esi + 0x64], 0
je 0x46867e
cmp dword [esi + 0x68], 7
lea eax, [esi + 0x54]
jbe 0x468307
mov eax, dword [eax]
push eax
lea eax, [esi + 0x538]
push 0x105
push eax
call fcn.005af2b1
add esp, 0xc
push 0x1002
lea eax, [ebp - 0x1028]
push 0
push eax
call fcn.0059bcc0
mov eax, dword [ebx + 0x10]
add esp, 0xc
test eax, eax
je 0x468367
xor ecx, ecx
cmp word [eax], cx
je 0x468367
cmp ecx, 0x800
jae 0x468367
movzx edx, word [eax]
cmp edx, 0x22
jne 0x468355
mov edx, 0x27
add eax, 2
mov word [ebp + ecx*2 - 0x1028], dx
inc ecx
cmp word [eax], 0
jne 0x468340
push 0x1002
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x3090]
push eax
call fcn.0059b740
add esp, 0xc
lea eax, [ebp - 0x3090]
push 0x1002
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0059b740
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov ecx, eax
shr ecx, 6
test cl, 1
je 0x4683b1
mov ecx, 0x20
jmp 0x4683c6
mov ecx, eax
mov edx, 0x10
shr ecx, 7
test cl, 1
mov ecx, 0x15
cmovne ecx, edx
shr eax, 5
mov esi, ecx
or esi, 2
test al, 1
mov eax, dword [ebp - 0x2058]
cmove esi, ecx
mov edx, dword [eax + 0x44]
test edx, edx
je 0x4683f7
mov eax, dword [eax + 0x50]
mov ecx, 1
cmp edx, ecx
cmovg ecx, edx
cdq
idiv ecx
test edx, edx
jne 0x4683f7
or esi, 2
mov dword [ebp - 0x18], 0x8000400
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebx + 0x1c], eax
jne 0x468413
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
jmp 0x468415
xor edx, edx
mov ecx, dword [ebp - 0x2058]
test byte [ebx + 0x14], 4
mov dword [ebp - 0x2034], 0
lea eax, [ecx + 0x538]
mov dword [ebp - 0x2050], eax
mov eax, 0x3c
cmovne eax, dword [ebp - 0x2034]
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ecx + 0x124]
push eax
push esi
push edx
push dword [ebp - 0x2054]
lea eax, [ecx + 0x538]
push dword [ebx + 0x1c]
push eax
lea eax, [ecx + 0x742]
push str.__s____pid__d___exception_ptr__p___thread_id__d___dump_level__d___dump_file___s____comment___s____min_interval__d
push eax
call fcn.004696c0
mov esi, dword [ebp - 0x2058]
push 0x48
push 0
lea eax, [esi + 0xcc]
push eax
call fcn.0059bcc0
lea ecx, [esi + 0xcc]
add esp, 0x34
mov dword [ecx], 0x44
mov eax, dword [esi + 0xbc]
cmp eax, dword [esi + 0xc0]
je 0x4684b9
mov dword [ecx], 0x48
mov dword [ebp - 0x18], 0x80c0400
mov dword [esi + 0x110], eax
lea eax, [esi + 0x114]
xorps xmm0, xmm0
push eax
push ecx
push 0
push 0
push dword [ebp - 0x18]
movups xmmword [eax], xmm0
push 0
push 0
push 0
lea eax, [esi + 0x742]
push eax
lea eax, [esi + 0x538]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46858d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [str.dump]
mov edx, dword [ebp - 0x2050]
mov dword [ebp - 0x2054], eax
mov eax, dword [0x629468]
mov dword [ebp - 0x207c], eax
mov dword [ebp - 0x2040], 0x42313636
mov eax, dword [ebp - 0x2040]
mov dword [ebp - 0x2078], eax
lea eax, [ebp - 0x2054]
push eax
mov dword [ebp - 0x203c], 0x45343432
mov ecx, dword [ebp - 0x203c]
movq qword [ebp - 0x2084], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x2074], ecx
lea ecx, [ebp - 0x2084]
push 0x37
push str.Failed_to_start_process_dumper_at__due_to_error:_
mov dword [ebp - 0x2070], 0x1f8
movups xmmword [ebp - 0x206c], xmm0
mov dword [ebp - 0x205c], 0
call fcn.004696e0
add esp, 0xc
mov esi, 7
jmp 0x468700
push 0xffffffffffffffff
push dword [esi + 0x114]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [esi + 0x114]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x468650
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x2054]
mov dword [ebp - 0x2054], eax
mov eax, dword [0x629468]
mov dword [ebp - 0x203c], 0x45343432
mov ecx, dword [ebp - 0x203c]
movq qword [ebp - 0x2084], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x207c], eax
mov dword [ebp - 0x2074], ecx
lea ecx, [ebp - 0x2084]
push 0x36
mov dword [ebp - 0x2040], 0x42313636
mov eax, dword [ebp - 0x2040]
push str.Failed_to_get_exit_code_from_dumper_process__error:_
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x2070], 0x202
movups xmmword [ebp - 0x206c], xmm0
mov dword [ebp - 0x205c], 0
call fcn.0043cda0
add esp, 8
mov esi, 7
jmp 0x468700
cmp dword [ebp - 0x20], 0
jne 0x468663
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1f58]
call fcn.00461440
cmp byte [esi + 0x42], 0
je 0x468676
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1f68]
call fcn.00461440
mov esi, dword [ebp - 0x20]
jmp 0x468700
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x2084]
mov eax, dword [0x629468]
mov dword [ebp - 0x203c], 0x45343432
mov ecx, dword [ebp - 0x203c]
movq qword [ebp - 0x2084], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x207c], eax
mov dword [ebp - 0x2074], ecx
mov ecx, 7
mov dword [ebp - 0x2040], 0x42313636
mov eax, dword [ebp - 0x2040]
push str.Process_dumper_path_was_not_set
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x2070], 0x1d5
movups xmmword [ebp - 0x206c], xmm0
mov dword [ebp - 0x205c], 0
call fcn.0040b2a0
add esp, 4
mov esi, 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18