joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042520
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140042520
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov ebx, ecx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400425eb
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
call sub.MSVCR110.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400425cb
cmp dword [rsp + 0x28], ebx
je 0x1400425a5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140042583
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140042600
cmp byte [0x14007ca60], 0
mov ebx, dword [rsp + 0x40]
je 0x1400425e0
lea rcx, str.GetParentInstanceOfProcessID:_Matched___returning_parentID:__i_n
mov edx, ebx
call fcn.1400031a2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140042600
cmp byte [0x14007ca60], 0
je 0x1400425e0
lea rcx, str.GetParentInstanceOfProcessID:Process32FirstW_failed_n
call fcn.1400031a2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140042600
cmp byte [0x14007ca60], 0
je 0x140042600
lea rcx, str.GetParentInstanceOfProcessID:CreateToolhelp32Snapshot_failed_n
call fcn.1400031a2
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140043800
Capabilities:
Get common file path

Disassembly:
jmp 0x140043800
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x840
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x7fe
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x30], bx
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x30]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14004388a
cmp byte [0x14007ca60], bl
je 0x14004386f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetSystemDirectory_failed__i_n
mov edx, eax
call fcn.1400031a2
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
xor r8d, r8d
mov word [rdi], bx
lea rdx, [0x1400624f4]
jmp 0x1400438c2
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x30], bx
je 0x1400438ba
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400438b0
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002ef5
mov rax, rdi
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0x858]
add rsp, 0x840
pop rdi
ret

Function at 0x140043e90
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140043e90
mov rax, rsp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rbx, r8
mov rdi, rdx
mov r14, rcx
xor r8d, r8d
mov dword [rax - 0x28], r8d
mov qword [rdx], r8
mov qword [rdx + 8], r8
mov qword [rdx + 0x10], r8
mov dword [rax - 0x28], 1
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140043f8d
mov dword [rax + 8], r8d
cmp qword [rbx + 0x18], 0x10
jb 0x140043eee
mov rdx, qword [rbx]
jmp 0x140043ef1
mov rdx, rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140043f8d
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x140043f8d
lea ecx, [rsi + 1]
call fcn.14005299c
mov rbp, rax
mov dword [rsp + 0x60], esi
cmp qword [rbx + 0x18], 0x10
jb 0x140043f31
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140043f85
mov ebx, dword [rsp + 0x60]
add rbx, rbp
mov rcx, rdi
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rdx, qword [rdi]
mov qword [rdi + 8], rdx
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x20], al
mov r9, rbx
mov r8, rbp
mov rcx, rdi
call fcn.140002770
mov rcx, rbp
call sub.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140043ff0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140043ff0
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov r8, rdx
lea rdx, [rsp + 0x38]
call fcn.140001be0
nop
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
cmp r8, rax
je 0x140044134
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x14004407f
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x78], ebx
cmp qword [rdi + 0x18], 0x10
jb 0x14004404d
mov rdi, qword [rdi]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r8, qword [rsp + 0x38]
test eax, eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x70]
je 0x140044081
mov ecx, ebx
sub ecx, 4
je 0x1400440fa
dec ecx
je 0x1400440cf
cmp ecx, 6
jne 0x140044134
cmp byte [0x14007ca62], 0
je 0x1400440ca
sub rax, r8
cmp rax, 8
je 0x1400440ca
mov r9d, 0x356
lea r8, str...CommonWinUtils.cpp
lea rdx, str.baseVal.size____8
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
mov r8, qword [rsp + 0x38]
mov rbx, qword [r8]
jmp 0x140044134
cmp r8, rax
je 0x1400440fa
dec rax
cmp r8, rax
je 0x1400440f0
movzx edx, byte [r8]
movzx ecx, byte [rax]
mov byte [r8], cl
mov byte [rax], dl
inc r8
cmp r8, rax
jne 0x1400440d4
mov rax, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp byte [0x14007ca62], 0
je 0x140044131
sub rax, r8
cmp rax, 4
je 0x140044131
mov r9d, 0x34d
lea r8, str...CommonWinUtils.cpp
lea rdx, str.baseVal.size____4
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
mov r8, qword [rsp + 0x38]
movsxd rbx, dword [r8]
test r8, r8
je 0x14004414e
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rsp + 0x38]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14004c520
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x14004c520
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x490
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x44], r15d
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x44], 1
cmp qword [rcx + 0x28], r15
je 0x14004c68f
mov byte [rbp - 0x80], r15b
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp - 0x7f]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x40], 0x400
mov esi, r15d
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14004c68f
nop word [rax + rax]
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x60], 0
cmp byte [rbp - 0x80], 0
jne 0x14004c60e
mov r8, r15
jmp 0x14004c620
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004c616
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400017d0
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140001483
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14004c64f
mov rcx, qword [rsp + 0x60]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov dword [rsp + 0x40], 0x400
inc esi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14004c5f0
mov rax, rbx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140052d40
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14004cba0
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x14004cba0
push rbx
sub rsp, 0x60
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov dword [rsp + 0x40], ecx
lea rdx, [rsp + 0x20]
lea rcx, [0x140003c47]
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], al
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x38], 0x10
mov rbx, qword [rsp + 0x48]
jb 0x14004cbff
mov rcx, qword [rsp + 0x20]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140052d40
add rsp, 0x60
pop rbx
ret
Function at 0x1400530c4
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140130000
add rsp, 0x28
jmp 0x1400530c4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x20], 0
call qword [sym.imp.MSVCR110.dll___crtGetShowWindowMode]
movzx esi, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [0x14007d2c8], rdx
je 0x14005310b
cmp rax, rdx
jne 0x140053109
mov ebx, 1
jmp 0x14005310b
jmp 0x1400530f0
mov eax, dword [0x14007d2dc]
cmp eax, 1
jne 0x140053120
lea ecx, [rax + 0x1e]
call sub.MSVCR110.dll__amsg_exit
jmp 0x14005315f
mov eax, dword [0x14007d2dc]
test eax, eax
jne 0x140053155
mov dword [0x14007d2dc], 1
lea rdx, [0x14005ea80]
lea rcx, [0x14005e640]
call sub.MSVCR110.dll__initterm_e
test eax, eax
je 0x14005315f
mov eax, 0xff
jmp 0x140053297
mov dword [0x14007cd1c], 1
mov eax, dword [0x14007d2dc]
cmp eax, 1
jne 0x140053187
lea rdx, [0x14005e530]
lea rcx, [section..rdata]
call sub.MSVCR110.dll__initterm
mov dword [0x14007d2dc], 2
test ebx, ebx
jne 0x140053194
xor eax, eax
xchg qword [0x14007d2c8], rax
cmp qword [0x14007d2e0], 0
je 0x1400531c0
lea rcx, [0x14007d2e0]
call fcn.1400536c0
test eax, eax
je 0x1400531c0
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14007d2e0]
call rax
mov rax, qword [sym.imp.MSVCR110.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
ja 0x140053236
cmp byte [rbx], 0
je 0x1400531e1
test edi, edi
jne 0x140053236
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x1400531f3
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x1400531e1
movzx r9d, si
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001d0c
mov dword [0x14007cd18], eax
cmp dword [0x14007cd38], 0
jne 0x14005321f
mov ecx, eax
call qword [sym.imp.MSVCR110.dll_exit]
cmp dword [0x14007cd1c], 0
jne 0x140053234
call qword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x14007cd18]
jmp 0x140053297
cmp byte [rbx], 0x22
jne 0x140053248
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rbx]
call qword [sym.imp.MSVCR110.dll__ismbblead]
test eax, eax
je 0x14005325d
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x1400531d3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18095c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18095c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18095c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18095c06f
add dl, dl
jne 0x18095c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18095c0f6
xor eax, eax
add dl, dl
jne 0x18095c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18095c1ad
add dl, dl
jne 0x18095c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18095c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18095c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18095c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18095c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18095c07e
mov eax, 1
add dl, dl
jne 0x18095c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18095c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18095c0fb
sub eax, ebx
mov ebx, 1
jne 0x18095c14c
mov ecx, 1
add dl, dl
jne 0x18095c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18095c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18095c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18095c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18095c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18095c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18095c15d
cmp eax, 0x7d00
jae 0x18095c19b
cmp eax, 0x500
jb 0x18095c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18095c07e
cmp eax, 0x7f
ja 0x18095c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18095c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18095c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18095c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011262
Capabilities:
Terminate process

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

