joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180184f70
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
mov edx, r8d
call fcn.18007bf40
test al, al
je 0x180184fc8
mov eax, dword [rsi]
mov ecx, eax
and ecx, 0x1fffff00
mov dword [rsp + 0x34], ecx
je 0x180185032
test al, 1
jne 0x180184fd0
mov edx, 0xffffff00
lock xadd dword [rsi], edx
mov eax, edx
and eax, 0x3fffff00
cmp eax, 0x100
setne al
cmp edx, 0x40000000
setb cl
or cl, al
je 0x180185008
mov dword [rdi], 3
jmp 0x180185001
movzx eax, al
mov dword [rdi], 2
mov dword [rdi + 4], eax
mov edx, 0xffffff00
lock xadd dword [rsi], edx
mov eax, edx
and eax, 0x3fffff00
cmp eax, 0x100
setne al
cmp edx, 0x40000000
setb cl
or cl, al
je 0x18018501e
add rsp, 0x68
pop rdi
pop rsi
ret
add edx, 0xffffff00
mov rcx, rsi
call fcn.180183f70
mov dword [rdi], 3
jmp 0x180185001
add edx, 0xffffff00
mov rcx, rsi
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.180183f70
mov qword [rsp + 0x38], 0
lea rax, [0x18019f918]
mov qword [rsp + 0x20], rax
lea r8, [0x18019f820]
lea rdx, [rsp + 0x34]
lea r9, [rsp + 0x38]
mov cl, 1
call fcn.180197745
int3
Function at 0x18018caa0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rdx + 0x14], 6
mov qword [rbp + 0x98], rdx
mov rdi, qword [rdx]
mov rax, qword [0x180277178]
movzx eax, byte [rax]
test al, al
jne 0x18018cc05
mov ecx, dword [0x18028ec98]
test cl, 1
jne 0x18018cc05
cmp ecx, 0x100
jae 0x18018cb20
mov edx, ecx
or edx, 0x20000000
mov eax, ecx
lock cmpxchg dword [0x18028ec98], edx
jne 0x18018cb20
lea rax, [0x18028ec98]
movd xmm0, ecx
pshufd xmm0, xmm0, 0x50
jmp 0x18018cb5b
lea rdx, [0x18028ec98]
lea r9, [0x18028ec48]
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0xa7]
call fcn.1801844d0
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x18018cbcf
cmp eax, 2
je 0x18018cc05
mov rax, qword [rbp - 0x58]
movq xmm0, qword [rbp - 0x50]
lea rcx, [0x18028ec48]
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rax
movq qword [rbp + 0x90], xmm0
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x80]
call fcn.18018df00
mov r8d, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov eax, r8d
or eax, 0x20000000
mov edx, dword [rbp - 0x4c]
lock cmpxchg dword [rcx], edx
je 0x18018cc05
xor edx, r8d
or edx, 0x20000000
mov eax, dword [rcx]
nop dword [rax]
mov r8d, eax
xor r8d, edx
lock cmpxchg dword [rcx], r8d
jne 0x18018cbb0
cmp eax, 0x40000000
jb 0x18018cc05
xor eax, edx
mov edx, eax
call fcn.18018c540
jmp 0x18018cc05
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffff00
lock xadd dword [rcx], edx
mov eax, edx
and eax, 0x3fffff00
cmp eax, 0x100
setne al
cmp edx, 0x40000000
setb r8b
or r8b, al
jne 0x18018cc05
add edx, 0xffffff00
call fcn.18018c540
mov rdx, qword [0x18028ec70]
mov r8, qword [0x18028ec78]
lea rcx, [rbp - 0x60]
call fcn.180068420
lea rdx, [rbp - 0x60]
mov r8d, 0xe0
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x98]
mov dword [rax + 0x14], 1
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
mov rax, qword [rax + 0x10]
mov qword [rsi + 0x10], rax
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
Function at 0x180195e30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rdx + 0x14], 6
mov qword [rbp + 0x98], rdx
mov rdi, qword [rdx]
mov rax, qword [0x180277178]
movzx eax, byte [rax]
test al, al
jne 0x180195f95
mov ecx, dword [0x18028ec98]
test cl, 1
jne 0x180195f95
cmp ecx, 0x100
jae 0x180195eb0
mov edx, ecx
or edx, 0x20000000
mov eax, ecx
lock cmpxchg dword [0x18028ec98], edx
jne 0x180195eb0
lea rax, [0x18028ec98]
movd xmm0, ecx
pshufd xmm0, xmm0, 0x50
jmp 0x180195eeb
lea rdx, [0x18028ec98]
lea r9, [0x18028ec48]
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0xa7]
call fcn.1801844d0
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x180195f5f
cmp eax, 2
je 0x180195f95
mov rax, qword [rbp - 0x58]
movq xmm0, qword [rbp - 0x50]
lea rcx, [0x18028ec48]
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rax
movq qword [rbp + 0x90], xmm0
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x80]
call fcn.180196f60
mov r8d, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov eax, r8d
or eax, 0x20000000
mov edx, dword [rbp - 0x4c]
lock cmpxchg dword [rcx], edx
je 0x180195f95
xor edx, r8d
or edx, 0x20000000
mov eax, dword [rcx]
nop dword [rax]
mov r8d, eax
xor r8d, edx
lock cmpxchg dword [rcx], r8d
jne 0x180195f40
cmp eax, 0x40000000
jb 0x180195f95
xor eax, edx
mov edx, eax
call fcn.1801958d0
jmp 0x180195f95
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffff00
lock xadd dword [rcx], edx
mov eax, edx
and eax, 0x3fffff00
cmp eax, 0x100
setne al
cmp edx, 0x40000000
setb r8b
or r8b, al
jne 0x180195f95
add edx, 0xffffff00
call fcn.1801958d0
mov rdx, qword [0x18028ec70]
mov r8, qword [0x18028ec78]
lea rcx, [rbp - 0x60]
call fcn.180068420
lea rdx, [rbp - 0x60]
mov r8d, 0xe0
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x98]
mov dword [rax + 0x14], 1
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
mov rax, qword [rax + 0x10]
mov qword [rsi + 0x10], rax
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
Function at 0x180199200
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
lea rcx, [0x1801aa6cd]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x180199260
mov rdi, rax
lea rdx, [0x1801aa6ee]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180199260
mov rsi, rax
lea rdx, [0x1801aa6fc]
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180199260
mov r14, rax
xor ebx, ebx
jmp 0x1801992e2
lea rcx, [0x1801aa688]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x18019934e
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x18019934e
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x18019934e
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x18019934e
mov rsi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x18019934e
mov r14, qword [rbp - 0x20]
movzx eax, byte [0x18028ecd1]
mov ecx, 0x18
mov edx, 8
call fcn.18006a570
test rax, rax
je 0x180199353
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x18028ed40], rdi
je 0x180199340
mov rsi, rax
cmp qword [rdi], 0
je 0x18019932a
mov rcx, qword [rdi + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.18006a580
mov rdi, rsi
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.180198f40
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rbx
mov ecx, 8
mov edx, 0x18
call fcn.18019decf
ud2
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x14000da84
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d7d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000dada
mov ecx, 1
call fcn.14000d7d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
pop rdx
or eax, 0xacf000fa
pop rbp
int 0x7b
movsd dword [rdi], dword [rsi]
sub al, 0xad
sbb ah, ah
or byte [rsi + 0x11], ah
pop rdx
iretd
Function at 0x14006c343
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400fd9c0
mov rax, rcx
neg rcx
test rax, 7
je 0x1400fd9dd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400fda38
test al, 7
jne 0x1400fd9d0
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 0x1400fd9f1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400fda62
test dh, dh
je 0x1400fda5c
shr rdx, 0x10
test dl, dl
je 0x1400fda56
test dh, dh
je 0x1400fda50
shr rdx, 0x10
test dl, dl
je 0x1400fda4a
test dh, dh
je 0x1400fda44
shr edx, 0x10
test dl, dl
je 0x1400fda3e
test dh, dh
jne 0x1400fd9f1
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 0x14006c9dd
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140129010
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140181008]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140129036
jmp 0x1401290b3
mov rcx, qword [rbp + 0x30]
call fcn.14006c343
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14012904f
jmp 0x1401290b3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14012906c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14006c046
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.14006e15c
test eax, eax
jne 0x1401290b3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14006cd9d
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14006d4d7
Capabilities:
Query environment variable

Disassembly:
jmp 0x14010eca0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14010ead0
lea rcx, [rsp + 0x40]
call fcn.14010ec50
movzx eax, al
test eax, eax
jne 0x14010ece8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14010eb00
mov rax, qword [rsp + 0x70]
jmp 0x14010eeb9
lea rcx, [rsp + 0x40]
call fcn.14010ec20
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14010ebc0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14010ec20
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14006ead0
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14010ed8e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14010eb00
mov rax, qword [rsp + 0x80]
jmp 0x14010eeb9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14006d68f
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14006c13b
lea rcx, [rsp + 0x48]
call fcn.14006f0cf
movzx eax, al
test eax, eax
jne 0x14010edf5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14006c96a
lea rcx, [rsp + 0x40]
call fcn.14010eb00
mov rax, qword [rsp + 0x88]
jmp 0x14010eeb9
lea rcx, [rsp + 0x48]
call fcn.14006e46d
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14010ec20
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14006ead0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14010ee8b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14006c96a
lea rcx, [rsp + 0x40]
call fcn.14010eb00
mov rax, qword [rsp + 0xa0]
jmp 0x14010eeb9
lea rcx, [rsp + 0x48]
call fcn.14006c424
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14006c96a
lea rcx, [rsp + 0x40]
call fcn.14010eb00
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x14006dc6b
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140079b70
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1400794e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140079ba7
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x140193010]
jmp 0x140079bad
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x14006e300
Capabilities:
Print debug messages

Disassembly:
jmp 0x140105440
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 0x14006e503
Capabilities:
Set environment variable

Disassembly:
jmp 0x14012bec0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14006f354
lea rcx, [rsp + 0x48]
call fcn.14006f354
call fcn.14006ef99
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14006c6ea
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14012bf2f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14006f138
lea rcx, [rsp + 0x78]
call fcn.14006f138
mov eax, dword [rsp + 0x24]
jmp 0x14012bfc0
call fcn.14006ef99
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14006c6ea
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14012bf76
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14006f138
lea rcx, [rsp + 0x78]
call fcn.14006f138
mov eax, dword [rsp + 0x2c]
jmp 0x14012bfc0
lea rcx, [rsp + 0x48]
call fcn.14006c023
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14006c023
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14006f138
lea rcx, [rsp + 0x78]
call fcn.14006f138
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret

Function at 0x14006e5e9
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140079c90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1400795a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140079ccf
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 [0x140193010]
jmp 0x140079cde
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x14006e96d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075a70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140075a90
xor al, al
jmp 0x140075b11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140075aa3
xor al, al
jmp 0x140075b11
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 0x140075acd
xor al, al
jmp 0x140075b11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140075ae1
xor al, al
jmp 0x140075b11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140075af3
xor al, al
jmp 0x140075b11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140075b0f
xor al, al
jmp 0x140075b11
mov al, 1
add rsp, 0x38
ret
Function at 0x14006ec29
Capabilities:
Terminate process

Disassembly:
jmp 0x140100680
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 0x1401006ae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14006ed82
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 0x14006f02a
Capabilities:
Get geographical location

Disassembly:
jmp 0x14011c8c0
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.14011b7f0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14011c927
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 [0x140193030]
jmp 0x14011c949
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14006d8ba
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 0x14013c2f0
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.14006c046
sub rsp, rax
mov rax, qword [0x140181008]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140183a60]
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 0x14013c4e2
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 0x14013c436
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14013c436
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 0x14013c41b
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 0x14013c3b8
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 0x14013c4a2
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 0x14013c501
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 0x14013c4dd
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 0x14013c501
jmp 0x14013c38e
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.14006cd9d
add rsp, 0x1498
pop rdi
pop rsi
ret