Function at 0x140009738
Capabilities:
Create process memory minidump
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rdi, rcx
lea rbx, [0x14009d600]
xor r14d, r14d
lea rcx, [rbp - 0x59]
mov r13d, reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x49], r14
mov rdx, rbx
mov qword [rbp - 0x41], r13
xor r8d, r8d
mov byte [rbp - 0x59], r14b
call fcn.140004d8c
xor r8d, r8d
mov qword [rbp - 1], r13
mov rdx, rbx
mov qword [rbp - 9], r14
lea rcx, [rbp - 0x19]
mov byte [rbp - 0x19], r14b
call fcn.140004d8c
xor r8d, r8d
mov qword [rbp - 0x61], r13
mov rdx, rbx
mov qword [rbp - 0x69], r14
lea rcx, [rbp - 0x79]
mov byte [rbp - 0x79], r14b
call fcn.140004d8c
xor r8d, r8d
mov qword [rbp + 0x1f], r13
mov rdx, rbx
mov qword [rbp + 0x17], r14
lea rcx, [rbp + 7]
mov byte [rbp + 7], r14b
call fcn.140004d8c
xor eax, eax
mov word [rbp - 0x39], r14w
lea rcx, [rbp + 0x27]
mov qword [rbp - 0x37], rax
mov dword [rbp - 0x2f], eax
mov word [rbp - 0x2b], ax
call fcn.14001f0e4
mov rbx, rax
lea r12d, [r13 - 0xe]
lea rax, [rbp - 0x59]
cmp rax, rbx
je 0x140009836
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14000981e
mov rcx, qword [rbp - 0x59]
inc rdx
mov r8d, r12d
call fcn.140004554
mov rdx, rbx
mov qword [rbp - 0x41], r13
lea rcx, [rbp - 0x59]
mov qword [rbp - 0x49], r14
mov byte [rbp - 0x59], r14b
call fcn.140004354
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14000984f
mov rcx, qword [rbp + 0x27]
inc rdx
mov r8, r12
call fcn.140004554
cmp qword [rbp - 0x41], 0x10
lea rcx, [rbp - 0x59]
cmovae rcx, qword [rbp - 0x59]
call fcn.14002132c
mov rbx, rax
cmp byte [rax], r14b
jne 0x14000986f
mov rax, r14
jmp 0x140009877
mov rcx, rbx
call fcn.140045e50
mov r8, rax
lea rcx, [rbp - 0x19]
mov rdx, rbx
call fcn.140004d8c
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, str.C:ProgramDatazclogexe.dmp
call fcn.140045e50
mov r8, rax
lea rdx, str.C:ProgramDatazclogexe.dmp
lea rcx, [rbp - 0x79]
call fcn.140004d8c
cmp qword [rbp - 0x61], 0x10
lea rcx, [rbp - 0x79]
cmovae rcx, qword [rbp - 0x79]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp qword [rbp - 0x61], 0x10
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x30], r14
mov edx, 0xc0000000
cmovae rcx, qword [rbp - 0x79]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
test rax, rax
je 0x140009965
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [rdx + 0x10]
call fcn.14003a5c0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rbp - 0x25], rdi
neg rdi
mov dword [rbp - 0x29], eax
lea rax, [rbp - 0x29]
sbb rdi, rdi
mov dword [rbp - 0x1d], r14d
and rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x30], r14
mov r9d, 2
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r8, rsi
mov qword [rsp + 0x20], rdi
mov edx, ebx
call sub.dbghelp.dll_MiniDumpWriteDump
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14000997e
mov rcx, qword [rbp + 7]
inc rdx
mov r8, r12
call fcn.140004554
mov rdx, qword [rbp - 0x61]
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x17], r14
mov byte [rbp + 7], r14b
cmp rdx, 0x10
jb 0x1400099a3
mov rcx, qword [rbp - 0x79]
inc rdx
mov r8, r12
call fcn.140004554
mov rdx, qword [rbp - 1]
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x69], r14
mov byte [rbp - 0x79], r14b
cmp rdx, 0x10
jb 0x1400099c8
mov rcx, qword [rbp - 0x19]
inc rdx
mov r8, r12
call fcn.140004554
mov rdx, qword [rbp - 0x41]
mov qword [rbp - 1], r13
mov qword [rbp - 9], r14
mov byte [rbp - 0x19], r14b
cmp rdx, 0x10
jb 0x1400099ed
mov rcx, qword [rbp - 0x59]
inc rdx
mov r8, r12
call fcn.140004554
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret