joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140726da8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140726f2f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140726dd9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140726dbf
add dl, dl
jne 0x140726de6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140726e46
xor eax, eax
add dl, dl
jne 0x140726df5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140726efd
add dl, dl
jne 0x140726e06
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140726e13
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140726e20
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140726e2d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140726e3a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140726dce
mov eax, 1
add dl, dl
jne 0x140726e56
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140726e63
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140726e4b
sub eax, ebx
mov ebx, 1
jne 0x140726e9c
mov ecx, 1
add dl, dl
jne 0x140726e7e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140726e8b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140726e73
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140726dce
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140726eb8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140726ec5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140726ead
cmp eax, 0x7d00
jae 0x140726eeb
cmp eax, 0x500
jb 0x140726ee6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140726dce
cmp eax, 0x7f
ja 0x140726eee
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140726dce
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140726f22
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140726dce
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1068d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1068d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1068d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1068d06f
add dl, dl
jne 0x1068d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1068d0f6
xor eax, eax
add dl, dl
jne 0x1068d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1068d1ad
add dl, dl
jne 0x1068d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1068d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1068d07e
mov eax, 1
add dl, dl
jne 0x1068d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1068d0fb
sub eax, ebx
mov ebx, 1
jne 0x1068d14c
mov ecx, 1
add dl, dl
jne 0x1068d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1068d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1068d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1068d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1068d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1068d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1068d15d
cmp eax, 0x7d00
jae 0x1068d19b
cmp eax, 0x500
jb 0x1068d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1068d07e
cmp eax, 0x7f
ja 0x1068d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1068d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1068d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1068d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140014da0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x1400da468]
movabs rcx, 0x7957164bea51791a
movabs r10, 0xadc110db9f290c4b
add r10, qword [rax + rcx]
mov rcx, rsi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14004839c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140055884
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400558b6
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140055899
mov rax, r8
ret

Function at 0x1400674d0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
movsxd rax, edx
mov r9, rcx
lea rdx, [rcx + rax*4]
mov r11, rdx
sub r11, rcx
add r11, 3
shr r11, 2
cmp rcx, rdx
cmova r11, r10
test r11, r11
je 0x140067545
nop word [rax + rax]
mov edx, dword [r9]
inc r10
lea r8, [r8 + 2]
mov ecx, edx
mov eax, edx
lea r9, [r9 + 4]
shr ecx, 0x10
shr eax, 0xd
xor cl, al
mov eax, edx
and cl, 7
shr eax, 0x10
xor cl, al
mov eax, edx
mov byte [r8 - 2], cl
mov ecx, edx
shr eax, 3
shr ecx, 5
shr edx, 5
xor cl, al
and cl, 0x1f
xor cl, dl
mov byte [r8 - 1], cl
cmp r10, r11
jb 0x140067500
ret