Function at 0x140011307
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ee0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014f00
xor al, al
jmp 0x140014f81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014f13
xor al, al
jmp 0x140014f81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014f3d
xor al, al
jmp 0x140014f81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014f51
xor al, al
jmp 0x140014f81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014f63
xor al, al
jmp 0x140014f81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014f7f
xor al, al
jmp 0x140014f81
mov al, 1
add rsp, 0x38
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
test al, dh
in eax, dx
jg 0x140020a05
mov bh, 0x17
adc eax, 0xdf7d9882
popfq
retf 0x5543
int 0xa0
out 0xd3, eax
and byte [rdi], ch
cmc
div byte [rdi + 0x58]
int 0xe8
popfq
or esi, eax
xchg ebx, eax
insb byte [rdi], dx
insb byte [rdi], dx
pop rbp
cmc
fsub qword [rdi]
and dword [rsi + 0x3b], esi
clc
fisttp word [rbx + 0x3a]
mov word [rbp - 2], gs
test dword [rax - 0x23], 0xca8a813f
invalid
Function at 0x1001304e8
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100178108], rdi
je 0x100130548
cmp rax, rdi
jne 0x10013053b
mov r12d, 1
jmp 0x100130548
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100130521
mov eax, dword [0x100178100]
cmp eax, 1
jne 0x10013055d
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x1001305c4
mov eax, dword [0x100178100]
cmp eax, ebx
jne 0x1001305ba
mov dword [0x100178100], 1
lea r13, [0x100001c08]
lea rdi, [0x100001bf0]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x1001305ac
cmp eax, ebx
jne 0x1001305ac
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x1001305a1
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10013058a
cmp eax, ebx
je 0x1001305c4
mov eax, 0xff
jmp 0x10013070c
mov dword [0x100177464], 1
mov eax, dword [0x100178100]
cmp eax, 1
jne 0x1001305ec
lea rdx, [0x100001be8]
lea rcx, [0x100001b60]
call sub.msvcrt.dll__initterm
mov dword [0x100178100], 2
cmp r12d, ebx
jne 0x1001305fb
mov rax, rbx
xchg qword [0x100178108], rax
cmp qword [0x100178120], rbx
je 0x100130623
lea rcx, [0x100178120]
call fcn.100130cac
cmp eax, ebx
je 0x100130623
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100178120]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x100130639
mov eax, 0xff
jmp 0x10013070c
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x1001306be
cmp word [rcx], bx
je 0x100130654
cmp edx, ebx
jne 0x1001306be
cmp word [rcx], bx
je 0x10013066a
cmp word [rcx], 0x20
ja 0x10013066a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100130654
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.10005060c
mov dword [0x100177460], eax
cmp dword [0x100177444], ebx
jne 0x1001306a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100177464], ebx
jne 0x1001306bc
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100177460]
jmp 0x10013070c
cmp word [rcx], 0x22
jne 0x1001306d1
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100130645
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1002a4000
add rsp, 0x28
jmp 0x1001304e8
Function at 0x140003c50
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
mov rdx, qword [rdx + 0x10]
cmp rdx, 0xf
jbe 0x140003ca5
call fcn.140026110
mov qword [rbx + 0x10], rbp
mov r15d, 0xfffffffa
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140003cbd
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x140003cc0
mov rdx, rdi
mov r14, rcx
mov r13, qword [rdi + 0x10]
add r13, rdx
cmp rcx, r13
je 0x140003dcf
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x140003d6d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140003d4d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140003d42
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140003d63
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140026260
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x140003d10
inc r14
cmp r14, r13
jne 0x140003ce0
cmp r15d, 0xfffffffa
jle 0x140003dcf
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140003dc0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140003db5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140003dcf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140026260
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x140003e20
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140003e05
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140003dfd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140003e17
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140026260
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x140003de0
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret