joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044830
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x1400449f5
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x14004487a
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.1400034e8
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x1400448a3
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.1400034e8
mov dword [rbp + 0x27], edi
mov ecx, 0x48
call fcn.1400777dc
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14004492a
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rax
call fcn.1400034e8
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.1400034e8
mov eax, dword [rbp + 0x27]
mov dword [rbx + 0x40], eax
jmp 0x14004492c
xor ebx, ebx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400409b0]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140044a2e
mov ebx, 0x1000
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x14004499f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rbx
jb 0x14004499a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044a3d
call fcn.140077818
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1400449d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x1400449d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044a3d
call fcn.140077818
cmp dword [rbp - 0x41], 0
je 0x140044a43
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140076a88
test eax, eax
jne 0x140044a43
jmp 0x140044a17
cmp qword [rdx + 0x18], 7
jbe 0x1400449ff
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x140044a09
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140077c90
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
and dword [rbp - 0x41], 0
mov ecx, 6
call fcn.1400758f8
nop
call fcn.14007e634
int3
mov ecx, 1
call fcn.1400758f8
int3
Function at 0x140049088
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [0x1400d7818]
xor edi, edi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x28]
call rbx
test eax, eax
je 0x140049132
mov rax, qword [0x1400d7820]
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
test eax, eax
je 0x140049127
mov rax, qword [rsp + 0x38]
lea r9d, [rdi + 0x10]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rdi
call qword [0x1400d7828]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete dil
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140077c90
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x14004be88
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rcx, qword [0x1400d7798]
xor ebx, ebx
test rcx, rcx
je 0x14004bf4b
lea edx, [rbx + 0xa]
call fcn.14003faec
mov eax, dword [0x1400a7e50]
lea rdx, [rbp - 0x20]
movsd xmm0, qword [str.SAVE_SETTINGS]
mov rcx, qword [0x1400d7798]
mov dword [rbp - 0x18], eax
mov al, byte [0x1400a7e54]
mov byte [rbp - 0x14], al
mov word [rbp - 0x12], bx
mov qword [rbp - 0x10], SafeArrayDestroy
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd qword [rbp - 0x20], xmm0
mov byte [rbp - 0x13], bl
call fcn.14003c2c8
mov rcx, qword [0x1400d7798]
lea r9, [rbp + 0x20]
lea r8d, [rbx + 4]
mov dword [rbp + 0x18], ebx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x20], ebx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x18], 1
jne 0x14004bf4b
mov rcx, qword [0x1400d7798]
lea r9, [rbp + 0x18]
lea r8d, [rbx + 4]
mov dword [rbp + 0x20], ebx
lea rdx, [rbp + 0x20]
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140052b4c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov rax, qword [0x1400d77b8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x140052c92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140051578
nop
lea r8, [0x1400d7aa0]
cmp qword [0x1400d7ab8], 7
cmova r8, qword [0x1400d7aa0]
mov r9, qword [0x1400d7ab0]
xor edx, edx
mov rcx, rax
call fcn.14003148c
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400d7880]
lea rcx, [rsp + 0x48]
call fcn.140044830
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140052c71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052cc7
call fcn.140077818
movdqa xmm0, xmmword [0x1400a2e10]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
lea rcx, [rsp + 0x68]
call fcn.140024110
xor al, al
jmp 0x140052ca6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140077c90
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14007e634
nop
int3
Function at 0x140052cd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov rax, qword [0x1400d77b8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x140052e16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140051578
nop
lea r8, [0x1400d7aa0]
cmp qword [0x1400d7ab8], 7
cmova r8, qword [0x1400d7aa0]
mov r9, qword [0x1400d7ab0]
xor edx, edx
mov rcx, rax
call fcn.14003148c
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400d7880]
lea rcx, [rsp + 0x48]
call fcn.140044830
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140052df5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052e57
call fcn.140077818
movdqa xmm0, xmmword [0x1400a2e10]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
lea rcx, [rsp + 0x68]
call fcn.140024110
xor al, al
jmp 0x140052e36
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140077c90
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.14007e634
nop
int3
Function at 0x140061fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x140062044
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x140062038
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140062020
test rdi, rdi
jne 0x140062072
xor eax, eax
jmp 0x1400620f7
mov rdx, r8
test rdi, rdi
je 0x14006203d
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14006206c
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x140062050
jmp 0x140062038
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x1400620ef
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x1400620de
cmp dword [rbx + 0x14], ebp
jne 0x1400620de
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x1400620cf
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.14009bd00
test eax, eax
je 0x1400620e6
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400620b6
test rbx, rbx
je 0x1400620ef
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400642b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1400643a4
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x140064338
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x140064310
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140063b20
mov dword [rsi], eax
test eax, eax
jne 0x140064361
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.14006d090
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x1400643cc
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140063ff0
test eax, eax
je 0x1400643a4
mov ecx, dword [r14]
test eax, ecx
jne 0x1400643c5
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.14006d620
cmp al, 2
jne 0x1400643a4
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x1400642f0
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140077c90
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x1400643a9
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.14006d620
cmp al, 2
jne 0x140064443
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140064443
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14006442a
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x140064400
lea rcx, [rsp + 0x20]
call fcn.140063ff0
cmp eax, 0x10
jne 0x140064443
or dword [r14], eax
xor eax, eax
jmp 0x1400643a9
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1400643a9
Function at 0x140075948
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140075982
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140075987
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400759d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400bb1c0]
cmp byte [rcx + rax], 0
je 0x1400759d0
dec r8
sub rdx, 1
jne 0x1400759b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400785fc
Capabilities:
Parse pe header

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

Function at 0x1400881b8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14008804b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008804b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008804b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008804b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008804b
cmp dword [rcx + 0x84], 0xe
jbe 0x14008804b
cmp dword [rcx + 0xf8], 0
je 0x14008804b
mov ecx, ebx
call fcn.1400880ec
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140087edc
cmp dword [rbp + 0x20], 0
je 0x140088098
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400880a0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140087fe4
Function at 0x14009b980
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009b9a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009b9a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400029c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002a34
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x140002a60
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002a10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000b320
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140002a3f
Function at 0x14000bdbc
Capabilities:
Parse pe header

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

Function at 0x14000dd34
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000dd62
xor eax, eax
jmp 0x14000de48
cmp qword [rcx + 0x68], 0
je 0x14000dd73
call fcn.14000de64
jmp 0x14000de48
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000dd8a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000dd8c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000ddbe
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140033770
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000de42
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000ddf5
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000de1e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001fbcc
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000de42
cmp rsi, rbx
ja 0x14000ddfc
test rsi, rsi
je 0x14000de42
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001fbcc
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001cbb0
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 0x14001cc1f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001cc1f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001cc1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001cc1f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001cc1f
cmp dword [rcx + 0x84], 0xe
jbe 0x14001cc1f
cmp dword [rcx + 0xf8], 0
je 0x14001cc1f
mov ecx, ebx
call fcn.14001ccd0
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.14001caac
nop
cmp dword [rbp + 0x20], 0
je 0x14001cc6d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001cc78
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001cbb0

Function at 0x14001cdb4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001cbb0
Function at 0x140027070
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 0x1400270a0
xor eax, eax
jmp 0x140027163
mov rbp, rbx
cmp word [rax], si
je 0x1400270c5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400270ac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400270a8
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.140026f90
movsxd r14, eax
test eax, eax
jne 0x140027103
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140027099
mov rcx, r14
call fcn.140024020
mov rdi, rax
test rax, rax
jne 0x14002711c
xor ecx, ecx
call fcn.14002322c
jmp 0x1400270f8
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.140026f90
test eax, eax
jne 0x14002714d
mov rcx, rdi
call fcn.14002322c
jmp 0x140027157
xor ecx, ecx
call fcn.14002322c
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 0x140029fbc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140022de0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002a05d
cmp ebx, dword [rsp + 0x30]
je 0x14002a056
test esi, esi
je 0x14002a056
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002a031
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002a03e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002a01b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002a042
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002a05f
mov eax, 1
jmp 0x14002a05f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret