joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010a0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x14010a1ca
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x14010a1ca
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x14010a1c3
add r9, 0x88
je 0x14010a1c3
mov eax, dword [r9]
test rax, rax
je 0x14010a1ca
add rax, rcx
je 0x14010a1ca
cmp rdx, 0xffff
jbe 0x14010a1bd
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x14010a156
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x14010a1a2
cmp rsi, r10
je 0x14010a1ca
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x14010a136
mov r14, r11
cmp bpl, byte [rbx]
jne 0x14010a138
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14010a18d
jmp 0x14010a136
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x14010a1c3
Function at 0x140111040
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14011113e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1401f54f0]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1401110b0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1401f5500]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1401111cd
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1401111a3
movdqa xmm1, xmmword [0x1401f5500]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x1401f5510], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140112a60
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x48]
movups xmmword [rdi + 0x34], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi - 8], xmm0
movaps xmm0, xmmword [0x140200170]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140200180]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x140112b1c
mov r14, rdx
mov rbx, rcx
lea eax, [rdx*8]
mov rcx, rdx
shr rcx, 0x1d
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], eax
mov r8, rdx
cmp rdx, 0x40
jb 0x140112b09
shr r8, 6
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140071800
mov r8, r14
and r8, 0x3f
je 0x140112b1c
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
mov dword [rsp + 0x88], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.140131180
mov eax, dword [rsp + 0x88]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x8c]
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
mov byte [rsp + rax + 0x48], 0x80
cmp rax, 0x38
jae 0x140112bfc
cmp rcx, 0x38
je 0x140112b5f
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.140131830
bswap r14d
lea rcx, [rsp + 0x20]
mov dword [rcx + 0x60], r14d
bswap ebp
mov dword [rcx + 0x64], ebp
mov r8d, 1
mov rdx, rdi
call fcn.140071800
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
lea eax, [rbx - 0x21]
cmp eax, 0xffffffe3
jb 0x140112bb5
shr ebx, 2
xor eax, eax
mov ecx, dword [rsp + rax*4 + 0x20]
bswap ecx
mov dword [rsi + rax*4], ecx
inc rax
cmp rbx, rax
jne 0x140112ba4
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14012f6f0
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
cmp eax, 0x3f
je 0x140112c14
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.140131830
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.140071800
xor ecx, ecx
jmp 0x140112b4c
Function at 0x1401140c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140231968]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140114120
mov rsi, qword [0x140231960]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012f6f0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140231968]
call fcn.14012ce30
cmp dword [0x140231968], 0xffffffff
jne 0x1401140fc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140131830
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14012cd5c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402319b0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401141e0
lea r8, [0x140231980]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002b8b0
mov qword [0x140231960], rsi
lea rcx, [0x140231968]
call fcn.14012ce98
jmp 0x1401140fc
lea rcx, [0x1402319b0]
call fcn.14012ce30
cmp dword [0x1402319b0], 0xffffffff
jne 0x1401141b1
xorps xmm0, xmm0
movups xmmword [0x1402319a0], xmm0
movups xmmword [0x140231990], xmm0
movups xmmword [0x140231980], xmm0
lea rcx, [0x140231980]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402319b0]
call fcn.14012ce98
jmp 0x1401141b1
Function at 0x14011adc0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
mov rdx, qword [rcx]
mov r9, qword [rcx + 8]
mov r8, r9
sub r8, rdx
je 0x14011ae57
mov rax, r8
shr rax, 2
neg r9
xor r9, rdx
cmp r9, 0xffffffffffffffff
je 0x14011ae52
mov r10, r8
and r10, 0xfffffffffffffffe
xor r9d, r9d
lea r11, [0x1401fa950]
nop dword [rax]
movzx esi, al
movzx edi, byte [rdx + r9]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [rdx + r9 + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add r9, 2
cmp r10, r9
jne 0x14011ae00
test r8b, 1
je 0x14011ae4c
movzx r8d, al
movzx edx, byte [rdx + r9]
xor edx, r8d
lea r8, [0x1401fa950]
shr eax, 8
xor eax, dword [r8 + rdx*4]
mov dword [rcx + 0x18], eax
pop rdi
pop rsi
ret
xor r9d, r9d
jmp 0x14011ae2c
xor eax, eax
jmp 0x14011ae4c
Function at 0x14011d660
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp rcx, 1
jne 0x14011d6dc
mov rdi, qword [0x140231748]
mov esi, 2
cmp rdi, 2
jae 0x14011d711
lea rcx, [rsi*8]
call fcn.14012cd5c
mov rcx, qword [0x140231740]
mov qword [0x140231740], rax
test rcx, rcx
jne 0x14011d6d5
mov qword [0x140231748], rsi
xor eax, eax
mov rcx, qword [0x140231740]
mov qword [rcx + rax*8], 0
inc rax
cmp rsi, rax
jne 0x14011d6ab
mov r8, qword [0x140231750]
test r8, r8
jne 0x14011d740
add rsp, 0x28
pop rdi
pop rsi
ret
call fcn.14012cd4c
jmp 0x14011d6a2
mov rsi, rcx
lea rax, [rcx - 1]
test rcx, rax
je 0x14011d6f3
mov rcx, rsi
call fcn.1400ef200
mov rsi, rax
mov rdi, qword [0x140231748]
cmp rsi, rdi
jbe 0x14011d711
mov rax, rsi
shr rax, 0x3d
je 0x14011d682
jmp 0x14011d93d
cmp rsi, rdi
jae 0x14011d6ce
mov rax, qword [0x140231758]
test rax, rax
jns 0x14011d855
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14011d85a
mov rcx, qword [r8 + 8]
mov rax, rsi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rsi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x14011d7b8
cmp rcx, rsi
jb 0x14011d7bf
mov rax, rcx
xor edx, edx
div rsi
mov rcx, rdx
jmp 0x14011d7bf
lea rax, [rsi - 1]
and rcx, rax
mov rax, qword [0x140231740]
lea rdx, [0x140231750]
mov qword [rax + rcx*8], rdx
mov r10, qword [r8]
test r10, r10
je 0x14011d6ce
lea r11, [rsi - 1]
jmp 0x14011d83c
mov qword [rdx + rax*8], r8
jmp 0x14011d82a
and rax, r11
cmp rax, rcx
je 0x14011d827
mov rdx, qword [0x140231740]
cmp qword [rdx + rax*8], 0
je 0x14011d7e3
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [0x140231740]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [0x140231740]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x14011d6ce
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14011d7e9
cmp rax, rsi
jb 0x14011d7ec
xor edx, edx
div rsi
mov rax, rdx
jmp 0x14011d7ec
cvtsi2ss xmm0, rax
divss xmm0, dword [0x140231760]
call fcn.14014b444
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1401f45e0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rdi, 3
jb 0x14011d910
mov rcx, rdi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rdi
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14011d910
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x14011d91b
mov rcx, rax
call fcn.1400ef200
mov rdx, rax
cmp rsi, rdx
cmova rdx, rsi
cmp rdx, rdi
jae 0x14011d6ce
lea rcx, [0x140231740]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14018f070
int3
Function at 0x14011d950
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140231a00]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011db3c
mov rsi, qword [0x1402319f8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011db7e
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x1402319b4], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x1402319b8]
mov dword [0x1402319b8], ebx
cmovne ebp, ecx
mov eax, dword [0x1402319bc]
cmp ebp, eax
je 0x14011db1b
test eax, eax
je 0x14011daac
mov rax, qword [0x140228618]
lea rcx, [0x14012b780]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14011db8c
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011dbed
imul rax, rax, 0xf4240
cqo
idiv qword [0x140231a18]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140231a08]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x1402319c0]
cmp r8, 2
jb 0x14011dbae
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402319c0], rax
mov ecx, dword [0x1402319bc]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402319bc], ebp
test ebx, ebx
je 0x14011db1b
mov rax, qword [0x140228618]
lea rcx, [0x14012b780]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14011db9d
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011dbc6
imul rax, rax, 0xf4240
cqo
idiv qword [0x140231a18]
mov qword [0x140231a08], rax
mov ecx, dword [0x1402319bc]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012f6f0
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140231a00]
call fcn.14012ce30
cmp dword [0x140231a00], 0xffffffff
jne 0x14011d98e
mov ecx, 8
call fcn.14012cd5c
mov qword [rax], 0
mov qword [0x1402319f8], rax
lea rcx, [0x140231a00]
call fcn.14012ce98
jmp 0x14011d98e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14011d9a6
mov rcx, rdi
call qword [0x140243008]
mov rax, qword [rdi]
jmp 0x14011da40
mov rcx, rdi
call qword [0x140243008]
mov rax, qword [rdi]
jmp 0x14011db08
cmp rcx, rax
je 0x14011da99
add rcx, rdx
cmp rcx, 1
ja 0x14011da99
jmp 0x14011dc14
mov rcx, qword [0x140231a18]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011db08
mov rcx, qword [0x140231a18]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011da3b
int3
Function at 0x14012e914
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14012e98c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14012e98c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14012e98c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14012e980
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14012e99e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14012e96e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14012e98e

Function at 0x14012efb4
Capabilities:
Parse pe header

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

Function at 0x140141248
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14014127f
call fcn.14012ce10
mov dword [rax], 0x16
call fcn.140158bc4
xor eax, eax
jmp 0x14014130d
mov rdx, r9
mov rcx, r8
call fcn.140141330
mov rbx, rax
test rax, rax
je 0x14014130a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401413a0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401412f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401441e8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401412de
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401412ed
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14012b0e0
jmp 0x14014130a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140141307
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14014450c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1401e1e38]
mov rbp, rcx
call fcn.14015b5fc
xor edi, edi
test rax, rax
je 0x1401445f2
mov ebx, edi
call fcn.14012ce10
mov r14d, dword [rax]
call fcn.14012ce10
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14012e0c8
mov rsi, rax
test rax, rax
je 0x140144583
call fcn.14012ce10
mov dword [rax], r14d
jmp 0x1401445ad
call fcn.14012ce10
cmp dword [rax], 0x22
jne 0x1401445ea
call fcn.14012ce10
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14012e0c8
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401445ea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1401445b1
cmp rax, 3
je 0x1401445cc
mov rcx, rsi
call fcn.140144468
test al, al
je 0x1401445dd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401445dd
mov dil, 1
mov rcx, rbx
call fcn.14012b0e0
mov al, dil
jmp 0x1401445f4
mov rcx, rbx
call fcn.14012b0e0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14012f6f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140152c80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152ca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140152ca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14015cdb8
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.140156824
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 0x14015ce59
cmp ebx, dword [rsp + 0x30]
je 0x14015ce52
test esi, esi
je 0x14015ce52
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14015ce2d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14015ce3a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14015ce17
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14015ce3e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14015ce5b
mov eax, 1
jmp 0x14015ce5b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14015e3c4
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 0x14015e3f4
xor eax, eax
jmp 0x14015e4b7
mov rbp, rbx
cmp word [rax], si
je 0x14015e419
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14015e400
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14015e3fc
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.14015e2e4
movsxd r14, eax
test eax, eax
jne 0x14015e457
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14015e3ed
mov rcx, r14
call fcn.140086a00
mov rdi, rax
test rax, rax
jne 0x14015e470
xor ecx, ecx
call fcn.14012b0e0
jmp 0x14015e44c
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.14015e2e4
test eax, eax
jne 0x14015e4a1
mov rcx, rdi
call fcn.14012b0e0
jmp 0x14015e4ab
xor ecx, ecx
call fcn.14012b0e0
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 0x14015e4d4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14015e55b
mov rsi, rbx
cmp word [rax], bp
je 0x14015e51a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14015e504
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14015e500
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140086a00
mov rdi, rax
test rax, rax
je 0x14015e548
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140131180
mov rbp, rdi
xor ecx, ecx
call fcn.14012b0e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret