joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400055c9
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
jmp 0x140007b3e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140004d03
jmp 0x140005b7a
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140004219
jmp 0x140005a63
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x140007b3e
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x1400068b2
jmp 0x14000798e
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140002eab
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140007cab
test eax, eax
jne 0x140005b7a
jmp 0x140006064
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x1400018af
jmp 0x14000234d
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1400018af
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x140002c21
jmp 0x140001dbc
mov rcx, qword [rsp + 0x70]
call fcn.140007e1f
jmp 0x1400023ce
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x1400068b2
jmp 0x14000798e
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x14000234d
Function at 0x140004ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
lea r15, [0x140133ae8]
mov esi, r12d
lea r14, [0x140132860]
cmp byte [r15], r12b
je 0x140004fc4
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_gethostbyname
mov ecx, esi
mov dword [rsp + 0x24], 0x80
call qword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x140004fc4
mov eax, dword [rsp + 0x40]
mov ebp, eax
xor ebp, dword [r14]
mov dword [r14], eax
and ebp, eax
je 0x140004fc4
movzx edx, word [0x140132e04]
mov ebx, r12d
cmp r12w, dx
jae 0x140004fc4
mov rdi, r12
nop
mov rax, qword [0x140133b08]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x140004fb7
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x140004fb7
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x140004fb7
mov rcx, qword [0x140132ab0]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x140132e04]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004f70
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004f22
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140007970
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14000798c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x140007a72
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x140007a5f
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140007a5f
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140007a5f
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140007a5f
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140007a5f
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140007a54
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140007a77
test rbx, rbx
je 0x140007a5f
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x140007a90
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
je 0x140007aaa
mov eax, 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140132ab0]
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007b24
xor esi, esi
nop
mov ecx, dword [0x14012f258]
cmp ecx, 0xffffffff
je 0x140007af4
test ecx, ecx
je 0x140007b40
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14012f258]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x140007b40
mov edx, 1
mov dword [0x14012f234], esi
mov ecx, 0x8000012f
call fcn.140001b00
mov rcx, qword [0x140132ab0]
mov dword [0x14012f234], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007ad0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x2c], 1
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007d40
Capabilities:
Resolve dns

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov r14, rcx
xor ebp, ebp
lea rcx, [rsp + 0x31]
mov byte [rsp + 0x30], bpl
xor edx, edx
mov r8d, 0x400
mov r12d, ebp
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov byte [rsp + 0x440], bpl
mov r8d, 0x400
lea rcx, [rsp + 0x441]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rsp + 0x30]
mov r9d, 0x400
mov r8, r14
mov qword [rsp + 0x20], rbx
mov edx, 0x401
lea rcx, [rsp + 0x30]
lea rdi, [rsp + 0x440]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov r13, qword [rsp + 0x8c8]
mov r15, 0xffffffffffffffff
nop dword [rax]
mov rcx, r14
mov qword [r13], rbp
mov rsi, r13
mov byte [rdi], bpl
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x140007f40
cmp word [rax + 0x10], 2
jne 0x140007e60
cmp word [rax + 0x12], 4
jne 0x140007e60
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x140007e5b
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x8b8]
mov edx, dword [rsp + 0x8b0]
mov ecx, dword [rsp + 0x8a8]
call fcn.140007c90
mov qword [rsi], rax
test rax, rax
je 0x140007f39
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140007e20
mov rbx, qword [rsp + 0x20]
mov r8, qword [r14]
mov r9d, 0x400
mov edx, 0x401
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [r13], rbp
jne 0x140007ee3
mov rax, r15
inc rax
cmp byte [rdi + rax], bpl
jne 0x140007e80
test rax, rax
je 0x140007f5a
mov r8, rdi
mov rax, rbx
sub r8, rbx
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007eb3
inc rax
test ecx, ecx
jne 0x140007ea0
test edx, edx
je 0x140007f5a
inc r12d
cmp r12d, 0x10
je 0x140007f5a
mov r14, qword [rsp + 0x8a0]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x20], rbx
jmp 0x140007de0
cmp dword [rsp + 0x8c0], ebp
je 0x140007f6d
cmp byte [rdi + r15 + 1], bpl
lea r15, [r15 + 1]
jne 0x140007ef0
lea rdx, [r15 + 1]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x140007f17
mov rbx, rbp
jmp 0x140007f27
mov r8, rdi
lea rdx, [r15 + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], rbp
jne 0x140007f6d
mov ebp, 8
jmp 0x140007f6d
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x140007f68
sub ecx, 1
je 0x140007f61
sub ecx, 1
jne 0x140007f68
mov ebp, 0x2afb
jmp 0x140007f6d
mov ebp, 0x2afa
jmp 0x140007f6d
mov ebp, 0x2af9
mov eax, ebp
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400086c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x140138648], 0
lea rax, [0x140007ff0]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140008490]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140007f90]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x140008889
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14000887f
lea r8, [rsp + 0x160]
mov qword [rsp + 0x280], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400087a4
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008806
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008877
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008806
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140008877
mov qword [rsp + 0x288], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
nop word [rax + rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x140008866
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008820
mov rax, qword [rsp + 0x28]
mov qword [0x140131fe0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140131ff0], rax
mov rax, qword [rsp + 0x48]
mov qword [0x140132000], rax
jmp 0x14000886f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x140138648], 1
mov rbx, qword [rsp + 0x290]
lea rcx, str.getaddrinfo
mov rax, rbp
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x1400088b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov qword [0x1401319c8], rdx
mov r8, rdx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140008917
cmp byte [rcx + 5], 1
jne 0x140008917
xor ebx, ebx
cmp byte [rcx + 6], bl
je 0x1400088e8
mov qword [rdx + 0x38], rbx
mov edx, 8
call fcn.1400f60d0
cmp dword [0x140131a10], 2
je 0x14000890f
lea rcx, [0x1401319a0]
call fcn.140008a40
test eax, eax
jne 0x14000890d
lea rcx, [0x1401319a0]
call fcn.140008b70
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov r9d, dword [0x140131a10]
mov qword [rsp + 0x38], rdi
cmp r9d, 3
je 0x140008997
mov r11, qword [0x140131a1c]
movabs rdi, 0x2aaaaaaaaaaaaaab
mov r10, qword [0x1401319a8]
mov rbx, qword [0x1401319a0]
cmp r9d, 4
jne 0x140008971
mov rcx, r10
mov rax, rdi
sub rcx, rbx
add rcx, 0x18
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp edx, r11d
jle 0x140008997
cmp r9d, 5
jne 0x1400089ed
sub r10, rbx
mov rax, rdi
add r10, 0x18
imul r10
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, r11d
jge 0x1400089ed
movzx eax, byte [r8]
cmp al, 0x77
je 0x1400089ed
cmp al, 0x78
jne 0x1400089aa
cmp qword [r8 + 0x10], 0
je 0x1400089ed
cmp dword [r8 + 4], 0
je 0x1400089ed
cmp r9d, 2
jne 0x1400089c6
mov rdi, qword [rsp + 0x38]
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
lea rcx, [0x1401319a0]
call fcn.140008a40
test eax, eax
jne 0x1400089e2
lea rcx, [0x1401319a0]
call fcn.140008b70
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x1401319c0]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008a29
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008a29
lea rcx, [0x1401319a0]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp fcn.140008b70
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000dfc0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x60]
mov r8d, 0xa
add rcx, 0x26
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__i64toa]
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x1400fadf0]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000fd00
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
xor r9d, r9d
add r8, rbx
lea rax, [rsp + 0x20]
sub r8d, eax
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000e091
cmp dword [rdi + 0x68], 0
jne 0x14000e091
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x50]
inc rdx
call fcn.14000f1f0
test eax, eax
jne 0x14000e091
mov r8, qword [rdi + 0x60]
xor r9d, r9d
mov rcx, qword [rdi + 0x50]
movzx eax, word [0x1400fadf4]
mov byte [r8 + rcx], al
inc qword [rdi + 0x60]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000e091
xor eax, eax
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x68], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000e7a0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000ef20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
je 0x14000f0cb
lea rsi, [rcx + 0x10]
movabs r14, 0xaaaaaaaaaaaaaaab
test r9b, r9b
jne 0x14000ef8a
lea rdx, [r8 - 1]
mov rax, r14
mul rdx
shr rdx, 1
lea rdx, [rdx*4 + 5]
add rdx, qword [rsi]
call fcn.14000f1f0
test eax, eax
je 0x14000ef8a
mov eax, 0x3e6
jmp 0x14000f0cd
test rdi, rdi
je 0x14000f0cb
mov r10, qword [rsi]
xor r8d, r8d
add r10, qword [rbp]
cmp rbx, 0xffffffffffffffff
jne 0x14000efb0
inc rbx
cmp byte [rdi + rbx], r8b
jne 0x14000efa3
lea rsi, [rbp + 0x10]
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rbx, 2
jbe 0x14000f05d
lea rcx, [rbx - 3]
mov rax, r14
mul rcx
lea r9, [r10 + 2]
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
lea r8, [rdx*4]
add rbx, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + 1]
lea r9, [r9 + 4]
movzx ecx, byte [rdi]
shl rcx, 8
or rcx, rax
movzx eax, byte [rdi + 2]
shl rcx, 8
add rdi, 3
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [r9 - 6], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r9 - 5], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r9 - 4], al
movzx eax, byte [rcx + r11]
mov byte [r9 - 3], al
sub rdx, 1
jne 0x14000eff0
lea rsi, [rbp + 0x10]
test rbx, rbx
je 0x14000f0c3
movzx ecx, byte [rdi]
shl rcx, 0x10
cmp rbx, 1
jbe 0x14000f07a
movzx eax, byte [rdi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [r8 + r10], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r8 + r10 + 1], al
cmp rbx, 1
jbe 0x14000f0b2
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r11]
jmp 0x14000f0b4
mov al, 0x3d
mov byte [r8 + r10 + 2], al
mov byte [r8 + r10 + 3], 0x3d
add r8, 4
mov byte [r8 + r10], 0
add qword [rsi], r8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000f8c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
mov rcx, rbp
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdi, qword [rbx + 8]
mov esi, eax
test eax, eax
jne 0x14000f930
test rdi, rdi
je 0x14000f9f1
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000f922
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000f915
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rdi
call fcn.1400f60d0
xor ecx, ecx
mov qword [rbx + 8], rcx
mov byte [rbx + 0x10], cl
jmp 0x14000f9f1
test rdi, rdi
jne 0x14000f962
mov ecx, 0x28
call fcn.1400f6104
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], 1
mov qword [rbx + 8], rax
jmp 0x14000f9c8
mov eax, dword [rdi + 0x20]
mov rdi, qword [rbx + 8]
cmp eax, 1
jbe 0x14000f9c2
mov ecx, 0x28
call fcn.1400f6104
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], 1
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000f9c8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000f9b3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rdi
call fcn.1400f60d0
jmp 0x14000f9c8
xor ecx, ecx
mov qword [rdi + 0x10], rcx
mov rcx, qword [rbx + 8]
mov rdx, rsi
call fcn.14000fd60
mov rax, qword [rbx + 8]
mov r8d, esi
mov rcx, rbp
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400107a0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [0x140136c40], 0
mov rbp, rdx
mov rdi, rcx
je 0x14001087d
mov esi, dword gs:[0x48]
cmp dword [0x140136030], esi
je 0x1400107dc
mov rcx, qword [0x140136038]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400107e3
cmp word [rdi], 0
je 0x14001088c
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov dword [rsp + 0x20], 3
lea rcx, [0x140136060]
call fcn.140052120
test rax, rax
jne 0x14001084e
cmp byte [rsp + 0x60], al
lea rcx, [0x140136060]
mov r9d, dword [rsp + 0x68]
mov r8, rbx
setne al
mov rdx, rdi
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400526b0
test rax, rax
je 0x14001088c
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, 0xffffffffffffffff
mov rdx, rbp
mov rcx, rax
call fcn.1400dc860
cmp dword [0x140136030], esi
je 0x14001087d
mov rcx, qword [0x140136038]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x140136030], esi
je 0x1400108a1
mov rcx, qword [0x140136038]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018e30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor edx, edx
xor ecx, ecx
call fcn.1400174f0
mov rcx, qword [0x140132a78]
test rcx, rcx
je 0x140018e5d
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
movzx edx, word [0x140132e04]
xor ebx, ebx
cmp bx, dx
jae 0x140018eae
mov qword [rsp + 0x30], rdi
mov edi, ebx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x140133b08]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x140018e9c
call fcn.140018ec0
movzx edx, word [0x140132e04]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140018e80
mov rdi, qword [rsp + 0x30]
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14001b530
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
movzx r8d, byte [0x140132bb2]
or r8b, 2
cmp qword [0x140132ad8], 0
mov byte [0x140132bb2], r8b
jne 0x14001b568
movzx edx, word [0x140132e04]
movzx r9d, byte [0x140132bb3]
mov rcx, qword [0x140133b08]
jmp fcn.140016590
ret
Function at 0x140020e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rsi
push rdi
sub rsp, 0x98
mov qword [rax + 8], rbx
movzx edi, r9b
mov qword [rax - 0x18], rbp
movzx ebx, dx
mov qword [rax - 0x20], r12
movzx ebp, cl
mov qword [rax - 0x28], r13
movzx r13d, r8b
mov qword [rax - 0x38], r15
or r13b, r9b
lea eax, [rbp - 1]
cmp al, 5
ja 0x140020e85
cmp cl, 3
jne 0x140020e8c
lea eax, [rbp + 0x66]
cmp al, 5
ja 0x140020e91
mov r15b, 1
jmp 0x140020e94
xor r15b, r15b
mov eax, dword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
movzx r12d, byte [rsp + 0xe0]
test eax, eax
jle 0x140021022
mov edi, dword [rsp + 0xd8]
mov qword [rsp + 0x78], r14
mov r14d, eax
cmp dword [0x140136fcc], 0
jne 0x140020f35
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012f240]
sub eax, dword [0x140136c64]
cmp eax, dword [rcx + 0x118]
jbe 0x140020f3c
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140020f29
mov edx, 1
mov dword [0x14012f234], 0
mov ecx, 0xffffffff
call fcn.140001b00
mov dword [0x14012f234], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140136c64], eax
mov rcx, qword [0x14012f240]
test r12b, r12b
jne 0x140020f9d
movzx eax, byte [rcx + 0x136]
test al, al
je 0x140020f55
mov ebx, 0xffc3d44d
sub ebx, eax
jmp 0x140020f5a
mov ebx, 0xffc3d44f
cmp dword [0x140136fcc], 0
je 0x140020f6c
movzx eax, byte [0x140136d18]
jmp 0x140020f73
xor ecx, ecx
call fcn.140024620
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8, rsi
mov byte [rsp + 0x20], 1
movzx edx, al
movzx ecx, r13b
call fcn.140023d80
mov rcx, qword [0x14012f240]
movzx ebx, word [rsp + 0xb8]
test r15b, r15b
je 0x140020fe2
test rsi, rsi
jne 0x140020fe2
movzx eax, byte [rcx + 0x12f]
mov r9d, 1
movzx ecx, byte [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], cl
movzx ecx, bpl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.1400229d0
jmp 0x14002100b
movzx eax, byte [rcx + 0x136]
mov r9, rsi
mov ecx, 0xffc3d44d
movzx r8d, bx
sub ecx, eax
movzx edx, bpl
mov dword [rsp + 0x28], ecx
mov ecx, edi
mov byte [rsp + 0x20], 1
call fcn.1400215d0
sub r14, 1
jne 0x140020ec3
mov r14, qword [rsp + 0x78]
movzx edi, byte [rsp + 0xc8]
mov r15, qword [rsp + 0x70]
test r12b, r12b
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
jne 0x14002108f
cmp dword [0x140136fcc], 0
je 0x14002105e
movzx eax, byte [0x140136d18]
jmp 0x140021065
xor ecx, ecx
call fcn.140024620
not dil
and dil, al
and dil, 0xcc
je 0x14002108f
mov dword [rsp + 0x28], 0xffc3d44d
mov r9b, 1
mov r8, rsi
mov byte [rsp + 0x20], 0
movzx edx, dil
xor ecx, ecx
call fcn.140023d80
add rsp, 0x98
pop rdi
pop rsi
ret