joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d90
Capabilities:
Encode data using base64

Disassembly:
jmp 0x1400f1a40
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov r11, rcx
test edx, edx
jle 0x1400f1c91
lea r10d, [rdx*4]
lea eax, [r9 + r9*2]
cmp r10d, eax
jg 0x1400f1c91
mov rbx, r8
movsxd r8, r9d
add r8, rbx
movsxd rdi, edx
add rdi, rcx
lea rdx, [rdi - 3]
mov r9, qword [rsp + 0xb0]
cmp rcx, rdx
jae 0x1400f1af5
nop word [rax + rax]
mov ecx, dword [r11]
bswap ecx
shr ecx, 8
mov eax, ecx
shr rax, 0x12
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ffff
mov eax, ecx
shr rax, 0xc
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and ecx, 0xfff
mov eax, ecx
shr rax, 6
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
and ecx, 0x3f
movzx ecx, byte [rcx + r9]
mov byte [rbx + 3], cl
add rbx, 4
add r11, 3
cmp r11, rdx
jb 0x1400f1aa0
sub r8d, ebx
sub edi, r11d
mov ecx, edi
je 0x1400f1c8b
sub ecx, 1
je 0x1400f1c47
sub ecx, 1
je 0x1400f1be1
cmp ecx, 1
je 0x1400f1b71
mov r9d, 0x887
lea r8, str.X:windows_trunkexternalprotobuf_srcgoogleprotobuf_stubs_strutil.cc
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.14000c120
nop
lea rdx, str.Logic_problem__szsrc_
mov rcx, rax
call fcn.14000b4d0
mov rcx, rax
mov edx, edi
call fcn.1400167e0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400158a0
nop
lea rcx, [rsp + 0x28]
call fcn.140017730
sub ebx, esi
mov eax, ebx
jmp 0x1400f1c93
lea eax, [r8 - 4]
test eax, eax
js 0x1400f1c91
movzx eax, word [r11 + 1]
ror ax, 8
movzx ecx, ax
movzx eax, byte [r11]
shl eax, 0x10
add ecx, eax
mov eax, ecx
shr rax, 0x12
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ffff
mov edx, ecx
mov eax, ecx
shr rax, 0xc
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and edx, 0xfff
mov eax, edx
shr rax, 6
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
and edx, 0x3f
movzx eax, byte [rdx + r9]
mov byte [rbx + 3], al
add rbx, 4
sub ebx, esi
mov eax, ebx
jmp 0x1400f1c93
sub r8d, 3
js 0x1400f1c91
movzx eax, word [r11]
ror ax, 8
movzx ecx, ax
mov eax, ecx
shr rax, 0xa
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ff
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and ecx, 0xf
shl ecx, 2
movzx ecx, byte [rcx + r9]
mov byte [rbx + 2], cl
add rbx, 3
cmp byte [rsp + 0xb8], 0
je 0x1400f1c8b
lea eax, [r8 - 1]
test eax, eax
js 0x1400f1c91
mov byte [rbx], 0x3d
inc rbx
sub ebx, esi
mov eax, ebx
jmp 0x1400f1c93
sub r8d, 2
js 0x1400f1c91
movzx ecx, byte [r11]
mov eax, ecx
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 3
shl ecx, 4
movzx ecx, byte [rcx + r9]
mov byte [rbx + 1], cl
add rbx, 2
cmp byte [rsp + 0xb8], 0
je 0x1400f1c8b
lea ecx, [r8 - 2]
test ecx, ecx
js 0x1400f1c91
mov word [rbx], 0x3d3d
add rbx, 2
sub ebx, esi
mov eax, ebx
jmp 0x1400f1c93
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002300
Capabilities:
Delete registry value
Set registry value

Disassembly:
jmp 0x140045550
push rbp
push r14
sub rsp, 0x88
movzx r14d, dl
mov rbp, rcx
call fcn.140003f40
test eax, eax
jne 0x14004557b
mov eax, 0x80004005
add rsp, 0x88
pop r14
pop rbp
ret
mov rcx, qword [0x14023d0b0]
lea rax, str.APPID
mov edx, 0x65
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
lea rdi, str.D5D53ADA_EAFD_4AA8_BD6B_DA32F20171C4
lea r9, [rsp + 0x58]
mov qword [rsp + 0x60], rdi
lea r8d, [rdx - 0x64]
movdqu xmmword [rsp + 0x68], xmm0
call fcn.14001e8a0
test eax, eax
js 0x14004578c
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rsi
lea rdx, str.AppID
xor esi, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
mov qword [rsp + 0xb8], rsi
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004574c
mov rbx, qword [rsp + 0xb8]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rdx, rdi
mov dword [rsp + 0x28], 0x2001f
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140045733
mov rdi, qword [rsp + 0x50]
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14b, r14b
jne 0x1400456a2
test rdi, rdi
je 0x140045689
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140045776
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x14004577c
lea rcx, [rbp + 0x48]
test rcx, rcx
je 0x1400456e6
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x1400456b2
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str.LocalService
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbp
call fcn.14000da90
test eax, eax
jne 0x140045715
test rdi, rdi
je 0x140045700
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x14004570e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x14004577c
test rdi, rdi
je 0x140045723
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140045760
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140045760
mov ecx, eax
call fcn.14001df00
mov edi, eax
test rbx, rbx
je 0x140045755
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140045755
mov ecx, eax
call fcn.14001df00
mov edi, eax
test edi, edi
js 0x14004577a
mov esi, edi
test r14b, r14b
je 0x14004577a
mov rcx, rbp
call fcn.140012230
test eax, eax
je 0x140045776
xor edx, edx
mov rcx, rbp
call fcn.140010940
mov eax, esi
jmp 0x14004577c
mov eax, edi
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x80]
add rsp, 0x88
pop r14
pop rbp
ret
Function at 0x140003cb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x1400b66d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbp, rcx
mov ebx, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r14d, r14d
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov r8d, edi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x88], r14d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [rsp + 0x90]
test eax, eax
mov dword [rsp + 0x40], eax
lea rax, [0x1401e1a10]
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov ecx, dword [rdx]
cmp ecx, 0x40
jne 0x1400b6776
mov dword [rsp + 0x40], 0x2746
jmp 0x1400b6786
cmp ecx, 0x4d2
jne 0x1400b679a
mov dword [rsp + 0x40], 0x274d
mov byte [rsp + 0x44], 1
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
jmp 0x1400b67aa
cmp ecx, 0x2738
je 0x1400b67b5
cmp ecx, 0xea
je 0x1400b67b5
test ebx, ebx
je 0x1400b67b5
mov eax, 0xffffffff
jmp 0x1400b67d3
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x44], r14b
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140004b90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1400b7a90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov eax, edi
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x1400b7af0
call fcn.140004fd0
mov dword [rsp + 0x20], edi
mov byte [rsp + 0x24], dil
lea rax, [0x1401e1a10]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
lea rax, [rcx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r8, rsi
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14000cef0
test rax, rax
je 0x1400b7b74
lea rax, [rdi + 1]
cmp rdi, 0xffffffffffffffff
cmove rax, rdi
mov rdi, rax
mov r8, rsi
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14000cef0
test rax, rax
jne 0x1400b7b50
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rsp + 0x38]
mov esi, 3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400b7b9d
call fcn.14001b300
add rbx, 8
sub rsi, 1
jne 0x1400b7b90
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140005920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140045e70
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140045ef5
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140045ef5
call fcn.140008ec0
mov ebx, eax
jmp 0x14004601a
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140045f16
call fcn.140008ec0
jmp 0x140046009
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140045f39
call fcn.140008ec0
jmp 0x140046009
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140045f5b
mov ebx, 0x8007000e
jmp 0x14004600b
mov ecx, eax
test eax, eax
je 0x140045f90
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140046052
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140045f90
lea rcx, [rsp + 0x60]
call fcn.140019090
jmp 0x140045f9a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140045fad
cmp qword [rsp + 0x60], 0
jne 0x140045fbc
mov ebx, 0x8007000e
jmp 0x14004600b
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140045fe6
call fcn.140008ec0
jmp 0x140046009
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14000fdc0
mov ebx, eax
test rdi, rdi
je 0x14004601a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140046031
lea rcx, [rsp + 0x60]
call fcn.14000b160
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140015d70
int3

Function at 0x140005ad0
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400e1860
jmp 0x1400e1930
movzx r8d, byte [rdx]
movabs r9, 0x100000001b3
movzx eax, byte [rdx + 1]
xor r8, rcx
movzx ecx, byte [rdx + 2]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 3]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x140004170
Function at 0x140007be0
Capabilities:
Delete registry key

Disassembly:
jmp 0x140043a60
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140043b19
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140043ae5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140043b04
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043b04
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x14006bf61.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140043b04
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x14023d649], 0
jne 0x140043b64
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140043b54
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14023d640], rax
mov byte [0x14023d649], 1
jmp 0x140043b6b
mov rax, qword [0x14023d640]
mov byte [0x14023d649], 1
jmp 0x140043b6b
mov rax, qword [0x14023d640]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x140043aee
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x14006bf61.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401bf278
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x140246818]
test r9, r9
lea rdi, [0x1401e1957]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1401bf2e1
mov rax, 0xfffffffffffffffe
jmp 0x1401bf436
cmp word [r11 + 6], r10w
jne 0x1401bf355
mov r9b, byte [rdi]
inc rdi
test r9b, r9b
js 0x1401bf30d
test rsi, rsi
je 0x1401bf2fe
movzx ecx, r9b
mov dword [rsi], ecx
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x1401bf436
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1401bf31b
mov r8b, 2
jmp 0x1401bf339
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1401bf329
mov r8b, 3
jmp 0x1401bf339
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1401bf424
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
movzx eax, r9b
and edx, eax
jmp 0x1401bf37e
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1401bf424
cmp bl, bpl
jb 0x1401bf424
cmp bl, r8b
jae 0x1401bf424
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x1401bf3ad
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1401bf424
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x1401bf38d
cmp r9, rbp
jae 0x1401bf3d9
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x1401bf2d5
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1401bf424
cmp edx, 0x110000
jae 0x1401bf424
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1401bf424
test rsi, rsi
je 0x1401bf417
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x1401bf436
mov qword [r11], r10
call fcn.14000c160
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000fde0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b150
Capabilities:
Set current directory
Set environment variable

Disassembly:
jmp 0x14018a060
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor esi, esi
test rcx, rcx
jne 0x14018a0b5
call fcn.1400148f0
mov dword [rax], esi
call fcn.14000c160
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140003d00
or ebx, 0xffffffff
jmp 0x14018a18a
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x14018a0ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000a0a0
jmp 0x14018a0ad
mov ecx, 0x105
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x48], sil
call fcn.14000db80
test eax, eax
je 0x14018a11c
cmp byte [rsp + 0x48], sil
je 0x14018a0ad
mov rcx, qword [rsp + 0x30]
call fcn.140001e90
jmp 0x14018a0ad
mov rdi, qword [rsp + 0x30]
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x14018a130
cmp ax, 0x2f
jne 0x14018a13a
cmp ax, word [rdi + 2]
jne 0x14018a13a
mov ebx, esi
jmp 0x14018a17b
movsx ecx, byte [rdi]
call fcn.140017b50
mov ecx, 0x3d
mov word [rsp + 0x52], ax
mov word [rsp + 0x50], cx
mov rdx, rdi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x54], 0x3a
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x14018a136
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000a0a0
or ebx, 0xffffffff
cmp byte [rsp + 0x48], sil
je 0x14018a18a
mov rcx, rdi
call fcn.140001e90
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14000fde0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000b4e0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14009e510
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
lea r15, [0x1401e1a10]
mov rdi, r9
mov r14, rdx
mov rsi, rcx
mov ebx, ebp
cmp rcx, 0xffffffffffffffff
je 0x14009e64f
test r8b, r8b
je 0x14009e589
movzx eax, byte [rdx]
test al, 8
je 0x14009e589
or al, 8
mov dword [rsp + 0x60], ebp
xor ecx, ecx
mov byte [rdx], al
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x80
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r15
setne byte [rsp + 0x34]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test ebx, ebx
je 0x14009e64f
mov eax, dword [rdi]
cmp eax, 0x2733
jne 0x14009e5e4
mov rcx, qword [rdi + 8]
movabs rdx, 0x8fafd21e25c5e09b
cmp qword [rcx + 8], rdx
je 0x14009e5ff
jmp 0x14009e665
cmp eax, 0x4d5
jne 0x14009e665
mov rax, qword [rdi + 8]
movabs rdx, 0x8fafd21e25c5e09b
cmp qword [rax + 8], rdx
jne 0x14009e665
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r15
setne byte [rsp + 0x34]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test ebx, ebx
jne 0x14009e665
mov dword [rsp + 0x30], ebp
mov byte [rsp + 0x34], bpl
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14000bd20
Capabilities:
Get geographical location

Disassembly:
jmp 0x14014646c
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140012b40
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1401464b9
sub ecx, 1
je 0x1401464b2
cmp ecx, 1
je 0x1401464ab
xor eax, eax
jmp 0x1401464be
mov eax, 3
jmp 0x1401464be
mov eax, 1
jmp 0x1401464be
mov eax, 2
add rsp, 0x28
ret
Function at 0x14000ce30
Capabilities:
Clear file content

Disassembly:
jmp 0x1401ae1a4
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ebp, ecx
call fcn.140006140
xor edx, edx
lea r8d, [r14 + 1]
mov ecx, ebp
mov r15, rax
call fcn.140006140
mov rsi, rbx
sub rsi, rax
cmp r15, 0xffffffffffffffff
je 0x1401ae2db
cmp rax, 0xffffffffffffffff
je 0x1401ae2db
xor edi, edi
test rsi, rsi
jle 0x1401ae297
mov r12d, 0x1000
mov edx, r14d
mov ecx, r12d
call fcn.14001c7f0
mov rbx, rax
test rax, rax
jne 0x1401ae231
call fcn.14000c160
mov dword [rax], ntohl
jmp 0x1401ae27a
mov edx, 0x8000
mov ecx, ebp
call fcn.140016b80
mov r14d, eax
jmp 0x1401ae24c
cdqe
sub rsi, rax
test rsi, rsi
jle 0x1401ae28b
mov r8d, esi
cmp rsi, r12
mov rdx, rbx
mov ecx, ebp
cmovge r8d, r12d
call fcn.14001aad0
cmp eax, 0xffffffff
jne 0x1401ae242
call fcn.1400148f0
cmp dword [rax], 5
jne 0x1401ae27a
call fcn.14000c160
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14000c160
mov edi, dword [rax]
mov rcx, rbx
call fcn.140001e90
jmp 0x1401ae2e2
mov edx, r14d
mov ecx, ebp
call fcn.140016b80
jmp 0x1401ae281
jns 0x1401ae2e2
xor r8d, r8d
mov rdx, rbx
mov ecx, ebp
call fcn.140006140
cmp rax, 0xffffffffffffffff
je 0x1401ae2db
mov ecx, ebp
call fcn.140020be0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401ae2e2
call fcn.14000c160
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400148f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
call fcn.14000c160
mov edi, dword [rax]
xor r8d, r8d
mov rdx, r15
mov ecx, ebp
call fcn.140006140
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret