joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1410
call fcn.1400090d0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov word [rsp + 0x20], 0x514a
mov byte [rsp + 0x22], 0x4b
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13f4], 0xffffffff
mov dword [rsp + 0x74], eax
mov ecx, 1
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x140002250
mov dword [rsp + 0x70], 0x270
lea rcx, [rsp + 0x70]
call fcn.140006800
mov ecx, eax
lea rax, [rcx + rcx*2]
test eax, eax
jne 0x1400022a5
nop dword [rax + rax]
lea rcx, [rsp + 0x70]
call fcn.140006800
mov ecx, eax
lea rax, [rcx + rcx*2]
cmp eax, 1
jb 0x140002290
shr rax, 0x20
mov esi, 0x80000000
sub rax, rsi
xor rax, 0xffffffff80000000
movzx edi, byte [rsp + rax + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140006800
mov ecx, eax
lea rdx, [rcx + rcx*4]
add rdx, rdx
cmp edx, 5
ja 0x1400022ec
lea rcx, [rsp + 0x70]
call fcn.140006800
mov ecx, eax
lea rdx, [rcx + rcx*4]
add rdx, rdx
cmp edx, 6
jb 0x1400022d4
shr rdx, 0x20
add edx, 0x80000001
xor edx, esi
lea rcx, [rsp + 0x50]
call fcn.140005170
nop
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140004cb0
nop
lea r9, [rsp + 0x50]
mov r8, rax
mov rcx, rbx
call fcn.140005fa0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140002368
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002363
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002363
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007e2c
movdqa xmm0, xmmword [0x14000ae60]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400023bb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007e2c
mov rax, rbx
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.140007dd0
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140006800
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140006861
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140006820
mov ecx, dword [r9]
jmp 0x14000694b
cmp ecx, 0x4e0
jb 0x14000694b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140006880
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400068d0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140008820
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000886a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000886a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000886a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000886a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000886a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000886c
xor al, al
add rsp, 0x28
ret
Function at 0x140001f80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001fca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001fca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001fca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001fca
cmp dword [rcx + 0x84], 0xe
jbe 0x140001fca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001fcc
xor al, al
add rsp, 0x28
ret

Function at 0x14000553c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400055ab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400055ab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400055ab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400055ab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400055ab
cmp dword [rcx + 0x84], 0xe
jbe 0x1400055ab
cmp dword [rcx + 0xf8], 0
je 0x1400055ab
mov ecx, ebx
call fcn.14000565c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005438
nop
cmp dword [rbp + 0x20], 0
je 0x1400055f9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005604
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000553c

Function at 0x140005740
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000553c
Function at 0x1400087f4
Capabilities:
Query environment variable

Disassembly:
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 esi, esi
mov rbx, rax
test rax, rax
jne 0x140008824
xor eax, eax
jmp 0x1400088e7
mov rbp, rbx
cmp word [rax], si
je 0x140008849
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008830
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000882c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140008714
movsxd r14, eax
test eax, eax
jne 0x140008887
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000881d
mov rcx, r14
call fcn.140009288
mov rdi, rax
test rax, rax
jne 0x1400088a0
xor ecx, ecx
call fcn.140006d4c
jmp 0x14000887c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140008714
test eax, eax
jne 0x1400088d1
mov rcx, rdi
call fcn.140006d4c
jmp 0x1400088db
xor ecx, ecx
call fcn.140006d4c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000e050
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e078
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e078
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400b8f00
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400ff560
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1400ff588
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1400ff5d2
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 0x1400ff57d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400ba634
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14015c320
mov rax, rcx
neg rcx
test rax, 7
je 0x14015c33d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14015c398
test al, 7
jne 0x14015c330
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 0x14015c351
mov rdx, qword [rax - 8]
test dl, dl
je 0x14015c3c2
test dh, dh
je 0x14015c3bc
shr rdx, 0x10
test dl, dl
je 0x14015c3b6
test dh, dh
je 0x14015c3b0
shr rdx, 0x10
test dl, dl
je 0x14015c3aa
test dh, dh
je 0x14015c3a4
shr edx, 0x10
test dl, dl
je 0x14015c39e
test dh, dh
jne 0x14015c351
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 0x1400ba66b
Capabilities:
Query environment variable

Disassembly:
jmp 0x14020d530
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14020d0b0
lea rcx, [rsp + 0x20]
call fcn.14020d100
movzx eax, al
test eax, eax
jne 0x14020d575
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14020d0e0
mov rax, qword [rsp + 0x40]
jmp 0x14020d66f
lea rcx, [rsp + 0x20]
call fcn.14020d200
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14020d1a0
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.1400ba9ef
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400b9fb3
lea rcx, [rsp + 0x28]
call fcn.1400baecc
movzx eax, al
test eax, eax
jne 0x14020d60f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400bc43e
lea rcx, [rsp + 0x20]
call fcn.14020d0e0
mov rax, qword [rsp + 0x50]
jmp 0x14020d66f
lea rcx, [rsp + 0x20]
call fcn.14020d200
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400bd4bf
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.1400ba92c
lea rcx, [rsp + 0x28]
call fcn.1400bdeab
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400bc43e
lea rcx, [rsp + 0x20]
call fcn.14020d0e0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400bab8e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140158b10
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140158490
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140158b4f
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 [0x1402ab020]
jmp 0x140158b59
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400bae04
Capabilities:
Query environment variable

Disassembly:
jmp 0x14020d280
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14020d0b0
lea rcx, [rsp + 0x40]
call fcn.14020d230
movzx eax, al
test eax, eax
jne 0x14020d2c8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14020d0e0
mov rax, qword [rsp + 0x70]
jmp 0x14020d499
lea rcx, [rsp + 0x40]
call fcn.14020d200
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14020d1a0
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.14020d200
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.1400bc038
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14020d36e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14020d0e0
mov rax, qword [rsp + 0x80]
jmp 0x14020d499
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400ba9ef
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400ba7d3
lea rcx, [rsp + 0x48]
call fcn.1400ba1f7
movzx eax, al
test eax, eax
jne 0x14020d3d5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400b8d7f
lea rcx, [rsp + 0x40]
call fcn.14020d0e0
mov rax, qword [rsp + 0x88]
jmp 0x14020d499
lea rcx, [rsp + 0x48]
call fcn.1400bb2ff
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14020d200
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.1400bc038
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14020d46b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400b8d7f
lea rcx, [rsp + 0x40]
call fcn.14020d0e0
mov rax, qword [rsp + 0xa0]
jmp 0x14020d499
lea rcx, [rsp + 0x48]
call fcn.1400ba788
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400b8d7f
lea rcx, [rsp + 0x40]
call fcn.14020d0e0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400bae1d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140158a40
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140158410
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140158a81
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 [0x1402ab020]
jmp 0x140158a87
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400baedb
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401f41e0
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.1401f3110
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401f4247
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 [0x1402ab030]
jmp 0x1401f4269
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400ba16b
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 0x1400baeef
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14021abe0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14028e058]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14021ac06
jmp 0x14021ac83
mov rcx, qword [rbp + 0x30]
call fcn.1400ba634
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14021ac1f
jmp 0x14021ac83
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14021ac3c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b8faa
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.1400b95d1
test eax, eax
jne 0x14021ac83
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400ba913
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400bb70f
Capabilities:
Set environment variable

Disassembly:
jmp 0x14020f3e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400bba61
Capabilities:
Parse pe header

Disassembly:
jmp 0x140136dc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140136de0
xor al, al
jmp 0x140136e61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140136df3
xor al, al
jmp 0x140136e61
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 0x140136e1d
xor al, al
jmp 0x140136e61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140136e31
xor al, al
jmp 0x140136e61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140136e43
xor al, al
jmp 0x140136e61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140136e5f
xor al, al
jmp 0x140136e61
mov al, 1
add rsp, 0x38
ret
Function at 0x1400bc30d
Capabilities:
Terminate process

Disassembly:
jmp 0x140159ae0
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 0x140159b0e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400bcf60
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 0x1400bcff1
Capabilities:
Print debug messages

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

Disassembly:
jmp 0x140158b80
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401584d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140158bc9
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 [0x1402ab020]
jmp 0x140158bd8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400bd280
Capabilities:
Set environment variable

Disassembly:
jmp 0x140227b90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400b9f63
lea rcx, [rsp + 0x48]
call fcn.1400b9f63
call fcn.1400bad73
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b9c3e
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140227bff
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400ba4db
lea rcx, [rsp + 0x78]
call fcn.1400ba4db
mov eax, dword [rsp + 0x24]
jmp 0x140227c90
call fcn.1400bad73
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400b9c3e
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140227c46
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400ba4db
lea rcx, [rsp + 0x78]
call fcn.1400ba4db
mov eax, dword [rsp + 0x2c]
jmp 0x140227c90
lea rcx, [rsp + 0x48]
call fcn.1400b9e8c
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400b9e8c
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.1400ba4db
lea rcx, [rsp + 0x78]
call fcn.1400ba4db
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400bd307
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14022ca60
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, word [rsp + 0x58]
movd xmm0, eax
movdqa xmmword [rsp + 0x20], xmm0
pshuflw xmm0, xmmword [rsp + 0x20], 0
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x20]
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x50]
and rax, 0xfff
cmp rax, 0xff0
ja 0x14022cb71
mov rax, qword [rsp + 0x50]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pxor xmm0, xmmword [rsp + 0x10]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pcmpeqw xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x30]
pcmpeqw xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
por xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pmovmskb eax, xmm0
mov dword [rsp], eax
cmp dword [rsp], 0
je 0x14022cb61
mov eax, dword [rsp]
bsf eax, eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x14022cb51
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
jmp 0x14022cb5a
mov qword [rsp + 8], 0
mov rax, qword [rsp + 8]
jmp 0x14022cbac
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x14022cba7
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x14022cb89
mov rax, qword [rsp + 0x50]
jmp 0x14022cbac
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
test eax, eax
jne 0x14022cb99
xor eax, eax
jmp 0x14022cbac
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x14022ca9b
add rsp, 0x48
ret