joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007aae0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rbx, rcx
je 0x18007ab7a
cmp dword [rcx + 0x1c], 0
je 0x18007ab50
mov ecx, dword [rcx + 0x20]
xor eax, eax
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x41], eax
mov word [rsp + 0x45], ax
mov byte [rsp + 0x47], al
call qword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
mov dword [rsp + 0x40], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
xor edx, edx
lea r9, [rsp + 0x40]
mov dword [rsp + 0x44], eax
lea r8d, [rdx + 0xd]
mov dword [rsp + 0x20], 8
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x18007ab50
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rbx + 0x10]
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
xor ecx, ecx
mov qword [rbx + 0x10], 0xffffffffffffffff
mov qword [rbx + 0x18], rcx
mov dword [rbx + 0x20], ecx
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18007ac40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx + 0x10]
mov rdi, r8
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jns 0x18007ac83
xor eax, eax
jmp 0x18007aca2
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, word [rsp + 0x2a]
mov dword [rbx], eax
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rdi], ax
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800356a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x18007ad00
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], r9d
mov r9, r8
mov r8d, edx
mov edx, dword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x38
ret

Function at 0x18007ad50
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push r12
sub rsp, 0x58
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [rsp + 0xa0], 0xff
movzx r12d, r9w
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x18007adae
cmp dword [rcx + 0x18], 0
lea r9, [rcx + 0x18]
jne 0x18007adae
mov rcx, qword [rcx + 0x10]
mov edx, 0xffff
mov r8d, 0x20
mov dword [r9], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov eax, 2
movzx ecx, r12w
mov word [rsp + 0x30], ax
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [rsp + 0xa0]
mov word [rsp + 0x32], ax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800356a0
add rsp, 0x58
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x18007ae20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x58
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, qword [rsp + 0xb0]
mov r12, r9
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov r8d, ebp
mov rdx, rsi
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
test eax, eax
je 0x18007aeba
jns 0x18007ae94
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x18007aeba
test ebx, ebx
jle 0x18007ae50
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, word [rsp + 0x3a]
mov dword [r12], eax
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [r13], ax
mov eax, ebx
jmp 0x18007aebc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800356a0
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18007aee0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor eax, eax
mov ebx, r8d
mov rdi, rcx
test edx, edx
jne 0x18007af00
mov dword [rsp + 0x48], 1
jmp 0x18007af0d
cmp edx, 0x7fffffff
cmova edx, eax
mov dword [rsp + 0x48], edx
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x18007af49
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
je 0x18007af77
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x48]
mov r8d, ebx
mov edx, 0xffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x18007af3c
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov r8d, 0x1005
mov dword [rcx + 8], edx
jmp 0x18007aee0

Function at 0x18007aff0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor eax, eax
mov ebx, r8d
mov rdi, rcx
test edx, edx
jne 0x18007af00
mov dword [rsp + 0x48], 1
jmp 0x18007af0d
cmp edx, 0x7fffffff
cmova edx, eax
mov dword [rsp + 0x48], edx
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x18007af49
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
je 0x18007af77
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x48]
mov r8d, ebx
mov edx, 0xffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x18007af3c
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov r8d, 0x1005
mov dword [rcx + 8], edx
jmp 0x18007aee0

Function at 0x18007b000
Capabilities:
Set socket configuration

Disassembly:
mov r8d, 0x1006
mov dword [rcx + 0xc], edx
jmp 0x18007aee0
Function at 0x140004670
Capabilities:
Create directory
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x3070
call fcn.140008af0
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x3060], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x14000470c
lea rcx, [0x140023870]
call fcn.1400048b0
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, 0x1000
mov rsi, rax
call fcn.140002dd0
xor r8d, r8d
lea rdx, [0x140023870]
xor ecx, ecx
call fcn.140005950
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
mov rdi, rax
call fcn.140005950
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.14000fe24
mov rcx, rdi
call fcn.14000ac5c
mov rcx, rbx
call fcn.14000ac5c
jmp 0x140004711
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x1060]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140005290
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x1060]
call fcn.1400110f4
mov rcx, rax
mov rdi, rax
call fcn.14000fe5c
test eax, eax
je 0x1400047f9
mov rcx, rdi
call fcn.14000ac5c
inc ebx
cmp ebx, 5
jl 0x140004750
test rbp, rbp
je 0x1400047f2
xor r8d, r8d
lea rdx, [0x140023870]
xor ecx, ecx
call fcn.140005950
test rsi, rsi
je 0x1400047dc
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140005950
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.14000fe24
mov rcx, rdi
call fcn.14000ac5c
mov rcx, rbx
call fcn.14000ac5c
mov rcx, rsi
call fcn.14000ac5c
xor eax, eax
jmp 0x14000487b
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000ac5c
xor eax, eax
jmp 0x14000487b
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.140005a30
mov rcx, rdi
call fcn.14000ac5c
test rbp, rbp
je 0x140004876
xor r8d, r8d
lea rdx, [0x140023870]
xor ecx, ecx
call fcn.140005950
test rsi, rsi
je 0x140004860
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.140005950
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.14000fe24
mov rcx, rdi
call fcn.14000ac5c
mov rcx, rbx
call fcn.14000ac5c
mov rcx, rsi
jmp 0x140004871
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000ac5c
mov eax, 1
mov rcx, qword [rsp + 0x3060]
xor rcx, rsp
call fcn.140008ab0
lea r11, [rsp + 0x3070]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400048b0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.140008af0
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140005950
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x140004946
mov r8d, 0x2000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.140005a30
test rax, rax
je 0x140004946
cmp byte [rax], 0
je 0x140004946
mov rcx, rax
call fcn.14000f3d8
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008ab0
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008ab0
add rsp, 0x4038
ret

Function at 0x140004960
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x4060
call fcn.140008af0
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x4050], rax
mov rbx, rdx
mov r8d, 0x1000
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000e4b0
mov r8d, 0x1000
lea rcx, [rsp + 0x1050]
mov rdx, rbx
call fcn.14000e4b0
cmp byte [rsp + 0x104f], 0
jne 0x140004b4e
cmp byte [rsp + 0x204f], 0
jne 0x140004b4e
mov qword [rsp + 0x4080], rdi
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400049e0
lea rdx, [0x140022644]
lea rcx, [rsp + 0x1050]
call fcn.14000e61c
mov rbx, rax
test rax, rax
je 0x140004afc
nop dword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140004a14
inc rdi
add rdi, rcx
cmp rdi, 0xfff
jae 0x140004ad9
lea rcx, [rsp + 0x50]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140004a40
movzx eax, word [0x140022644]
mov word [rcx], ax
lea rax, [rsp + 0x50]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140004a60
xor edx, edx
nop dword [rax]
movzx ecx, byte [rbx + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140004a70
lea rdx, [0x140022644]
xor ecx, ecx
call fcn.14000e61c
mov rbx, rax
test rax, rax
je 0x140004afc
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2050]
call fcn.140005950
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2050]
call fcn.14000ee4c
test eax, eax
jns 0x140004a10
lea rcx, [rsp + 0x2050]
call fcn.14000fe5c
jmp 0x140004a10
xor eax, eax
mov rdi, qword [rsp + 0x4080]
mov rcx, qword [rsp + 0x4050]
xor rcx, rsp
call fcn.140008ab0
add rsp, 0x4060
pop rbx
ret
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2050]
call fcn.140005950
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2050]
call fcn.14000ee4c
test eax, eax
jne 0x140004b3b
lea rdx, [rsp + 0x50]
lea rcx, str.WARNING:_file_already_exists_but_should_not:__s_n
call fcn.140001e90
lea rdx, [0x14002391c]
lea rcx, [rsp + 0x50]
call fcn.140002d60
jmp 0x140004adb
xor eax, eax
jmp 0x140004ae3
Function at 0x140004f30
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140005950
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.14000ac5c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140004f70
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.140008af0
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.140005950
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.140010b0c
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.140010b0c
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.140010b0c
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.140010b0c
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.14000bc40
mov rcx, rax
call fcn.14000fa88
mov ecx, eax
call fcn.14001067c
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.14000bc40
mov rcx, rax
call fcn.14000fa88
mov ecx, eax
call fcn.14001067c
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.14000bc40
mov rcx, rax
call fcn.14000fa88
mov ecx, eax
call fcn.14001067c
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x1400050ef
mov rcx, qword [rsp + 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x140005105
lea rdx, str.Error_creating_child_process__n
lea rcx, [0x140023940]
call fcn.140001b60
or eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.140008ab0
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret
Function at 0x14000fe88
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x14000fea8
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14000e368
or eax, 0xffffffff
jmp 0x14000feaa
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400101d8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14000ff17
call fcn.14000e3d8
mov dword [rax], 0x16
call fcn.140013634
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008ab0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x14000fede
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ff85
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jb 0x14000ff58
cmp eax, 3
jbe 0x14000ff75
cmp eax, 8
je 0x14000ff65
cmp eax, 0x12
je 0x14000ff75
call fcn.14000e3d8
mov dword [rax], 0x16
jmp 0x14000feee
call fcn.14000e3d8
mov dword [rax], ntohl
jmp 0x14000feee
call fcn.14000e3d8
mov dword [rax], 2
jmp 0x14000feee
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.140010120
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140010120
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140010120
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.140018ad0
test eax, eax
jne 0x14000ffe3
mov rax, rdi
jmp 0x14000fef2
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013654
int3
jmp 0x14000feb0
Function at 0x1400101e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x140010055
call fcn.14000e3d8
mov dword [rax], 0x16
call fcn.140013634
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008ab0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x140010021
test rdx, rdx
je 0x140010021
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400100b0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jb 0x140010089
cmp eax, 3
jbe 0x1400100a3
cmp eax, 8
je 0x140010096
cmp eax, 0x12
je 0x1400100a3
call fcn.14000e3d8
mov dword [rax], 0x16
jmp 0x140010031
call fcn.14000e3d8
mov dword [rax], ntohl
jmp 0x140010031
call fcn.14000e3d8
mov dword [rax], 2
jmp 0x140010031
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.140010120
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140010120
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140010120
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.140018ad0
test eax, eax
je 0x140010034
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013654
int3
jmp 0x14000fff8

Function at 0x140010cf8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x140010d18
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14000e368
or eax, 0xffffffff
jmp 0x140010d1a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400120e8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140011ebc
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140011ebc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011ebc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011ebc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011ebc
cmp dword [rcx + 0x84], 0xe
jbe 0x140011ebc
cmp dword [rcx + 0xf8], esi
je 0x140011ebc
mov ecx, r14d
call fcn.140012004
mov ecx, 2
call fcn.140018940
nop
cmp byte [0x140040740], 0
jne 0x140011f86
mov r15d, 1
mov eax, r15d
xchg dword [0x140040734], eax
test ebx, ebx
jne 0x140011f2f
mov rdi, qword [0x140032010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140040738]
cmp rcx, rax
je 0x140011f26
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000a340]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140040750]
jmp 0x140011f3b
cmp ebx, r15d
jne 0x140011f41
lea rcx, [0x140040768]
call fcn.1400125b8
nop
test ebx, ebx
jne 0x140011f58
lea rdx, [0x1400223b8]
lea rcx, [0x140022390]
call fcn.140011d7c
lea rdx, [0x1400223c8]
lea rcx, [0x1400223c0]
call fcn.140011d7c
movzx eax, byte [0x140040740]
test esi, esi
cmove eax, r15d
mov byte [0x140040740], al
jmp 0x140011f86
mov ecx, 2
call fcn.140018994
test esi, esi
jne 0x140011f9d
mov ecx, r14d
call fcn.140011fb8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140011e4c
Function at 0x140001554
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x140057f9c]
xor ebx, ebx
mov rdi, rcx
test eax, eax
je 0x140001585
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140057f9c]
cmp dword [0x140057fac], ebx
mov esi, 1
je 0x140001596
mov ebx, esi
jmp 0x1400015b8
test eax, eax
jne 0x1400015a3
call fcn.140001390
test eax, eax
je 0x1400015b8
mov rcx, qword [0x1400540b0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
cmovne ebx, esi
test ebx, ebx
jne 0x1400015df
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, esi
jbe 0x1400015d7
cmp eax, 0x78
je 0x1400015d7
cmp eax, esi
je 0x1400015d7
cmp eax, 0x32
jne 0x1400015df
mov dword [0x140057fac], esi
mov ebx, esi
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007108
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x14000719f
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140007178
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007198
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007198
and qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [case.0x140033a70.0]
jmp 0x140007188
cmp dword [rdi + 8], 0
je 0x140007198
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
jmp 0x140007188
cmp byte [0x140058060], 0
jne 0x1400071ea
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400071d6
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x140058058], rax
jmp 0x1400071dd
mov r10, qword [0x140058058]
mov eax, 1
mov byte [0x140058060], al
jmp 0x1400071f1
mov r10, qword [0x140058058]
mov rdx, rsi
mov rcx, qword [rbx]
test r10, r10
je 0x140007181
xor r9d, r9d
mov r8d, dword [rbx + 8]
mov rax, r10
call qword [case.0x140033a70.0]
jmp 0x140007188