joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011a67f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14026c000
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14026b950
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14026c049
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 [0x1403fc020]
jmp 0x14026c058
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x14011a7d3
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x140145b00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1403f00d8]
call fcn.14011ad5a
nop
mov rax, qword [rbp + 0xf0]
cmp qword [rax], 0
jne 0x140145b3b
xor al, al
jmp 0x140145b79
mov r8, qword [rbp + 0xf8]
mov edx, dword [rbp + 0x100]
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x140145b68
mov dword [rbp + 0xc0], 1
jmp 0x140145b72
mov dword [rbp + 0xc0], 0
movzx eax, byte [rbp + 0xc0]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x14011a82d
Capabilities:
Set environment variable

Disassembly:
jmp 0x140330790
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140115ddc
lea rcx, [rsp + 0x48]
call fcn.140115ddc
call fcn.14011728b
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140115945
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1403307ff
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14011660b
lea rcx, [rsp + 0x78]
call fcn.14011660b
mov eax, dword [rsp + 0x24]
jmp 0x140330890
call fcn.14011728b
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140115945
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140330846
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14011660b
lea rcx, [rsp + 0x78]
call fcn.14011660b
mov eax, dword [rsp + 0x2c]
jmp 0x140330890
lea rcx, [rsp + 0x48]
call fcn.140115c79
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140115c79
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.14011660b
lea rcx, [rsp + 0x78]
call fcn.14011660b
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x14011b809
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x14020de10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1403f0202]
call fcn.14011ad5a
nop
mov rax, qword [rbp + 0xe0]
lea rcx, [0x1403715c0]
mov qword [rax + 0x70], rcx
mov rax, qword [rbp + 0xe0]
mov qword [rax], 0
mov rax, qword [rbp + 0xe0]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rbp + 0xe0]
mov dword [rcx + rax + 0x50], 0x5be0cd19
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14011b9df
Capabilities:
Hash data using sha512

Disassembly:
jmp 0x14020df70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1403f0202]
call fcn.14011ad5a
nop
mov rax, qword [rbp + 0xe0]
lea rcx, [0x140371700]
mov qword [rax + 0xd0], rcx
mov rax, qword [rbp + 0xe0]
mov qword [rax], 0
mov rax, qword [rbp + 0xe0]
mov qword [rax + 8], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0x6a09e667f3bcc908
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0xbb67ae8584caa73b
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0x3c6ef372fe94f82b
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0xa54ff53a5f1d36f1
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0x510e527fade682d1
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0x9b05688c2b3e6c1f
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 6
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0x1f83d9abfb41bd6b
mov qword [rcx + rax + 0x90], rdx
mov eax, 8
imul rax, rax, 7
mov rcx, qword [rbp + 0xe0]
movabs rdx, 0x5be0cd19137e2179
mov qword [rcx + rax + 0x90], rdx
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140323b50
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.140114671
sub rsp, rax
mov rax, qword [0x1403ca280]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1403cfaa0]
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 0x140323d42
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 0x140323c96
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140323c96
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 0x140323c7b
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 0x140323c18
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 0x140323d02
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 0x140323d61
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 0x140323d3d
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 0x140323d61
jmp 0x140323bee
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.140116c2d
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140323e10
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.140114671
sub rsp, rax
mov rax, qword [0x1403ca280]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1403cfaa0]
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 + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14032401d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140323f69
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140323f69
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140323f49
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140323ed8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140323fdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14032403c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140324018
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14032403c
jmp 0x140323eae
lea rax, [rsp + 0x70]
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.140116c2d
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140001393
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004c48c
xor r8d, r8d
xor edx, edx
jmp 0x14004c17c

Function at 0x140002130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400771e0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140232598]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140235720]
xor r11d, r11d
lea rdi, [0x1400825bc]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140077250
mov rax, 0xfffffffffffffffe
jmp 0x14007739d
cmp word [r10 + 6], r11w
jne 0x1400772bf
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14007727a
test r14, r14
je 0x14007726b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14007739d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140077288
mov r8b, 2
jmp 0x1400772a6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140077296
mov r8b, 3
jmp 0x1400772a6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140077392
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400772e8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140077392
cmp bl, bpl
jb 0x140077392
cmp bl, r8b
jae 0x140077392
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140077315
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140077392
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400772f7
cmp r9, rbp
jae 0x140077341
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140077244
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140077392
cmp edx, 0x110000
jae 0x140077392
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x140077392
test r14, r14
je 0x140077380
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140003968
jmp 0x14007739d
mov rdx, rsi
mov rcx, r10
call fcn.140003fc1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000259a
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000217b
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000b89c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000b929
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14000b929
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b929
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000b910
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000b90a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000b912
add rdx, 0x28
jmp 0x14000b8ef
xor edx, edx
test rdx, rdx
jne 0x14000b91b
xor al, al
jmp 0x14000b92f
cmp dword [rdx + 0x24], 0
jge 0x14000b925
xor al, al
jmp 0x14000b92f
mov al, 1
jmp 0x14000b92f
xor al, al
jmp 0x14000b92f
add rsp, 0x18
ret
Function at 0x14000257c
Capabilities:
Delete file
Write and execute a file
Write file on windows

Disassembly:
jmp 0x140009f80
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
lea rdi, [rsp + 0x50]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x130]
lea rcx, [0x14023e017]
call fcn.140003cb0
mov edx, 0x12
lea rcx, [0x1401edc20]
call fcn.140003675
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [0x1401edc20]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14000a035
mov edx, 0x20
lea rcx, [0x1401edc00]
call fcn.140003675
lea rdx, [0x1401edc00]
lea rcx, [0x140081220]
call fcn.140002527
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a1a6
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8d, 0x156c00
lea rdx, section..data
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a09c
mov edx, 0x20
lea rcx, [0x1401edc00]
call fcn.140003675
lea rdx, [0x1401edc00]
lea rcx, [0x140081220]
call fcn.140002527
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a1a6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140003125
mov dword [rsp + 0x70], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.140003125
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401edc20]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14000a16a
mov edx, 0x20
lea rcx, [0x1401edc00]
call fcn.140003675
lea rdx, [0x1401edc00]
lea rcx, [0x140081220]
call fcn.140002527
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a1a6
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1401edc20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rax, qword [rsp + 0x130]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400811f0]
call fcn.1400034bd
mov rax, rdi
add rsp, 0x120
pop rdi
ret

Function at 0x1400026d5
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400199a8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140083578]
mov ecx, 2
lea r8, [0x140083570]
lea rdx, str.FlsGetValue
call fcn.140019478
mov ecx, ebx
test rax, rax
je 0x1400199e2
add rsp, 0x20
pop rbx
jmp qword [0x14023f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140002815
Capabilities:
Query environment variable

Disassembly:
jmp 0x140062948
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 0x140062978
xor eax, eax
jmp 0x140062a3b
mov rbp, rbx
cmp word [rax], si
je 0x14006299d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140062984
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140062980
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.140003175
movsxd r14, eax
test eax, eax
jne 0x1400629db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140062971
mov rcx, r14
call fcn.140001032
mov rdi, rax
test rax, rax
jne 0x1400629f4
xor ecx, ecx
call fcn.14000116d
jmp 0x1400629d0
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.140003175
test eax, eax
jne 0x140062a25
mov rcx, rdi
call fcn.14000116d
jmp 0x140062a2f
xor ecx, ecx
call fcn.14000116d
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 0x140002824
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400198f8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140083538]
xor ecx, ecx
lea r8, [0x140083530]
lea rdx, str.FlsAlloc
call fcn.140019478
test rax, rax
je 0x140019931
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x14023f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14000289c
Capabilities:
Get geographical location

Disassembly:
jmp 0x140057444
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140084b98]
mov rbp, rcx
lea r8, [0x140084b90]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.140056964
test rax, rax
je 0x1400574a4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x14023f030]
jmp 0x1400574be
xor edx, edx
mov rcx, rbp
call fcn.1400021cb
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400028b0
Capabilities:
Terminate process

Disassembly:
jmp 0x14000cce0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400029e1
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004c420
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14004c17c

Function at 0x140002e87
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000be50
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000be9b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000be9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000be9b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000be9b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000be9b
cmp dword [rcx + 0xf8], 0
je 0x14000be9b
mov al, 1
jmp 0x14000be9d
xor al, al
add rsp, 0x28
ret
Function at 0x1400032d8
Capabilities:
Terminate process

Disassembly:
jmp 0x140055c50
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140055c6a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140003972
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]