joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cc644
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov r14d, r9d
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [rsp + 0xa8]
mov qword [r11 - 0x48], rax
movzx r9d, word [rsp + 0x90]
call fcn.1400cc81c
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x1400cc787
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400dc302.0]
add rax, 0x18
mov qword [rdi + 0x30], rax
test rbx, rbx
jne 0x1400cc6c3
xor eax, eax
jmp 0x1400cc6cb
mov rcx, rbx
call fcn.1400e9024
mov r8d, eax
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140004960
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
movzx r8d, word [rsp + 0x90]
mov rdx, rbx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
je 0x1400cc77b
mov rbx, qword [rdi + 0x18]
lea rcx, [0x1401a6b78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rsi
lea rcx, [0x1401a6b30]
call fcn.1400d7014
mov qword [rax], rbx
mov rax, qword [0x1401a6b68]
lea rcx, [0x1401a6b68]
mov rax, qword [rax + 0x28]
call qword [case.0x1400dc302.0]
nop
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.1400cd198
nop
mov ecx, 0x80004005
call fcn.140004d90
int3

Function at 0x1400cca10
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rcx + 0x20], 0
lea rax, vtable.CInternetSession.0
and qword [rcx + 0x18], 0
mov edi, r9d
mov qword [rcx], rax
mov r10, rdx
mov qword [rcx + 8], r8
mov rbx, rcx
test rdx, rdx
jne 0x1400cca48
call fcn.1400c8854
mov r10, qword [rax + 0x20]
mov eax, dword [rsp + 0x70]
mov edx, edi
mov r9, qword [rsp + 0x68]
mov rcx, r10
mov r8, qword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx + 0x10], rax
mov rdi, rax
test rax, rax
je 0x1400ccab6
lea rcx, [0x1401a6b78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, rdi
lea rcx, [0x1401a6b30]
call fcn.1400d7014
lea rcx, [0x1401a6b68]
mov qword [rax], rbx
mov rax, qword [0x1401a6b68]
mov rax, qword [rax + 0x28]
call qword [case.0x1400dc302.0]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.1400cd198
int3

Function at 0x1400d0edc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetMenu]
mov rcx, rax
add rsp, 0x28
jmp fcn.1400d8c20
Function at 0x1400d2198
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.1400d8a38
mov rdi, rax
test rax, rax
je 0x1400d2214
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400d220f
cmp dword [rbx], 0x40
jb 0x1400d220f
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x1400d220f
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400d2218
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d7cf8
Capabilities:
Terminate process

Disassembly:
lea rcx, [r9 + rax*4 + 8]
movdqu xmm1, xmmword [rcx]
paddd xmm1, xmm0
movdqu xmmword [r8 + rax*4 + 8], xmm1
movdqu xmm2, xmmword [rcx + 0x10]
paddd xmm2, xmm0
movdqu xmmword [r8 + rax*4 + 0x18], xmm2
movdqu xmm3, xmmword [rcx + 0x20]
paddd xmm3, xmm0
movdqu xmmword [r8 + rax*4 + 0x28], xmm3
movdqu xmm4, xmmword [rcx + 0x30]
paddd xmm4, xmm0
movdqu xmmword [r8 + rax*4 + 0x38], xmm4
add rax, 0x10
cmp rax, r11
jb 0x1400d7ccb
jmp 0x1400d7d78
lea eax, [rdx + 0x17ff]
cmp eax, 0x17fe
ja 0x1400d7dcd
mov ecx, ebp
neg ecx
add ecx, 0x17fe
cmp ecx, 4
jb 0x1400d7e1a
mov eax, ecx
xor r11d, r11d
and eax, 0xfffffffc
lea edx, [rdx*4 + 0x5ff8]
lea r13d, [rdx + r11*4]
add r11d, 4
movsxd r13, r13d
movdqu xmm1, xmmword [r13 + r9 + 8]
paddd xmm1, xmm0
movdqu xmmword [r13 + r8 + 8], xmm1
cmp r11d, eax
jb 0x1400d7da7
cmp eax, ecx
jb 0x1400d7df7
xor eax, eax
jmp 0x1400d7dc9

Function at 0x1400d7e00
Capabilities:
Terminate process

Disassembly:
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x14019cb20]
mov dword [r8 + 8], eax
mov ebp, dword [r8 + 0xc]
add rbp, r8
lea rax, [0x14019cab0]
add byte [rbx - 0x15fcb7f0], cl
mov ecx, dword [rax]
add rcx, r8
call rbp
nop
jmp 0x1400d7b5a
lea edx, [rax*4]
inc eax
lea r11d, [rdx + rbp*4]
movsxd r11, r11d
mov r13d, dword [r11 + r9 + 8]
add r13d, r10d
mov dword [r11 + r8 + 8], r13d
cmp eax, ecx
jb 0x1400d7df7
jmp 0x1400d7dcd

Function at 0x1400d91b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400d8a2f
test rdx, rdx
je 0x1400d8a2f
mov rcx, rdx
call fcn.1400e9024
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
mov rsi, rax
call fcn.1400e17c0
mov eax, 0x100
cmp rsi, rax
ja 0x1400d89fe
mov r8d, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x1400d89fe
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400d8a0a
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400dbfd0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400c8068
int3
sub rsp, 0x78
test rdx, rdx
je 0x1400d9218
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1400d9202
cmp qword [rcx + 0x18], 0
jne 0x1400d91fd
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1400d921e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1400d9218
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp 0x1400d8978
call fcn.1400c8068
int3
call fcn.1400c8068
int3

Function at 0x1400fc3d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400fc138
Function at 0x1401067bc
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140106799
call fcn.1400e4174
mov dword [rax], socket
call fcn.1400e4024
or eax, 0xffffffff
jmp 0x1401067b6
sub dword [rcx + 0x10], 1
jns 0x1401067a8
add rsp, 0x28
jmp fcn.140107960
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140106778

Function at 0x140107960
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14010761c
call fcn.1400e4174
mov dword [rax], socket
call fcn.1400e4024
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140107604
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140107604
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14010764e
lock or dword [rax + 0x14], 0x10
jmp 0x140107604
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14010766b
mov rcx, qword [rbp + 0x10]
call fcn.14010ca7c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400fa678
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140107054
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401076c2
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140107604
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14010772e
mov rcx, qword [rbp + 0x10]
call fcn.1400fa678
cmp eax, 0xffffffff
je 0x140107715
mov rcx, qword [rbp + 0x10]
call fcn.1400fa678
cmp eax, 0xfffffffe
je 0x140107715
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400fa678
movsxd rdi, eax
lea rsi, [0x1401abd60]
mov rcx, rbx
sar rdi, 6
call fcn.1400fa678
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14010771c
lea rax, [0x14019d260]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14010772e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140107764
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140107760
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140107760
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x140107607
jmp 0x1401075d4
Function at 0x140110850
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140110863
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140110e70
lea rdx, [0x140197680]
lea rcx, [rsp + 0x20]
call fcn.1400e1a38
int3

Function at 0x1401109ad
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
lea rax, str.InternetOpenA
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x34]
push rax
xor al, 0x48
lea ecx, [rsp + 0x38]
call qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140110a1e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x58
ret

Function at 0x1401109b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
lea rax, str.InternetOpenA
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x34]
push rax
xor al, 0x48
lea ecx, [rsp + 0x38]
call qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140110a1e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x58
ret

Function at 0x140110a00
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
lea rax, str.InternetOpenA
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x34]
push rax
xor al, 0x48
lea ecx, [rsp + 0x38]
call qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140110a1e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x58
ret

Function at 0x14011b0ec
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1401ac390]
xor edx, edx
jmp fcn.140110850

Function at 0x14011ba84
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1401ac390]
jmp fcn.140110850
Function at 0x1401276fc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1401277b8]
mov r9, qword [r9 + 8]
jmp fcn.140118aa4

Function at 0x140127790
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1401277c8]
mov r9, qword [r9 + 8]
jmp fcn.140118aa4
Function at 0x14000631c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call fcn.140196000
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400067b0
add rsp, 0x28
jmp 0x14000631c
Function at 0x14000631c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401a9000
add rsp, 0x28
jmp 0x14000631c
Function at 0x14000264c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push r12
push r13
sub rsp, 0x58
mov rbx, qword [rsp + 0xa0]
xor r12d, r12d
mov r10d, edx
mov r13, r9
mov rbp, rcx
mov eax, dword [rbx + 0x6c]
cmp dword [r10 + rcx - 8], eax
je 0x14000268f
xor al, al
add rsp, 0x58
pop r13
pop r12
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], rdi
lea rdx, [rbx + 0x48]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x28]
mov r8d, 4
mov qword [rsp + 0x40], r15
call fcn.140003eec
lea rdx, [rbx + 0x1c]
mov r8d, 4
lea rcx, [rsp + 0x2c]
call fcn.140003eec
xor r15d, r15d
mov qword [rsp + 0x98], rsi
xor r14d, r14d
mov rdi, rbp
xor eax, eax
mov qword [rsp + 0x30], rax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsp + 0x88]
lea rbx, [rdi + 1]
mov eax, ebp
xor r9d, r9d
sub eax, edi
lea r11d, [rcx - 0x10]
add r11d, eax
je 0x140002826
lea r8, [rsp + 0x28]
mov r10, rbx
sub r8, rbx
nop word [rax + rax]
xor edx, edx
mov rax, r10
movzx ecx, byte [r8 + rax]
cmp byte [rax], cl
je 0x140002733
cmp cl, 0x3f
jne 0x1400027d4
inc edx
inc rax
cmp edx, 8
jb 0x140002721
mov edi, r9d
add rdi, rbx
je 0x140002826
mov ecx, dword [rdi]
lea rsi, [rdi + 8]
mov dword [rsp + 0x20], ecx
movzx eax, byte [rsp + 0x21]
movzx ebx, byte [rsp + 0x22]
shl eax, 0x10
shl ebx, 8
add ebx, eax
movzx eax, cl
shl eax, 0x18
add ebx, eax
shr ecx, 0x18
mov rax, qword [rsp + 0xa0]
add ebx, ecx
mov eax, dword [rax + 0xb4]
cmp dword [rsi], eax
jne 0x1400027e8
test r15, r15
jne 0x1400027f1
mov r14d, dword [rsi + 8]
add r14d, 0x10
mov qword [rsp + 0x30], rsi
mov eax, r14d
jne 0x1400027a8
mov rax, qword [r13 + 0xc8]
mov eax, dword [rax + 0xf8]
mov edx, eax
mov rax, qword [r13 + 0xc8]
mov ecx, dword [rax + 0x108]
call qword [r13 + 0x18]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov r15, rax
call fcn.140003eec
add r12d, ebx
jmp 0x1400026ec
inc r9d
inc r10
dec r8
cmp r9d, r11d
jb 0x14000271c
jmp 0x140002826
test r15, r15
je 0x1400026ec
mov ecx, r12d
lea ebp, [rbx + r12]
add rcx, r15
mov rdx, rsi
cmp ebp, r14d
ja 0x14000281b
mov r8d, ebx
call fcn.140003eec
mov r12d, ebp
mov rbp, qword [rsp + 0x80]
jmp 0x1400026ec
sub r14d, r12d
mov r8d, r14d
call fcn.140003eec
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
test r15, r15
jne 0x14000284f
xor al, al
mov r15, qword [rsp + 0x40]
add rsp, 0x58
pop r13
pop r12
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x30]
lea rcx, [r15 + 0x10]
mov r8d, dword [rax + 4]
mov eax, dword [rax + 8]
test al, 3
je 0x140002869
dec eax
test al, 3
jne 0x140002863
test eax, eax
je 0x140002889
lea edx, [rax - 1]
shr edx, 2
inc edx
nop dword [rax]
xor dword [rcx], r8d
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14000287c
mov rax, qword [rsp + 0x90]
test r12d, r12d
mov qword [rax], r15
setne al
mov r15, qword [rsp + 0x40]
add rsp, 0x58
pop r13
pop r12
pop rbp
pop rbx
ret