joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800844e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x180084604
cmp r8d, 0xff
jne 0x180084541
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x18008452b
lea r8, [0x180000000]
mov r9, qword [r8 + r10*8 + 0x113ce0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.180064210
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.180064210
cmp r8d, 0xfb
jne 0x180084553
lea r9, str.WILL
jmp 0x180084591
cmp r8d, 0xfc
jne 0x180084565
lea r9, str.WONT
jmp 0x180084591
cmp r8d, 0xfd
jne 0x180084577
lea r9, [0x180114704]
jmp 0x180084591
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1800845ed
cmp r10d, 0x27
jg 0x1800845c4
lea r8, [0x180000000]
mov r8, qword [r8 + r10*8 + 0x114300]
test r8, r8
jne 0x1800845d4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.180064210
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1800845ab
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.180064210
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.180064210
add rsp, 0x38
ret

Function at 0x180084950
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800849af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180064090
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1800844e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180084b60
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x180084d08
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x180084bc5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x180084bc5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x180084bc5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x180084bfc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x180084c52
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180084c52
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180084c52
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180084c52
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x180084c52
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.180084610
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x180084cb4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180064090
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1800849e0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x180084d00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180064090
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x180086470
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x180123548]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x180086505
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x180086566
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.180064090
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180099760
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x180086621
sub ecx, 1
je 0x180086694
sub ecx, 1
je 0x1800865d0
cmp ecx, 1
je 0x1800865b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x18009eb1c]
call fcn.180064090
jmp 0x180086694
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1800861a0
test eax, eax
je 0x180086694
jmp 0x18008653a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180086694
sub rax, rsi
cmp rax, rbp
jae 0x180086694
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.180064210
jmp 0x180086694
cmp r8d, 4
jle 0x180086694
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x180086694
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.180063fb0
mov esi, eax
test eax, eax
je 0x180086673
mov edx, 5
mov rcx, rbx
call fcn.180087160
mov eax, esi
jmp 0x18008653a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.18006fa40
mov rcx, r14
call fcn.18006fd20
test eax, eax
je 0x180086538
mov edx, 5
mov rcx, rbx
call fcn.180087160
mov eax, Ordinal_46
jmp 0x18008653a
Function at 0x180098f30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x180098f72
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x180098fb9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x180099012
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x180098fd0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x180099053
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x180117862]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x180117863]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x180099020
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140001290
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5b0
mov rdi, rsp
mov ecx, 0x16c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5c0]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 0x3fff
mov dword [rsp + 0x2b4], 0
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140019950]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001318
mov eax, dword [rsp + 0x60]
jmp 0x140001543
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x2d4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2b4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2f8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x308], eax
cmp dword [rsp + 0x308], 0
jne 0x140001531
cmp dword [rsp + 0x2b4], 0
jbe 0x140001531
mov dword [rsp + 0x304], 0
jmp 0x1400013be
mov eax, dword [rsp + 0x304]
inc eax
mov dword [rsp + 0x304], eax
mov eax, dword [rsp + 0x2b4]
cmp dword [rsp + 0x304], eax
jae 0x140001531
mov dword [rsp + 0x294], 0xff
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x294]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x304]
mov rcx, qword [rsp + 0x2f8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x308], eax
cmp dword [rsp + 0x308], 0
jne 0x14000152c
lea rax, [rsp + 0x318]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x2f8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000151e
mov dword [rsp + 0x334], 0
lea rax, [rsp + 0x360]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x584], 0x104
lea rax, [rsp + 0x584]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x360]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x334]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x318]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000151e
lea rdx, str.IApplicationAssociationRegistrationInternal
lea rcx, [rsp + 0x360]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000151e
lea r8, [rsp + 0x80]
mov edx, 0x104
mov rcx, qword [rsp + 0x5c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, qword [rsp + 0x318]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x60], 1
jmp 0x140001531
mov rcx, qword [rsp + 0x318]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400013ae
mov rcx, qword [rsp + 0x2f8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x60]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140019a98]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.140015470
add rsp, 0x5b0
pop rdi
ret
Function at 0x140003c4c
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
mov rdi, rsp
mov ecx, 0xc0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x310]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
mov dword [rsp + 0x2ec], 0
mov qword [rsp + 0x248], 0
mov dword [rsp + 0x254], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x254]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x248], rax
cmp qword [rsp + 0x248], 0
je 0x140003d39
lea rdx, str.StageRedirection
lea rcx, [rsp + 0x268]
call fcn.140001e2c
or dword [rsp + 0x2ec], 1
movsxd rax, dword [rsp + 0x254]
mov rcx, qword [rsp + 0x248]
lea rax, [rcx + rax*8]
lea r8, [rsp + 0x268]
mov rdx, rax
mov rcx, qword [rsp + 0x248]
call fcn.140002e88
movzx eax, al
test eax, eax
je 0x140003d39
mov dword [rsp + 0x2f0], 1
jmp 0x140003d44
mov dword [rsp + 0x2f0], 0
mov al, byte [rsp + 0x2f0]
mov byte [rsp + 0x2e8], al
mov eax, dword [rsp + 0x2ec]
and eax, 1
test eax, eax
je 0x140003d75
and dword [rsp + 0x2ec], 0xfffffffe
lea rcx, [rsp + 0x268]
call fcn.1400021bc
movzx eax, byte [rsp + 0x2e8]
test eax, eax
je 0x140003ec9
lea rdx, [0x140026fa0]
lea rcx, [rsp + 0x290]
call fcn.140001e2c
movsxd rax, dword [rsp + 0x254]
mov rcx, qword [rsp + 0x248]
lea rax, [rcx + rax*8]
lea r8, [rsp + 0x290]
mov rdx, rax
mov rcx, qword [rsp + 0x248]
call fcn.140003048
mov qword [rsp + 0x288], rax
lea rcx, [rsp + 0x290]
call fcn.1400021bc
cmp qword [rsp + 0x288], 0
je 0x140003e0b
lea rdx, [0x14002211c]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140003e0b
mov dword [rsp + 0x2f4], 0
jmp 0x140003e16
mov dword [rsp + 0x2f4], 1
mov al, byte [rsp + 0x2f4]
mov byte [rsp + 0x2b0], al
lea rdx, [0x140026fc8]
lea rcx, [rsp + 0x2c0]
call fcn.140001e2c
movsxd rax, dword [rsp + 0x254]
mov rcx, qword [rsp + 0x248]
lea rax, [rcx + rax*8]
lea r8, [rsp + 0x2c0]
mov rdx, rax
mov rcx, qword [rsp + 0x248]
call fcn.140003048
mov qword [rsp + 0x2b8], rax
lea rcx, [rsp + 0x2c0]
call fcn.1400021bc
cmp qword [rsp + 0x2b8], 0
jne 0x140003e93
lea rax, [0x140026fd8]
mov qword [rsp + 0x2b8], rax
call fcn.1400032f8
movzx eax, byte [rsp + 0x2b0]
test eax, eax
je 0x140003eb3
mov rcx, qword [rsp + 0x2b8]
call fcn.140003758
jmp 0x140003ec0
mov rcx, qword [rsp + 0x2b8]
call fcn.140003358
mov cl, 1
call fcn.1400142cc
jmp 0x140003eea
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140003eea
lea rcx, [rsp + 0x30]
call fcn.140002484
xor eax, eax
mov edi, eax
mov rcx, rsp
lea rdx, [0x140032390]
call fcn.140015370
mov eax, edi
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.140015470
add rsp, 0x300
pop rdi
ret
Function at 0x14000984c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov rdi, rsp
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x30]
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x82
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xc8], 0
cmp dword [rsp + 0xc8], 8
jae 0x140009a80
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x110]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 8
jae 0x140009925
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x110]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
jmp 0x140009930
mov dword [rsp + 0xe0], 0
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xc8], 8
jae 0x140009974
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x110]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xc8]
inc eax
mov dword [rsp + 0xc8], eax
jmp 0x14000997f
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xcc]
shr eax, 2
mov eax, eax
mov ecx, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x118]
movzx eax, word [rsp + rax*2 + 0x30]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0xc4]
inc eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xd0]
shr eax, 4
mov ecx, dword [rsp + 0xcc]
and ecx, 3
shl ecx, 4
or eax, ecx
mov eax, eax
mov ecx, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x118]
movzx eax, word [rsp + rax*2 + 0x30]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0xc4]
inc eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xd4]
shr eax, 6
mov ecx, dword [rsp + 0xd0]
and ecx, 0xf
shl ecx, 2
or eax, ecx
mov eax, eax
mov ecx, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x118]
movzx eax, word [rsp + rax*2 + 0x30]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0xc4]
inc eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xd4]
and eax, 0x3f
mov eax, eax
mov ecx, dword [rsp + 0xc4]
mov rdx, qword [rsp + 0x118]
movzx eax, word [rsp + rax*2 + 0x30]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0xc4]
inc eax
mov dword [rsp + 0xc4], eax
jmp 0x1400098b7
mov eax, dword [rsp + 0xc4]
dec eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xc4]
mov ecx, 0x3d
mov rdx, qword [rsp + 0x118]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0xc4]
inc eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xc4]
xor ecx, ecx
mov rdx, qword [rsp + 0x118]
mov word [rdx + rax*2], cx
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140036e40]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140015470
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x14000ae40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xac0
mov rdi, rsp
mov ecx, 0x2b0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xad0]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0xab8], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov byte [rsp + 0xa74], 0
mov edx, 0x400
lea rcx, [rsp + 0x270]
call fcn.14000aa40
mov dword [rsp + 0xa78], eax
cmp dword [rsp + 0xa78], 0
je 0x14000aee3
lea r8, [0x140034cc0]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x270]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x14000aefa
lea r8, [0x140034cd8]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140034d00]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0xa88]
call fcn.140014494
nop
mov dword [rsp + 0x28], 0x105
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xad0]
lea r8, [0x140034d88]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa88]
call fcn.140014b58
mov rcx, qword [rsp + 0xad0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
jne 0x14000af8a
xor r9d, r9d
mov r8d, 0x1c
mov rdx, qword [rsp + 0xad0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000af88
mov byte [rsp + 0xa74], 1
jmp 0x14000af92
mov byte [rsp + 0xa74], 1
mov al, byte [rsp + 0xa74]
mov byte [rsp + 0xab0], al
lea rcx, [rsp + 0xa88]
call fcn.1400144c8
mov al, byte [rsp + 0xab0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140036cd0]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0xab8]
xor rcx, rsp
call fcn.140015470
add rsp, 0xac0
pop rdi
ret
Function at 0x14000b2e0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rdi
sub rsp, 0x370
mov rdi, rsp
mov ecx, 0xdc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x360], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x288], 0
lea r9, [rsp + 0x288]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140051ff0]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14000b417
mov r8, qword [rsp + 0x288]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
test eax, eax
jne 0x14000b409
lea r8, str.control.exe__name_Microsoft.DefaultPrograms__page_pageDefaultProgram
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
jne 0x14000b409
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x338]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x2b0], 0x68
lea rax, [rsp + 0x338]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rsp
lea rdx, [0x140036968]
call fcn.140015370
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140015470
add rsp, 0x370
pop rdi
ret
Function at 0x14000d448
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov rdi, rsp
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
je 0x14000d49d
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000d4a4
mov al, 1
jmp 0x14000d62a
call fcn.14000e008
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0xb0], rcx
mov edx, eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xb0]
call qword [0x1400197b0]
mov dword [rsp + 0xa8], eax
call fcn.14000e008
mov dword [rsp + 0xac], eax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xac]
call fcn.14000e014
movzx eax, al
test eax, eax
je 0x14000d50e
xor al, al
jmp 0x14000d62a
mov qword [rsp + 0x30], 0x20
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
add rcx, 0x74
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x48]
mov rdx, rcx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
je 0x14000d580
cmp dword [rsp + 0xb8], 1
je 0x14000d58c
cmp dword [rsp + 0xb8], 3
je 0x14000d618
jmp 0x14000d628
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jbe 0x14000d5e7
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x98]
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x98], rax
je 0x14000d5e7
xor al, al
jmp 0x14000d62a
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000d604
mov dword [rsp + 0xbc], 1
jmp 0x14000d60f
mov dword [rsp + 0xbc], 0
mov al, byte [rsp + 0xbc]
jmp 0x14000d62a
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000d62a
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140037f40]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140015470
add rsp, 0xd0
pop rdi
ret