Function at 0x14006a760
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, 4
mov r15, rdx
xor r14d, r14d
lea rax, [rcx + 1]
lea rdi, [rsp]
lea rbx, [rsp + 8]
mov esi, ebp
movzx ecx, byte [rax + 2]
movzx r8d, byte [rax + 1]
movzx r10d, byte [rax - 1]
movzx edx, byte [rax]
lea r11d, [r10 + r8]
sub r10d, r8d
lea r9d, [rcx + rdx]
sub edx, ecx
lea rbx, [rbx + 0x10]
lea ecx, [r9 + r11]
sub r11d, r9d
lea rdi, [rdi + 0x10]
mov dword [rdi - 0x10], ecx
lea ecx, [r10 + rdx]
sub r10d, edx
mov dword [rbx - 0xc], r11d
mov dword [rbx - 0x14], ecx
mov dword [rbx - 0x10], r10d
lea rax, [rax + 0x20]
dec rsi
jne 0x14006a7a1
lea rdi, [r15 + 8]
lea rsi, [rsp + 0x30]
nop word [rax + rax]
mov ecx, dword [rsi - 0x10]
mov eax, dword [rsi]
mov ebx, dword [rsi - 0x30]
mov r11d, dword [rsi - 0x20]
lea r9d, [rbx + rcx]
sub ebx, ecx
movzx ecx, word [rdi + 0x10]
lea r8d, [r11 + rax]
sub r11d, eax
mov eax, ebx
lea rsi, [rsi + 4]
lea rdi, [rdi + 2]
sub eax, r11d
cdq
mov r10d, eax
movzx eax, word [rdi + 6]
xor r10d, edx
sub r10d, edx
imul r10d, eax
mov eax, r9d
sub eax, r8d
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
movzx ecx, word [rdi - 0xa]
add r10d, eax
lea eax, [r8 + r9]
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
movzx ecx, word [rdi - 2]
add r10d, eax
lea eax, [rbx + r11]
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
add r14d, eax
add r14d, r10d
dec rbp
jne 0x14006a800
mov eax, r14d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140037920
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x14006f390
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x48
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, dword [rcx + 0x34]
movsxd rbp, dword [rcx + 0x30]
mov rsi, rcx
mov eax, ebx
mov edx, 1
imul eax, ebp
movsxd rcx, eax
call fcn.140037340
mov r15, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14006f58d
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], r13
lea r13d, [rbx - 1]
mov qword [rsp + 0x40], r14
cmp r13d, 1
jle 0x14006f573
lea ecx, [rbp - 1]
mov qword [rsp + 0x80], r12
lea r11, [rax + rbp]
lea r15d, [rbp + 1]
lea r12d, [r13 - 1]
movsxd rbx, ecx
mov r8d, 1
cmp r8, rbx
jge 0x14006f4fa
lea rdi, [rbp*8]
mov r10d, r15d
nop word [rax + rax]
mov rax, qword [rsi + 0x5c60]
movsxd rcx, r10d
xorps xmm0, xmm0
lea rdx, [rax + rcx*8]
mov rcx, rdx
mov r9d, dword [rdx]
movdqu xmmword [rsp + 0x28], xmm0
sub rcx, rdi
mov eax, dword [rcx - 8]
shr r9d, 5
shr rax, 5
and r9d, 3
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rcx]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rcx + 8]
xor ecx, ecx
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdx - 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdx + 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx - 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx + 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
xor eax, eax
nop dword [rax]
cmp dword [rsp + rax*4 + 0x28], 5
jge 0x14006f4e4
inc rax
inc ecx
cmp rax, 4
jl 0x14006f4d0
jmp 0x14006f4e7
mov r9d, ecx
mov byte [r8 + r11], r9b
inc r8
inc r10d
cmp r8, rbx
jl 0x14006f430
add r15d, ebp
add r11, rbp
dec r12
jne 0x14006f410
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x80]
cmp r13d, 1
jle 0x14006f573
lea eax, [rbp - 1]
lea r10, [r15 + rbp]
lea ebx, [rbp + 1]
movsxd r11, eax
lea edi, [r13 - 1]
nop dword [rax]
mov r8d, 1
cmp r8, r11
jge 0x14006f569
mov r9d, ebx
nop
mov rax, qword [rsi + 0x5c60]
movsxd rcx, r9d
inc r8
lea rdx, [rax + rcx*8]
movzx eax, byte [r8 + r10 - 1]
inc r9d
shl eax, 5
xor eax, dword [rdx]
and eax, 0x60
xor dword [rdx], eax
cmp r8, r11
jl 0x14006f540
add ebx, ebp
add r10, rbp
dec rdi
jne 0x14006f530
mov rcx, r15
call fcn.140037330
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140037920
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x140073dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, dx
shr edx, 0x10
mov r9, rcx
mov byte [rsp + 0x24], al
sar eax, 8
mov byte [rsp + 0x26], dl
mov byte [rsp + 0x25], al
movzx eax, r8w
shr r8d, 0x10
mov byte [rsp + 0x32], r8b
sar r8d, 8
sar edx, 8
mov byte [rsp + 0x33], r8b
mov r8, rcx
mov byte [rsp + 0x30], al
mov byte [rsp + 0x27], dl
sar eax, 8
lea rcx, [rsp + 0x20]
mov edx, 0x15
mov dword [rsp + 0x20], 0x46464952
mov dword [rsp + 0x28], 0x50424557
mov dword [rsp + 0x2c], 0x4c385056
mov byte [rsp + 0x34], 0x2f
mov byte [rsp + 0x31], al
call qword [r9 + 0x60]
xor ecx, ecx
mov edx, 8
test eax, eax
cmove ecx, edx
mov eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140037920
add rsp, 0x48
ret

Function at 0x140074720
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x460
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp dword [rcx + 8], 0x20
mov ebp, dword [r8 + 0x60]
mov rdi, r8
mov r12d, edx
mov rbx, rcx
lea r15, [r8 + 0x64]
jl 0x140074761
call fcn.140088b10
mov ecx, dword [rbx + 8]
mov eax, 1
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 1]
mov dword [rbx + 8], eax
cmp eax, 0x20
jl 0x140074782
mov rcx, rbx
call fcn.140088b10
mov ecx, dword [rbx + 8]
mov eax, 3
lea esi, [rbp - 1]
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 2]
mov dword [rbx + 8], eax
cmp eax, 0x20
jl 0x1400747a6
mov rcx, rbx
call fcn.140088b10
mov ecx, dword [rbx + 8]
mov eax, esi
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 8]
mov dword [rbx + 8], eax
lea eax, [rbp - 1]
movsxd r11, eax
cmp r11, 1
jl 0x140074854
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x498], r14
lea r14, [r15 + r11*4]
sub rsi, r15
nop dword [rax + rax]
mov edx, dword [r14 - 4]
mov r8d, dword [r14]
lea r14, [r14 - 4]
mov r9d, r8d
mov ecx, r8d
and r8d, 0xff00ff00
and r9d, 0xff00
and ecx, 0xffff00ff
mov eax, edx
and eax, 0xff00ff00
sub r9d, eax
mov eax, edx
and edx, 0xff00ff00
sub r9d, 0xff01
and eax, 0xff00ff
sub r8d, edx
sub ecx, eax
add r8d, 0xff00ff
add ecx, 0xff00
xor r9d, ecx
and r9d, 0xff00ff
xor r9d, r8d
mov dword [rsi + r14 + 4], r9d
dec r11
jne 0x1400747e0
mov r14, qword [rsp + 0x498]
mov eax, dword [r15]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 0x14
mov dword [rsp + 0x50], eax
lea rax, [rdi + 0x490]
mov dword [rsp + 0x30], 1
lea r9, [rdi + 0x468]
lea r8, [rdi + 0x4e0]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call fcn.140072fd0
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140037920
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x460
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140074f20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140074f6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140074f6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140074f6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140074f6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140074f6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140074f6c
xor al, al
add rsp, 0x28
ret
Function at 0x14008d3d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
movsxd r11, dword [rdx]
movsxd rax, ecx
mov rbx, rdx
lea r8, [r11 + r11*2]
mov r9, r11
add r8, rax
mov eax, dword [rdx + 4]
imul rcx, r8, 0x2c
add rcx, qword [rdx + 0x20]
test eax, eax
jns 0x14008d411
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14008d406
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx], eax
xor eax, eax
pop rbx
ret
cmp r11d, eax
jg 0x14008d5b5
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x140000000]
mov ebp, 0x43
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14008d447
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
mov dword [rcx], eax
mov rax, qword [rbx + 8]
movsx edx, word [rax + r9*2]
test edx, edx
jne 0x14008d4a2
nop dword [rax + rax]
mov eax, dword [rcx + 4]
inc r11d
inc r9
cmp eax, 0xfffe0000
jb 0x14008d479
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx + 4], eax
movzx eax, byte [r9 + rsi + 0xbb170]
imul rcx, rax, 0x84
mov rax, qword [rbx + 8]
add rcx, qword [rbx + 0x20]
movsx edx, word [rax + r9*2]
test edx, edx
je 0x14008d460
mov eax, dword [rcx + 4]
inc r11d
inc r9
cmp eax, 0xfffe0000
jb 0x14008d4bb
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
xor r8d, r8d
mov dword [rcx + 4], eax
lea eax, [rdx + 1]
cmp eax, 2
mov eax, dword [rcx + 8]
seta r8b
cmp eax, 0xfffe0000
jb 0x14008d4e3
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
add eax, r8d
mov dword [rcx + 8], eax
test r8d, r8d
jne 0x14008d510
movzx eax, byte [r9 + rsi + 0xbb170]
imul rcx, rax, 0x84
mov rax, qword [rbx + 0x20]
add rax, 0x2c
jmp 0x14008d599
mov eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ebp
cmovg eax, ebp
xor r10d, r10d
cdqe
movzx r8d, word [rsi + rax*4 + 0xbc9dc]
movzx edi, word [rsi + rax*4 + 0xbc9de]
shr r8d, 1
je 0x14008d581
lea rdx, [rcx + 0xc]
nop dword [rax + rax]
test r8b, 1
je 0x14008d575
mov ecx, r10d
mov eax, 2
shl eax, cl
mov ecx, 0
test edi, eax
mov eax, dword [rdx]
setne cl
cmp eax, 0xfffe0000
jb 0x14008d56c
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
add eax, ecx
mov dword [rdx], eax
inc r10d
add rdx, 4
sar r8d, 1
jne 0x14008d540
movzx eax, byte [r9 + rsi + 0xbb170]
imul rcx, rax, 0x84
mov rax, qword [rbx + 0x20]
add rax, 0x58
add rcx, rax
cmp r11d, dword [rbx + 4]
jle 0x14008d435
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x10]
cmp r11d, 0x10
jge 0x14008d5d4
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14008d5cd
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx], eax
mov eax, 1
pop rbx
ret
Function at 0x1400a4060
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400a3de0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.1400a3de0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.1400a3de0
mov ecx, dword [0x1400e57fc]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x4d0
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.1400ae2d0
call fcn.1400a3de0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x1400a8980
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a89dc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a89dc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a89dc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a89dc
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a89dc
cmp dword [rcx + 0xf8], 0
je 0x1400a89dc
mov ecx, ebx
call fcn.1400a8bf0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400e8540]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400a8d60
cmp dword [rsp + 0x60], 0
jne 0x1400a8a1f
mov ecx, ebx
call fcn.1400a8c60
int3
add rsp, 0x40
pop rbx
ret

Function at 0x1400a8a30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a8a92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a8a92
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1400a8a92
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400a8a92
cmp dword [rdx + 0x84], 0xe
jbe 0x1400a8a92
cmp dword [rdx + 0xf8], 0
je 0x1400a8a92
mov ecx, ebx
call fcn.1400a8bf0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400e8540]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400a8d60
cmp dword [rsp + 0x60], 0
jne 0x1400a8ad5
mov ecx, ebx
call fcn.1400a8c60
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400a8e70
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x1400a8edc
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400a8edc
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x1400a8f2f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x1400a8ec0
mov rcx, qword [0x1400e8548]
test rcx, rcx
jne 0x1400a8f12
call fcn.1400af6a0
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x1400e8548], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x1400a9013
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x1400a9015
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x1400a903a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x1400a8edc
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400a8edc
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400a8edc
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x1400a9003
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x1400a8fe1
jmp 0x1400a8edc
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x1400a8edc
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140037920
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140042c68
int3
Function at 0x1400a96e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400a971c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140074edc
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400a97d8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400a983e
test ebx, ebx
jne 0x1400a983e
lea ecx, [rax + 2]
call fcn.140074edc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140037920
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret