joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095b40
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x140095bf4
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x140095bf6
cmp rbx, rcx
je 0x140095bf4
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x140095be3
jmp 0x140095bf6
xor ebx, ebx
test rbx, rbx
je 0x140095c66
mov rax, qword [rdx]
cmp r11, rbx
jne 0x140095c1b
cmp rax, rbx
jne 0x140095c11
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x140095c26
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x140095c26
cmp rax, rbx
jne 0x140095c26
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x60]
call fcn.140005600
lea rcx, [rbx + 0x30]
call fcn.140003c70
mov edx, 0xa0
mov rcx, rbx
call fcn.140099f0c
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140095d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140154040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.140099c90
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140096230]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140095d93
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140099c70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140096390
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
call fcn.1400975d0
mov qword [0x14020fc28], rax
test rax, rax
je 0x14009654c
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140096447
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140096447
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb09cd568
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140096442
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140096420
cmp r8d, 0x14380cf5
je 0x14009644c
test r9d, r9d
jne 0x140096400
mov rax, qword [rax]
jmp 0x1400963d0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x14020fc38]
mov rcx, qword [0x14020fc28]
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140096507
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140096507
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb59f1bde
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140096502
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400964e0
cmp r8d, 0x689484ab
je 0x14009650c
test r9d, r9d
jne 0x1400964c0
mov rax, qword [rax]
jmp 0x140096490
mov ecx, dword [rbx + 0x24]
lea r8, [0x14020fc38]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov r9d, 2
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
mov rcx, qword [0x14020fc28]
add rax, r10
call rax
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov byte [0x14020fb9a], 1
add rsp, 0x28
ret
Function at 0x140096f50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140096fe7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140096fe7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x339370dc
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140096fe2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140096fc0
cmp r8d, 0x66334ee2
je 0x140096fec
test r9d, r9d
jne 0x140096fa0
mov rax, qword [rax]
jmp 0x140096f70
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, qword [0x14020fc18]
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140097097
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140097097
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x3895b752
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140097092
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140097070
cmp r8d, 0xc1800f29
je 0x14009709c
test r9d, r9d
jne 0x140097050
mov rax, qword [rax]
jmp 0x140097020
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, qword [0x14020fbd8]
add rax, r10
mov rcx, qword [0x14020fc00]
call rax
mov rbx, qword [rsp + 0x30]
mov byte [0x14020fb9b], 0
mov byte [0x14020fb9a], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1400975d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140154040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov dword [rsp + 0x40], ecx
movabs rdx, 0x1c6261209c48431f
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0xad802311dfb6bde4
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140097680
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x1400976b2
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], di
jmp 0x1400976bc
lea r9, [rsp + 0x30]
call fcn.140098a70
mov qword [rsp + 0x68], rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140097756
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140097756
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x365e0e69
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140097751
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140097730
cmp r8d, 0x8fdcce41
je 0x14009775b
test r9d, r9d
jne 0x140097710
mov rax, qword [rax]
jmp 0x1400976e0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x40]
lea rcx, [0x1400972a0]
call r8
mov rbx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140032640
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140099c70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400986c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140154040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov ecx, 0x4000
call fcn.14009a3d0
mov rbp, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [r14 + 8]
sub rdi, qword [r14]
add rbx, rsi
cmp rsi, rbx
jae 0x140098809
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, 0x4000
mov rdx, rsi
mov rcx, qword [0x14020fc50]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400987f9
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x4000
mov r8, rbp
mov rdx, rsi
mov rcx, qword [0x14020fc50]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], r15
mov r9d, dword [rsp + 0x38]
mov r8d, 0x4000
mov rdx, rsi
mov rcx, qword [0x14020fc50]
test eax, eax
jne 0x140098797
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x1400987f9
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r10, r15
mov r11, qword [rsp + 0x30]
test r11, r11
je 0x1400987f9
nop word [rax + rax]
test rdi, rdi
je 0x1400987f1
mov rax, qword [r14]
mov r9, rbp
sub r9, rax
add r9, r10
mov r8, rax
neg r8
movzx ecx, byte [rax]
test cl, cl
je 0x1400987e5
cmp byte [r9 + rax], cl
jne 0x1400987f1
lea rdx, [r8 + rax]
lea rcx, [rdi - 1]
cmp rdx, rcx
je 0x140098879
inc rax
lea rcx, [r8 + rax]
cmp rcx, rdi
jb 0x1400987c7
inc r10
cmp r10, r11
jb 0x1400987b0
add rsi, 0x4000
cmp rsi, rbx
jb 0x140098720
mov rcx, rbp
call fcn.140099f0c
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140098856
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140098846
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400988d2
mov rcx, r8
call fcn.140099f0c
mov qword [r14], r15
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140099c70
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rbx, [r10 + rsi]
mov rcx, rbp
call fcn.140099f0c
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400988c6
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400988b6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400988cb
mov rcx, r8
call fcn.140099f0c
mov qword [r14], r15
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
mov rax, rbx
jmp 0x140098858
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14009967c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400996b6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400996bb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140099704
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400a0c10]
cmp byte [rcx + rax], 0
je 0x140099704
dec r8
sub rdx, 1
jne 0x1400996ea
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14009ab74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009abbe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009abbe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009abbe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009abbe
cmp dword [rcx + 0x84], 0xe
jbe 0x14009abbe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009abc0
xor al, al
add rsp, 0x28
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140013070
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001120d
Capabilities:
Execute syscall

Disassembly:
jmp 0x140011c10
mov r10, rcx
mov eax, 0x55
syscall
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400143c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400143e0
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400143f3
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001441d
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014431
xor al, al
jmp 0x140014461
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014443
xor al, al
jmp 0x140014461
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001445f
xor al, al
jmp 0x140014461
mov al, 1
add rsp, 0x38
ret
Function at 0x1400122b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a7
movzx eax, al
test eax, eax
jne 0x1400122d0
mov ecx, 7
call fcn.140011325
nop
mov byte [rsp + 0x20], 0
call fcn.140011339
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x1400122f4
mov ecx, 7
call fcn.140011325
nop
jmp 0x14001234c
cmp dword [0x14001e868], 0
jne 0x140012347
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012328
mov eax, 0xff
jmp 0x140012451
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132f
mov dword [0x14001e868], 2
jmp 0x14001234c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011311
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400123a9
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400123a9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400123dd
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400123dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011366
nop
call fcn.140012500
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x1400123fc
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001240b
call fcn.140011370
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140012451
add rsp, 0x68
ret
Function at 0x140001e80
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbp, qword [0x1400b5130]
xor edx, edx
lea rbx, [rsp + 0x40]
mov rsi, rcx
mov rax, qword [rbp]
mov qword [rsp + 0x68], rax
xor eax, eax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rax, [rbx + 0x10]
test rsi, rsi
mov qword [rsp + 0x40], rax
je 0x140001fc0
mov rcx, rsi
call sub.msvcrt.dll_wcslen
lea rdi, [rax + rax]
mov r9, rdi
sar r9, 1
cmp r9, 7
mov qword [rsp + 0x38], r9
ja 0x140001f70
cmp r9, 1
mov rcx, qword [rsp + 0x40]
je 0x140001fb0
test r9, r9
jne 0x140001f92
mov rdx, qword [str.pZ_v_]
xor r10d, r10d
mov qword [rsp + 0x48], r9
mov word [rcx + r9*2], r10w
mov ecx, 0x158
call fcn.1400aaa20
test rax, rax
mov rsi, rax
je 0x140001f41
lea r8, [0x140001e60]
mov dword [rsp + 0x28], 7
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call fcn.140008390
mov rcx, qword [rsp + 0x40]
add rbx, 0x10
cmp rcx, rbx
je 0x140001f54
call fcn.1400aa960
mov rdi, qword [rsp + 0x68]
xor rdi, qword [rbp]
mov rax, rsi
jne 0x140001fcc
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x38]
mov rcx, rbx
xor r8d, r8d
call fcn.14009acb0
mov rdx, qword [rsp + 0x38]
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdx
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
jmp 0x140001ef5
movzx r8d, word [rsi]
mov word [rcx], r8w
jmp 0x140001ef5
lea rcx, [0x1400af320]
call fcn.1400a3db0
call fcn.1400048e0
mov rdx, qword [str.pZ_v_]
mov rcx, rsi
mov rbp, rax
add rbx, 0x10
call fcn.1400aa970
mov rcx, qword [rsp + 0x40]
cmp rcx, rbx
je 0x140001ff6
call fcn.1400aa960
mov rcx, rbp
call fcn.140014760
nop
nop
Function at 0x140006960
Capabilities:
Terminate thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x98]
test rcx, rcx
je 0x14000697c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14000698e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsi + 0xc0]
test eax, eax
jne 0x140006a40
cmp qword [rsi + 0x18], 0
je 0x140006b5e
lock sub dword [0x1400db280], 1
je 0x140006ad0
mov rcx, qword [rsi + 0x140]
lea rdi, [rsi + 0x140]
cmp rdi, rcx
je 0x1400069e0
nop dword [rax + rax]
mov rbx, qword [rcx]
call fcn.1400aa960
cmp rdi, rbx
mov rcx, rbx
jne 0x1400069d0
mov rcx, qword [rsi + 0x60]
lea rax, [rsi + 0x70]
cmp rcx, rax
je 0x1400069f2
call fcn.1400aa960
mov rcx, qword [rsi + 0x40]
lea rax, [rsi + 0x50]
cmp rcx, rax
je 0x140006a04
call fcn.1400aa960
mov rcx, qword [rsi + 0x20]
lea rax, [rsi + 0x30]
cmp rcx, rax
je 0x140006a16
call fcn.1400aa960
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x140006ae2
mov rcx, rbx
call fcn.1400088f0
mov edx, 0x370
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400aa980
lea rcx, [0x1400db2a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rsi + 0xc0]
test al, 1
jne 0x140006b46
test al, 4
jne 0x140006b34
mov rbx, qword [0x1400db2d0]
mov r9, qword [rbx + 8]
cmp rsi, qword [r9 - 8]
je 0x140006b27
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.warning:_removing_Breakpad_handler_out_of_order_n
lea rcx, [rax + 0x60]
call fcn.140021ba0
mov rbx, qword [0x1400db2d0]
mov r9, qword [rbx]
mov rax, qword [rbx + 8]
jmp 0x140006aa9
cmp rsi, qword [r9]
je 0x140006af0
add r9, 8
cmp r9, rax
jne 0x140006aa0
cmp r9, qword [rbx]
je 0x140006baf
lea rcx, [0x1400db2a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000699c
lea rcx, [0x1400db2a0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x1400069b5
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rdx, [r9 + 8]
cmp rdx, rax
je 0x140006bf4
mov r8, rax
mov rcx, rbx
sub r8, rdx
mov r10, r8
sar r10, 3
test r10, r10
jne 0x140006bd9
sub rax, 8
mov qword [rbx + 8], rax
mov rbx, rcx
mov rax, qword [rcx + 8]
jmp 0x140006aa9
sub r9, 8
mov qword [rbx + 8], r9
jmp 0x140006aae
mov rcx, qword [rsi + 0xd0]
call qword [0x1400ac180]
jmp 0x140006a63
mov rcx, qword [rsi + 0xc8]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [rsi + 0xc0]
jmp 0x140006a5b
mov edx, 1
mov rcx, qword [rsi + 0xd8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsi + 0xd8]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
lea rcx, [rsi + 0xe8]
mov qword [rsi + 0xd8], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rsi + 0x110]
call rbx
mov rcx, qword [rsi + 0x118]
call rbx
jmp 0x1400069a7
test r9, r9
je 0x140006bbc
mov rcx, r9
call fcn.1400aa960
mov edx, 0x18
mov rcx, rbx
call fcn.1400aa980
mov qword [0x1400db2d0], 0
jmp 0x140006ab7
mov rcx, r9
call sub.msvcrt.dll_memmove
mov rcx, qword [0x1400db2d0]
mov r9, rax
mov rax, qword [rbx + 8]
jmp 0x140006b16
mov rcx, rbx
jmp 0x140006b16
Function at 0x140008a90
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x140
mov edi, dword [rcx + 0x38]
mov rbx, rcx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x54], eax
lea rax, [rbx + 0x5c]
mov rdx, qword [rbx + 0x30]
mov dword [rsp + 0x58], edi
lea rdi, [rsp + 0x4c]
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x60], rax
lea rax, [rbx + 0x60]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x90], 0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x68], rax
lea rax, [rbx + 0x68]
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xa4], 0
lea r9, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x28]
mov r8d, 0x50
mov dword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov rcx, rsi
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x50
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x140008bdb
cmp dword [rsp + 0xa0], 2
je 0x140008bf0
xor eax, eax
add rsp, 0x140
pop rbx
pop rsi
pop rdi
ret
mov eax, dword [rsp + 0xa4]
test eax, eax
je 0x140008bdb
cmp qword [rsp + 0xd8], 0
je 0x140008bdb
cmp qword [rsp + 0xe0], 0
je 0x140008bdb
cmp qword [rsp + 0xe8], 0
je 0x140008bdb
mov dword [rsp + 0xf4], 0
mov dword [rsp + 0xf8], 0
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov r9, rdi
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov r8d, 0x50
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov rcx, rsi
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov dword [rsp + 0xf0], 3
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140008bdb
mov rax, qword [rsp + 0xd8]
mov qword [rbx + 0x40], rax
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 0x48], rax
mov rax, qword [rsp + 0xe8]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0xa4]
mov dword [rbx + 0x58], eax
mov eax, 1
add rsp, 0x140
pop rbx
pop rsi
pop rdi
ret