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

Disassembly:
mov rax, qword [rcx]
mov ecx, dword [rax]
cmp ecx, 0x270
jne 0x140017c45
mov rcx, 0xfffffffffffff640
mov edx, 0x80000000
mov r8d, dword [rax + rcx + 0x9c4]
and r8d, edx
mov r9d, dword [rax + rcx + 0x9c8]
mov r10d, r9d
and r10d, 0x7ffffffe
or r10d, r8d
and r9d, 1
neg r9d
and r9d, 0x9908b0df
xor r9d, dword [rax + rcx + 0xff8]
shr r10d, 1
xor r9d, r10d
mov dword [rax + rcx + 0x1384], r9d
add rcx, 4
jne 0x140017bf1
mov ecx, 0x270
jmp 0x140017d35
cmp ecx, 0x4e0
jb 0x140017d35
mov rcx, 0xfffffffffffffc74
mov edx, 0x80000000
mov r8d, dword [rax + rcx + 0xd50]
and r8d, edx
mov r9d, dword [rax + rcx + 0xd54]
mov r10d, r9d
and r10d, 0x7ffffffe
or r10d, r8d
and r9d, 1
neg r9d
and r9d, 0x9908b0df
xor r9d, dword [rax + rcx + 0x1384]
shr r10d, 1
xor r9d, r10d
mov dword [rax + rcx + 0x390], r9d
add rcx, 4
jne 0x140017c5d
xor ecx, ecx
mov edx, 0x80000000
mov r8d, dword [rax + rcx*4 + 0xd50]
and r8d, edx
mov r9d, dword [rax + rcx*4 + 0xd54]
mov r10d, r9d
and r10d, 0x7ffffffe
or r10d, r8d
shr r10d, 1
and r9d, 1
neg r9d
and r9d, 0x9908b0df
xor r9d, dword [rax + rcx*4 + 4]
xor r9d, r10d
mov dword [rax + rcx*4 + 0x390], r9d
inc rcx
cmp rcx, 0x18c
jne 0x140017cae
mov ecx, 0x80000000
and ecx, dword [rax + 0x1380]
mov edx, dword [rax + 4]
mov r8d, edx
and r8d, 0x7ffffffe
or r8d, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x634]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9c0], edx
xor ecx, ecx
lea edx, [rcx + 1]
mov dword [rax], edx
mov ecx, ecx
mov ecx, dword [rax + rcx*4 + 4]
mov edx, ecx
shr edx, 0xb
and edx, dword [rax + 0x1384]
xor edx, ecx
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x14001fd0e
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
call fcn.14001fcc0
mov ecx, eax
add rsp, 0x28
jmp fcn.14001f60c

Function at 0x14001fd60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
je 0x14001fd91
mov eax, 0xda20528d
mov edx, 1
xor r8d, r8d
movzx r8d, word [r8 + rcx]
mov r9d, eax
rol r9d, 0x18
add r9d, r8d
xor eax, r9d
mov r8d, edx
inc edx
cmp byte [rcx + r8], 0
jne 0x14001fd72
ret
mov eax, 0xda20528d
ret
Function at 0x14001fe26
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, 1
cmp dword [0x1400fb940], 0
jne 0x140020041
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14001ff4e
xor r8d, r8d
mov ecx, 0xdfdfdfdf
mov r14, rdx
movsxd rdx, dword [rdx + 0x3c]
mov edx, dword [rdx + r14 + 0x88]
test rdx, rdx
je 0x14001feb3
mov r8d, dword [rdx + r14 + 0xc]
add rdx, r14
mov r9d, dword [r8 + r14]
and r9d, ecx
cmp r9d, 0x4c44544e
jne 0x14001feb0
mov r9d, dword [r8 + r14 + 4]
and r9d, ecx
mov r8, rdx
cmp r9d, 0x4c440e4c
jne 0x14001feb3
jmp 0x14001fecb
mov r8, rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x30]
test rdx, rdx
jne 0x14001fe6e
mov rdx, r8
test r8, r8
je 0x14001ff4e
mov edi, dword [rdx + 0x18]
mov ebx, dword [rdx + 0x1c]
add rbx, r14
mov r12d, dword [rdx + 0x20]
add r12, r14
mov r13d, dword [rdx + 0x24]
add r13, r14
lea esi, [rdi - 1]
xor ebp, ebp
lea r15, [0x1400fb940]
mov ecx, dword [r12 + rsi*4]
movzx eax, word [r14 + rcx]
cmp eax, 0x775a
jne 0x14001ff32
add rcx, r14
call fcn.14001fd60
mov ecx, ebp
shl rcx, 4
mov dword [rcx + r15 + 8], eax
movzx eax, word [r13 + rsi*2]
mov eax, dword [rbx + rax*4]
mov dword [rcx + r15 + 0xc], eax
mov qword [rcx + r15 + 0x10], 0
inc ebp
cmp ebp, 0x226
je 0x14001ff55
dec edi
dec rsi
test edi, edi
jne 0x14001feee
mov dword [0x1400fb940], ebp
mov eax, ebp
dec eax
jne 0x14001ff69
mov ebp, 1
jmp 0x14001ffc7
xor eax, eax
jmp 0x140020041
mov dword [0x1400fb940], 0x226
mov ebp, 0x226
mov eax, 0x225
xor ecx, ecx
lea rdx, [0x1400fb960]
mov r8d, eax
mov r8d, r8d
inc ecx
cmp ebp, ecx
je 0x14001ffc0
mov r9, r8
mov r10, rdx
mov r11d, dword [r10 - 0x14]
mov esi, dword [r10 - 4]
cmp r11d, esi
jbe 0x14001ffb7
mov edi, dword [r10 - 0x18]
mov rbx, qword [r10 - 0x10]
mov r12d, dword [r10 - 8]
mov dword [r10 - 0x18], r12d
mov dword [r10 - 0x14], esi
mov rsi, qword [r10]
mov qword [r10 - 0x10], rsi
mov dword [r10 - 8], edi
mov dword [r10 - 4], r11d
mov qword [r10], rbx
add r10, 0x10
dec r9
jne 0x14001ff84
dec r8d
cmp ecx, eax
jne 0x14001ff75
mov edi, dword [0x1400fb95c]
mov eax, dword [0x1400fb94c]
sub edi, eax
test edi, edi
jle 0x14002003c
add rax, r14
mov ecx, edi
xor ebx, ebx
movzx edx, word [0x1400f6648]
xor dx, word [rax + rbx]
mov r8b, byte [0x1400f664a]
xor r8b, byte [rax + rbx + 2]
movzx r8d, r8b
or r8w, dx
je 0x14002000b
inc rbx
cmp rcx, rbx
jne 0x14001ffe0
jmp 0x14002003c
test ebx, ebx
je 0x14002003c
test ebp, ebp
je 0x14002003c
mov esi, ebp
shl rsi, 4
xor r12d, r12d
mov ecx, dword [r12 + r15 + 0xc]
add rcx, r14
mov edx, ebx
mov r8d, edi
call fcn.14001fd97
mov qword [r12 + r15 + 0x10], rax
add r12, 0x10
cmp rsi, r12
jne 0x14002001c
mov eax, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140034d10
Capabilities:
Parse pe header

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

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

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

Function at 0x140059ab0
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 0x140059b25
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 0x140059ae0
ret
Function at 0x14005cd40
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 [0x1400f5038]
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 0x14005cd81
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 0x14005cde0
mov eax, r14d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140034c20
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 0x140061970
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x48
mov rax, qword [0x1400f5038]
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.140028700
mov r15, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140061b6d
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], r13
lea r13d, [rbx - 1]
mov qword [rsp + 0x40], r14
cmp r13d, 1
jle 0x140061b53
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 0x140061ada
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 0x140061ac4
inc rax
inc ecx
cmp rax, 4
jl 0x140061ab0
jmp 0x140061ac7
mov r9d, ecx
mov byte [r8 + r11], r9b
inc r8
inc r10d
cmp r8, rbx
jl 0x140061a10
add r15d, ebp
add r11, rbp
dec r12
jne 0x1400619f0
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x80]
cmp r13d, 1
jle 0x140061b53
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 0x140061b49
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 0x140061b20
add ebx, ebp
add r10, rbp
dec rdi
jne 0x140061b10
mov rcx, r15
call fcn.1400286f0
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.140034c20
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400663a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400f5038]
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.140034c20
add rsp, 0x48
ret

Function at 0x140066d00
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 [0x1400f5038]
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 0x140066d41
call fcn.14007b090
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 0x140066d62
mov rcx, rbx
call fcn.14007b090
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 0x140066d86
mov rcx, rbx
call fcn.14007b090
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 0x140066e34
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 0x140066dc0
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.1400655b0
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140034c20
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x460
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f950
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 0x14007f991
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14007f986
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 0x14007fb35
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 0x14007f9c7
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 0x14007fa22
nop dword [rax + rax]
mov eax, dword [rcx + 4]
inc r11d
inc r9
cmp eax, 0xfffe0000
jb 0x14007f9f9
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx + 4], eax
movzx eax, byte [r9 + rsi + 0xc6f60]
imul rcx, rax, 0x84
mov rax, qword [rbx + 8]
add rcx, qword [rbx + 0x20]
movsx edx, word [rax + r9*2]
test edx, edx
je 0x14007f9e0
mov eax, dword [rcx + 4]
inc r11d
inc r9
cmp eax, 0xfffe0000
jb 0x14007fa3b
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 0x14007fa63
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
add eax, r8d
mov dword [rcx + 8], eax
test r8d, r8d
jne 0x14007fa90
movzx eax, byte [r9 + rsi + 0xc6f60]
imul rcx, rax, 0x84
mov rax, qword [rbx + 0x20]
add rax, 0x2c
jmp 0x14007fb19
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 + 0xc887c]
movzx edi, word [rsi + rax*4 + 0xc887e]
shr r8d, 1
je 0x14007fb01
lea rdx, [rcx + 0xc]
nop dword [rax + rax]
test r8b, 1
je 0x14007faf5
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 0x14007faec
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 0x14007fac0
movzx eax, byte [r9 + rsi + 0xc6f60]
imul rcx, rax, 0x84
mov rax, qword [rbx + 0x20]
add rax, 0x58
add rcx, rax
cmp r11d, dword [rbx + 4]
jle 0x14007f9b5
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x10]
cmp r11d, 0x10
jge 0x14007fb54
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14007fb4d
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx], eax
mov eax, 1
pop rbx
ret
Function at 0x1400a07d0
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 0x1400a0807
call fcn.1400a2e30
mov dword [rax], 0x16
call fcn.1400a3958
xor eax, eax
jmp 0x1400a0895
mov rdx, r9
mov rcx, r8
call fcn.1400a08b8
mov rbx, rax
test rax, rax
je 0x1400a0892
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400a091c]
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 0x1400a087f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a2e70
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400a0866
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400a0875
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400ae860
jmp 0x1400a0892
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400a088f
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 0x1400a09f0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a0b38
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 0x1400a0ba7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a0ba7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a0ba7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a0ba7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a0ba7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a0ba7
cmp dword [rcx + 0xf8], 0
je 0x1400a0ba7
mov ecx, ebx
call fcn.1400a0a70
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.1400a0ccc
nop
cmp dword [rbp + 0x20], 0
je 0x1400a0bf5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a0b04
int3

Function at 0x1400ab400
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ab428
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ab428
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400b6278
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.1400aeacc
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 0x1400b6319
cmp ebx, dword [rsp + 0x30]
je 0x1400b6312
test esi, esi
je 0x1400b6312
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400b62ed
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400b62fa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400b62d7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400b62fe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400b631b
mov eax, 1
jmp 0x1400b631b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140034c50
sub rsp, rax
mov rax, qword [0x1400f5038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400b38b0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400b72df
mov rax, rbp
jmp 0x1400b73e7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xfb3e0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400b6fc0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xfb3e0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400b73e3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b73e3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400b6fc0
test rax, rax
js 0x1400b73e3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400b73e3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400b73d5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400b73d5
cmp byte [rcx], 0xd
jne 0x1400b73bb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400b73ca
cmp byte [rcx + 1], 0xa
jne 0x1400b73ca
inc rcx
jmp 0x1400b73ca
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xf5c90]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400b739d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400b73e7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140034c20
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret