joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402ce8e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
in al, dx
nop
add byte [rax], al
add byte [rax], al

Function at 0x1402d1710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x1402d177c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x1402d177c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x1402d177c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x1402d1828
cmp byte [rdx], 0xed
jne 0x1402d1831
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x1402d1831
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x1402d17c1
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x1402d191b
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.1402c2840
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x1402d1940
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x1402d18ce
test rdi, rdi
je 0x1402d18c0
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x1402d1858
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x1402d18c0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x1402d1850
cmp r10b, 0xe0
jb 0x1402d183a
cmp r10b, 0xed
jne 0x1402d188f
cmp r8, rax
je 0x1402d18c0
lea r8, [r9 + 2]
cmp r8, rax
je 0x1402d18c0
cmp byte [r9 + 1], 0x9f
ja 0x1402d18bc
add r9, 3
mov r8, r9
jmp 0x1402d1850
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x1402d1850
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x1402d1850
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x1402d18ee
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.1402f9e40
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x1402d18cb
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.1402f9e40
mov rdx, r15
jmp 0x1402d17dc
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1402f9e40
mov rbx, qword [rsi + 0x10]
jmp 0x1402d1819
Function at 0x1402d2d00
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov eax, dword [0x14049f4e8]
cmp eax, 3
jne 0x1402d2e2f
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1402d2e55
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.1402df5b0
test byte [rbp + 0x158], 1
je 0x1402d2d9e
lea rax, [0x1404181a0]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1402d2e20
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1402d2e01
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1402d2e19
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.1402fa0aa
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1402d2d55
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.1402fa160
jmp 0x1402d2e20
Function at 0x1402d2fa0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x34], 0x80
lea rdx, [rbp - 0x60]
lea r8, [rbp + 0x34]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1402d302a
mov eax, dword [rbp + 0x34]
movzx ecx, word [rbp - 0x60]
cmp ecx, 0x17
je 0x1402d303a
cmp ecx, 2
jne 0x1402d3078
cmp eax, 0xf
jbe 0x1402d3092
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x1402d3088
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1402d307f
cmp eax, 0x1b
jbe 0x1402d30aa
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x24], xmm0
mov word [rsi], 1
movups xmm0, xmmword [rbp + 0x22]
movups xmmword [rsi + 2], xmm0
movzx r8d, word [rbp + 0x32]
mov word [rsi + 0x12], r8w
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x1402d3088
lea rax, str.invalid_argument
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
lea r8, [0x140419a70]
mov edx, 0x39
call fcn.1402fb3f0
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140419ac8]
mov edx, 0x3a
call fcn.1402fb3f0
int3
Function at 0x1402ea690
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1402ea6da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402ea6da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402ea6da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402ea6da
cmp dword [rcx + 0x84], 0xe
jbe 0x1402ea6da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1402ea6dc
xor al, al
add rsp, 0x28
ret
Function at 0x1402f99a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
lea rcx, [0x14041643d]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1402f9a03
mov rdi, rax
lea rdx, [0x14041645e]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402f9a03
mov rsi, rax
lea rdx, [0x14041646c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402f9a03
mov r14, rax
xor ebx, ebx
jmp 0x1402f9a89
lea rcx, [0x1404163f8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1402f9afa
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402f9afa
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402f9afa
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402f9afa
mov rsi, rax
lea rcx, [rbp - 0x48]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1402f9afa
mov r14, qword [rbp - 0x48]
movzx eax, byte [0x14049f3b5]
mov ecx, 0x18
mov edx, 8
call fcn.140061f20
test rax, rax
je 0x1402f9b2c
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x14049f410], rdi
je 0x1402f9aec
mov rsi, rax
cmp qword [rdi], 0
je 0x1402f9ad6
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140061f30
mov rdi, rsi
mov rax, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x48]
call fcn.1402fb350
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1402fb06f
ud2
Function at 0x1402fa160
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1402dac10
mov rdx, qword [rbp - 0x28]
mov rax, rdx
neg rax
jno 0x1402fa1e2
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1402fa212
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1402fa226
lea rax, [0x1404181a0]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jae 0x1402fa246
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.140061f30
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x1402fa246
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140061f30
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400719b0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x14007c7d0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x140194040]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, reloc.d2d1.dll_Ordinal_1
call fcn.1400742e1
nop
lea rdx, [0x1401614a4]
mov rcx, qword [rbp + 0x1f0]
call fcn.14007292d
test eax, eax
jne 0x14007c847
mov byte [section..data], 0
lea rdx, [0x1401614ac]
mov rcx, qword [rbp + 0x1f0]
call fcn.14007292d
test eax, eax
jne 0x14007c865
mov byte [0x140195370], 1
call fcn.1400716e0
nop
call fcn.1400730bc
nop
call fcn.140071a1e
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
mov dword [rbp + 4], eax
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x48], rax
lea rax, [0x1401614b8]
mov qword [rbp + 0x70], rax
lea rax, [0x1400717ee]
mov qword [rbp + 0x38], rax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x34], 0xb
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
nop
mov qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x1e0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x1f4
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xff0000
lea r8, [0x1401614c4]
lea rdx, [0x1401614b8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 0x98], rax
mov edx, 5
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14007c991
lea rcx, [rbp + 0xb8]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop
lea rcx, [rbp + 0xb8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x14007c95a
mov rcx, qword [0x140195378]
call qword [sym.imp.USER32.dll_DestroyMenu]
nop
mov rax, qword [0x1401954d8]
mov rax, qword [rax]
mov rcx, qword [0x1401954d8]
call qword [rax + 0x10]
nop
mov rax, qword [0x1401954d0]
mov rax, qword [rax]
mov rcx, qword [0x1401954d0]
call qword [rax + 0x10]
nop
mov rax, qword [0x1401954c8]
mov rax, qword [rax]
mov rcx, qword [0x1401954c8]
call qword [rax + 0x10]
nop
mov rax, qword [0x1401954c0]
mov rax, qword [rax]
mov rcx, qword [0x1401954c0]
call qword [rax + 0x10]
nop
mov rax, qword [0x1401954b8]
mov rax, qword [rax]
mov rcx, qword [0x1401954b8]
call qword [rax + 0x10]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14015ffc0]
call fcn.140073a12
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400728dd
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140072716
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14010b870
mov rax, rcx
neg rcx
test rax, 7
je 0x14010b88d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14010b8e8
test al, 7
jne 0x14010b880
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 0x14010b8a1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14010b912
test dh, dh
je 0x14010b90c
shr rdx, 0x10
test dl, dl
je 0x14010b906
test dh, dh
je 0x14010b900
shr rdx, 0x10
test dl, dl
je 0x14010b8fa
test dh, dh
je 0x14010b8f4
shr edx, 0x10
test dl, dl
je 0x14010b8ee
test dh, dh
jne 0x14010b8a1
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 0x140072743
Capabilities:
Query environment variable

Disassembly:
jmp 0x14011cfd0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14011cb50
lea rcx, [rsp + 0x20]
call fcn.14011cba0
movzx eax, al
test eax, eax
jne 0x14011d015
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14011cb80
mov rax, qword [rsp + 0x40]
jmp 0x14011d10f
lea rcx, [rsp + 0x20]
call fcn.14011cca0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14011cc40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.14007295a
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14007236a
lea rcx, [rsp + 0x28]
call fcn.140072c4d
movzx eax, al
test eax, eax
jne 0x14011d0af
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400738aa
lea rcx, [rsp + 0x20]
call fcn.14011cb80
mov rax, qword [rsp + 0x50]
jmp 0x14011d10f
lea rcx, [rsp + 0x20]
call fcn.14011cca0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14007425a
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400728ec
lea rcx, [rsp + 0x28]
call fcn.1400747f0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400738aa
lea rcx, [rsp + 0x20]
call fcn.14011cb80
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x140072a59
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a1240
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400a0bc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400a127f
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 [0x1401a7020]
jmp 0x1400a1289
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140072bc1
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400a1170
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400a0b40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400a11b1
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 [0x1401a7020]
jmp 0x1400a11b7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140072c57
Capabilities:
Get geographical location

Disassembly:
jmp 0x14012a8c0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1401297f0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14012a927
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1401a7030]
jmp 0x14012a949
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14007246e
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140072c66
Capabilities:
Terminate process

Disassembly:
jmp 0x14007e700
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]
nop
add rsp, 0x28
ret
Function at 0x140072e46
Capabilities:
Print debug messages

Disassembly:
jmp 0x140136c60
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140194040]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140136c86
jmp 0x140136d03
mov rcx, qword [rbp + 0x30]
call fcn.140072716
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140136c9f
jmp 0x140136d03
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140136cbc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140071951
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.140071d39
test eax, eax
jne 0x140136d03
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400728dd
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140073300
Capabilities:
Parse pe header

Disassembly:
jmp 0x14007fa90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14007fab0
xor al, al
jmp 0x14007fb31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14007fac3
xor al, al
jmp 0x14007fb31
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 0x14007faed
xor al, al
jmp 0x14007fb31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14007fb01
xor al, al
jmp 0x14007fb31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14007fb13
xor al, al
jmp 0x14007fb31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007fb2f
xor al, al
jmp 0x14007fb31
mov al, 1
add rsp, 0x38
ret
Function at 0x1400737f6
Capabilities:
Terminate process

Disassembly:
jmp 0x14010c210
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 0x14010c23e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140073f4e
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 0x140073fad
Capabilities:
Print debug messages

Disassembly:
jmp 0x140113450
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 0x14007405c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a12b0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400a0c00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400a12f9
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 [0x1401a7020]
jmp 0x1400a1308
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x140149f40
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140071951
sub rsp, rax
mov rax, qword [0x140194040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140196e50]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14014a132
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14014a086
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14014a086
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14014a06b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14014a008
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14014a0f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014a151
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14014a12d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014a151
jmp 0x140149fde
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400728dd
add rsp, 0x1498
pop rdi
pop rsi
ret