joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060820
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140092080]
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 0x1400608b5
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 0x140060916
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14003ad70
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.1400739b0
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 0x1400609d1
sub ecx, 1
je 0x140060a44
sub ecx, 1
je 0x140060980
cmp ecx, 1
je 0x140060963
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400808a0]
call fcn.14003ad70
jmp 0x140060a44
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140060550
test eax, eax
je 0x140060a44
jmp 0x1400608ea
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 0x140060a44
sub rax, rsi
cmp rax, rbp
jae 0x140060a44
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14003aef0
jmp 0x140060a44
cmp r8d, 4
jle 0x140060a44
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 0x140060a44
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14003ac90
mov esi, eax
test eax, eax
je 0x140060a23
mov edx, 5
mov rcx, rbx
call fcn.140061510
mov eax, esi
jmp 0x1400608ea
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140049770
mov rcx, r14
call fcn.140049a50
test eax, eax
je 0x1400608e8
mov edx, 5
mov rcx, rbx
call fcn.140061510
mov eax, Ordinal_46
jmp 0x1400608ea
Function at 0x1400737e0
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 [str.LL_a_]
mov rdi, rax
test rax, rax
jne 0x140073822
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 0x140073869
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 0x1400738c2
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 0x140073880
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140073903
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008602a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008602b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400738d0
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 0x1400748b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400748fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400748fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400748fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400748fa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400748fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400748fc
xor al, al
add rsp, 0x28
ret
Function at 0x1400b3ea6
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140101720
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140101748
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140101792
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14010173d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x1400b3f87
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400c2e39
mov r10, rcx
mov eax, 0x1017
syscall
ret

Function at 0x1400b3feb
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401d68f0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1401d5940
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401d6927
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14029a020]
jmp 0x1401d692d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x1400b42ac
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1400c3530
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14027c068]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x140299004]
call fcn.1400b8384
call fcn.1400b76be
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400c3593
mov eax, 0xffffffff
jmp 0x1400c36a0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x58]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400c35b0
mov eax, 0xffffffff
jmp 0x1400c36a0
mov eax, 8
imul rax, rax, 0x32
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + rax]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400c35d6
mov eax, 0xffffffff
jmp 0x1400c36a0
mov dword [rbp + 0x84], 0
lea r9, [rbp + 0x84]
mov r8d, 0x40
mov edx, 0x3e8
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400c360a
mov eax, 0xffffffff
jmp 0x1400c36a0
mov eax, 1
imul rax, rax, 0x38
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
cmp eax, 0x41
je 0x1400c3627
mov eax, 0xffffffff
jmp 0x1400c36a0
lea rax, section..data
add rax, 3
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
lea rcx, [0x1400b7d17]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
add rax, 0x2d
mov r8d, 0xd
lea rdx, section..data
mov rcx, rax
call fcn.1400b5873
mov rax, qword [rbp + 0x68]
add rax, 0x3c
mov qword [0x14027e870], rax
mov rax, qword [0x14027e880]
mov qword [0x14027e878], rax
mov r8, qword [0x14027e878]
mov rdx, qword [0x14027e870]
lea rcx, str.__g_ClientCopyDDEIn1_ContinueAddr:_p__g_BitMapAddr:_p_n
call fcn.1400b578d
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14022d510]
call fcn.1400b74cf
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400b5855
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400b5562
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14019b660
mov rax, rcx
neg rcx
test rax, 7
je 0x14019b67d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14019b6d8
test al, 7
jne 0x14019b670
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14019b691
mov rdx, qword [rax - 8]
test dl, dl
je 0x14019b702
test dh, dh
je 0x14019b6fc
shr rdx, 0x10
test dl, dl
je 0x14019b6f6
test dh, dh
je 0x14019b6f0
shr rdx, 0x10
test dl, dl
je 0x14019b6ea
test dh, dh
je 0x14019b6e4
shr edx, 0x10
test dl, dl
je 0x14019b6de
test dh, dh
jne 0x14019b691
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400b55b2
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401ff968
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1401ffa05
mov rbp, rax
cmp word [rax], si
je 0x1401ff9b1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401ff998
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401ff994
sub rbp, rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
add rbp, 2
mov r9d, 0x40
sar rbp, 1
add rbp, rbp
mov rcx, rbp
lea edx, [r9 - 0x3e]
call fcn.1400b592c
mov rdi, rax
test rax, rax
je 0x1401ff9f0
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.1400b5873
mov rsi, rdi
mov edx, 2
xor ecx, ecx
call fcn.1400b3f05
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b570b
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400c2e23
mov r10, rcx
mov eax, 0x10f1
syscall
ret
Function at 0x1400b5adf
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14015c070
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14015b9f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14015c0af
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14029a020]
jmp 0x14015c0b9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400b5d23
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401ff80c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401ff8f4
mov rsi, rax
cmp word [rax], r14w
je 0x1401ff85f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1401ff847
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1401ff843
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1400b6ed5
movsxd rbp, eax
test eax, eax
je 0x1401ff8f4
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.1400b592c
mov rdi, rax
test rax, rax
je 0x1401ff8e2
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400b6ed5
test eax, eax
je 0x1401ff8e2
mov rsi, rdi
mov rdi, r14
jmp 0x1401ff8e5
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.1400b3f05
jmp 0x1401ff8f7
mov rsi, r14
test rbx, rbx
je 0x1401ff905
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400b5d3c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14015bfa0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14015b970
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14015bfe1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14029a020]
jmp 0x14015bfe7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400b5dfa
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401d6bc0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401d5b40
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401d6c13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x14029a020]
jmp 0x1401d6c35
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b5099
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret

Function at 0x1400b5e09
Capabilities:
Terminate process

Disassembly:
jmp 0x140138df0
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 0x1400b61b0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140212c10
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14027c068]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140212c36
jmp 0x140212cb3
mov rcx, qword [rbp + 0x30]
call fcn.1400b5562
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140212c4f
jmp 0x140212cb3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140212c6c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b3f50
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400b454f
test eax, eax
jne 0x140212cb3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400b5855
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400b650c
Capabilities:
Create process on windows

Disassembly:
jmp 0x14020fd80
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
lea rcx, [rsp + 0xe0]
call fcn.1400b4eb9
lea rcx, [rsp + 0xb0]
call fcn.1400b4eb9
lea rcx, [rsp + 0x80]
call fcn.1400b4eb9
call fcn.1400b5ca6
mov r8d, eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x120]
call fcn.1400b4ba8
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14020fe22
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x80]
call fcn.1400b540e
lea rcx, [rsp + 0xb0]
call fcn.1400b540e
lea rcx, [rsp + 0xe0]
call fcn.1400b540e
mov eax, dword [rsp + 0x54]
jmp 0x14020ffbe
call fcn.1400b5ca6
mov r8d, eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x128]
call fcn.1400b4ba8
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14020fe82
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x80]
call fcn.1400b540e
lea rcx, [rsp + 0xb0]
call fcn.1400b540e
lea rcx, [rsp + 0xe0]
call fcn.1400b540e
mov eax, dword [rsp + 0x5c]
jmp 0x14020ffbe
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x158], 0
je 0x14020ff08
call fcn.1400b5ca6
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x158]
call fcn.1400b4ba8
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14020fef6
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x80]
call fcn.1400b540e
lea rcx, [rsp + 0xb0]
call fcn.1400b540e
lea rcx, [rsp + 0xe0]
call fcn.1400b540e
mov eax, dword [rsp + 0x64]
jmp 0x14020ffbe
lea rcx, [rsp + 0x80]
call fcn.1400b4de2
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb0]
call fcn.1400b4de2
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe0]
call fcn.1400b4de2
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x148]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x140]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x80]
call fcn.1400b540e
lea rcx, [rsp + 0xb0]
call fcn.1400b540e
lea rcx, [rsp + 0xe0]
call fcn.1400b540e
mov eax, dword [rsp + 0x68]
add rsp, 0x118
ret
Function at 0x1400b6525
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400c2f20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14027c068]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x140299004]
call fcn.1400b8384
mov qword [rbp + 8], 0
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x50
mov dword [rbp + 0x34], 3
lea rax, [0x1400b5ef4]
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x48], 0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1400c2fe4
xor eax, eax
jmp 0x1400c3063
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
mov r8, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x170]
mov ecx, 0x300
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 8], rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x14022d590]
call fcn.1400b74cf
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400b5855
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400b6697
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400c2e2e
mov r10, rcx
mov eax, 0x1058
syscall
ret

Function at 0x1400b6917
Capabilities:
Parse pe header

Disassembly:
jmp 0x14013a810
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14013a830
xor al, al
jmp 0x14013a8b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14013a843
xor al, al
jmp 0x14013a8b1
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 0x14013a86d
xor al, al
jmp 0x14013a8b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14013a881
xor al, al
jmp 0x14013a8b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14013a893
xor al, al
jmp 0x14013a8b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14013a8af
xor al, al
jmp 0x14013a8b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400b7178
Capabilities:
Terminate process

Disassembly:
jmp 0x1401999f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140199a1e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400b7d53
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400b7290
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401d69b0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401d59c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401d69e5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14029a020]
jmp 0x1401d69ef
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x1400b796b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401d6a10
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401d5a00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401d6a4f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14029a020]
jmp 0x1401d6a5e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400b7dda
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401e5930
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400b7f38
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14015c0e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14015ba30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14015c129
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14029a020]
jmp 0x14015c138
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1400b7ffb
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400c2e44
mov r10, rcx
mov eax, 0x109d
syscall
ret

Function at 0x1400b804b
Capabilities:
Set environment variable

Disassembly:
jmp 0x140218510
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x70]
call fcn.1400b4eb9
lea rcx, [rsp + 0x40]
call fcn.1400b4eb9
call fcn.1400b5ca6
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.1400b4ba8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14021857f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.1400b540e
lea rcx, [rsp + 0x70]
call fcn.1400b540e
mov eax, dword [rsp + 0x24]
jmp 0x14021860c
call fcn.1400b5ca6
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.1400b4ba8
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1402185c6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x40]
call fcn.1400b540e
lea rcx, [rsp + 0x70]
call fcn.1400b540e
mov eax, dword [rsp + 0x2c]
jmp 0x14021860c
lea rcx, [rsp + 0x40]
call fcn.1400b4de2
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.1400b4de2
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1400b540e
lea rcx, [rsp + 0x70]
call fcn.1400b540e
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret