joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a22d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
test byte [rcx + 0xb0], 1
jne 0x1400a22fe
xor r15d, r15d
jmp 0x1400a24c2
mov rdi, rdx
mov rsi, rcx
mov byte [rcx + 0xb0], 0
lea rbx, [rcx + 0x20]
mov rcx, rbx
call fcn.1400cec6c
test eax, eax
jne 0x1400a24df
mov qword [rbp - 8], rbx
cmp dword [rsi + 0x6c], 0x7fffffff
je 0x1400a24e9
lea rbx, [rsi + 0x78]
mov rax, qword [rsi + 0x78]
mov r14, qword [rax]
xor r15d, r15d
movabs r12, 0xcbf29ce484222325
movabs r13, 0x100000001b3
jmp 0x1400a2366
mov r14, qword [r14]
mov rax, qword [rbx]
cmp r14, rax
je 0x1400a24b9
mov rax, qword [r14 + 0x30]
test byte [rax + 0x51], 1
je 0x1400a2360
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400a24da
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x1400a23a0
cmp qword [r14 + 0x28], 0x10
jb 0x1400a23af
mov rax, qword [r14 + 0x10]
jmp 0x1400a23b3
mov r14, qword [r14]
mov byte [rsi + 0xb0], 1
mov rax, qword [rbx]
jmp 0x1400a2366
lea rax, [r14 + 0x10]
mov rdx, qword [r14 + 0x20]
mov r10, r12
test rdx, rdx
je 0x1400a2447
mov ecx, edx
and ecx, 3
cmp rdx, 4
jae 0x1400a23d6
xor r8d, r8d
mov r9, r12
jmp 0x1400a241c
and rdx, 0xfffffffffffffffc
xor r8d, r8d
mov r9, r12
movzx r10d, byte [rax + r8]
xor r10, r9
imul r10, r13
movzx r9d, byte [rax + r8 + 1]
xor r9, r10
imul r9, r13
movzx r10d, byte [rax + r8 + 2]
xor r10, r9
imul r10, r13
movzx r9d, byte [rax + r8 + 3]
xor r9, r10
imul r9, r13
add r8, 4
cmp rdx, r8
jne 0x1400a23e0
mov r10, r9
test rcx, rcx
je 0x1400a2447
add rax, r8
xor edx, edx
nop dword [rax]
movzx r10d, byte [rax + rdx]
xor r10, r9
imul r10, r13
inc rdx
mov r9, r10
cmp rcx, rdx
jne 0x1400a2430
and r10, qword [rsi + 0xa0]
mov rax, qword [rsi + 0x88]
lea rcx, [r10 + r10]
mov rdx, r10
shl rdx, 4
mov r8, qword [rax + rdx]
cmp qword [rax + rcx*8 + 8], r14
je 0x1400a2479
cmp r8, r14
jne 0x1400a24a0
mov rdx, qword [r14]
mov qword [rax + rcx*8], rdx
jmp 0x1400a24a0
lea rdx, [r10 + r10]
inc rdx
cmp r8, r14
je 0x1400a248f
mov rcx, qword [r14 + 8]
mov qword [rax + rdx*8], rcx
jmp 0x1400a24a0
mov r8, qword [rbx]
mov qword [rax + rcx*8], r8
mov qword [rax + rdx*8], r8
nop word [rax + rax]
mov rcx, rbx
mov rdx, r14
call fcn.1400a3180
mov r14, rax
mov r15b, 1
mov rax, qword [rbx]
jmp 0x1400a2366
mov rcx, qword [rbp - 8]
call fcn.1400cec74
and r15b, 1
mov eax, r15d
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400ce3d8
mov ecx, 5
call fcn.1400ce164
mov dword [rsi + 0x6c], 0x7ffffffe
mov ecx, 6
call fcn.1400ce164
int3
Function at 0x1400aff70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov qword [rbp], 0xfffffffffffffffe
test rcx, rcx
je 0x1400affc1
mov rsi, rcx
mov eax, dword [0x140173100]
mov ecx, dword [0x140171310]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b0000
lea rcx, [0x140172c80]
mov rdx, rsi
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.1400a0600
mov rax, qword [0x140173740]
test rax, rax
je 0x1400affd4
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x140173100]
mov ecx, dword [0x140171310]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b0049
lea rcx, [0x140172c80]
xor edx, edx
jmp 0x1400affb6
lea rcx, [0x140173100]
call fcn.1400cd488
cmp dword [0x140173100], 0xffffffff
jne 0x1400affac
lea rcx, [0x140172880]
call fcn.1400374f0
mov qword [0x140173080], 0
lea rcx, [0x1400374a0]
call fcn.1400cd6e8
lea rcx, [0x140173100]
call fcn.1400cd53c
jmp 0x1400affac
lea rcx, [0x140173100]
call fcn.1400cd488
cmp dword [0x140173100], 0xffffffff
jne 0x1400afff5
lea rcx, [0x140172880]
call fcn.1400374f0
mov qword [0x140173080], 0
lea rcx, [0x1400374a0]
call fcn.1400cd6e8
lea rcx, [0x140173100]
call fcn.1400cd53c
jmp 0x1400afff5
Function at 0x1400b25b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
movd edx, xmm0
mov r11d, edx
and r11d, 0x7fffff
shr edx, 0x17
and edx, 0xff
je 0x1400b25e5
add edx, 0xffffff6a
test r11d, r11d
je 0x1400b2774
or r11d, 0x800000
jmp 0x1400b25f3
mov edx, 0xffffff6b
test r11d, r11d
je 0x1400b280e
imul r9d, edx, 0x4d105
sar r9d, 0x14
mov eax, 1
sub eax, r9d
mov ecx, 0x20
sub ecx, r9d
lea r8, [0x140134430]
mov r10, qword [r8 + rcx*8]
imul r8d, eax, 0x1a934f
sar r8d, 0x13
add r8d, edx
mov ecx, r8d
not cl
mov rbx, r10
shr rbx, cl
lea edi, [r11 + r11]
lea eax, [r11 + r11]
inc eax
mov ecx, r8d
shl eax, cl
shl rax, 0x20
mul r10
mov rax, rdx
shr rax, 0x20
imul rsi, rax, 0x51eb851f
shr rsi, 0x25
imul ebp, esi, 0xffffff9c
add ebp, eax
cmp ebp, ebx
jae 0x1400b2680
test ebp, ebp
jne 0x1400b26b9
test r11b, 1
je 0x1400b26b9
mov eax, edx
test rax, rax
jne 0x1400b26b9
dec esi
mov ebp, 0x64
jmp 0x1400b2704
ja 0x1400b2704
lea eax, [rdi - 1]
imul rax, r10
mov cl, 0x40
sub cl, r8b
movzx ecx, cl
xor edx, edx
bt rax, rcx
setb dl
lea ecx, [r8 + 0x20]
neg ecx
shr rax, cl
xor ecx, ecx
test eax, eax
sete cl
not r11d
and r11d, ecx
or r11d, edx
je 0x1400b2704
inc r9d
imul eax, esi, 0xc28f5c29
rol eax, 0x1e
xor ecx, ecx
cmp eax, 0x28f5c28
ja 0x1400b26e5
xor ecx, ecx
mov esi, eax
add ecx, 2
imul eax, eax, 0xc28f5c29
rol eax, 0x1e
cmp eax, 0x28f5c29
jb 0x1400b26d0
imul eax, esi, 0xcccccccd
ror eax, 1
xor edx, edx
cmp eax, 0x1999999a
setb dl
cmovae eax, esi
or edx, ecx
add r9d, edx
jmp 0x1400b286e
lea eax, [rsi + rsi*4]
shr ebx, 1
sub ebp, ebx
imul edx, ebp, 0x199a
add edx, 0x8002
movzx ecx, dx
shr edx, 0x10
lea eax, [rdx + rax*2]
cmp ecx, 0x1999
ja 0x1400b286e
mov ecx, edi
imul r10, rcx
mov cl, 0x40
sub cl, r8b
movzx ecx, cl
bt r10, rcx
setb cl
test bpl, 1
sete r11b
xor r11b, cl
je 0x1400b2864
add r8d, 0x20
neg r8d
mov ecx, r8d
shr r10, cl
test r10d, r10d
sete cl
and edx, 1
and dl, cl
movzx ecx, dl
sub eax, ecx
jmp 0x1400b286e
imul r9d, edx, 0x9a209
add r9d, 0xfffc01e1
sar r9d, 0x15
imul r8d, r9d, 0xffe56cb1
sar r8d, 0x13
add r8d, edx
mov eax, 0x1f
sub eax, r9d
lea rcx, [0x140134430]
mov rax, qword [rcx + rax*8]
mov rcx, rax
shr rcx, 0x19
mov r11, rax
sub r11, rcx
mov cl, 0x28
sub cl, r8b
shr r11, cl
mov rsi, rax
shr rsi, 0x18
add rsi, rax
shr rsi, cl
mov ecx, edx
and ecx, 0xfffffffe
xor r10d, r10d
cmp ecx, 2
setne r10b
add r10d, r11d
mov r11d, esi
mov ecx, 0xcccccccd
imul rcx, r11
shr rcx, 0x23
lea r11d, [rcx + rcx]
lea r11d, [r11 + r11*4]
cmp r11d, r10d
jae 0x1400b2815
mov cl, 0x27
sub cl, r8b
shr rax, cl
inc eax
shr eax, 1
cmp edx, 0xffffffdd
jne 0x1400b2868
and eax, 0xfffffffe
jmp 0x1400b286e
xor eax, eax
xor r9d, r9d
jmp 0x1400b286e
inc r9d
imul eax, ecx, 0xc28f5c29
rol eax, 0x1e
xor edx, edx
cmp eax, 0x28f5c28
ja 0x1400b2845
xor edx, edx
nop dword [rax]
mov ecx, eax
add edx, 2
imul eax, eax, 0xc28f5c29
rol eax, 0x1e
cmp eax, 0x28f5c29
jb 0x1400b2830
imul eax, ecx, 0xcccccccd
ror eax, 1
xor r8d, r8d
cmp eax, 0x1999999a
setb r8b
cmovae eax, ecx
or r8d, edx
add r9d, r8d
jmp 0x1400b286e
dec eax
jmp 0x1400b286e
cmp eax, r10d
adc eax, 0
shl r9, 0x20
mov eax, eax
or rax, r9
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400bb190
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ebx, edx
rdtsc
mov rdi, rdx
shl rdi, 0x20
or rdi, rax
call fcn.1400ceeb4
mov rcx, rax
rdtsc
shl rdx, 0x20
or rdx, rax
mov rax, rdx
sub rax, rdi
cmp rax, rbx
jbe 0x1400bb24a
rdtsc
mov rdi, rdx
shl rdi, 0x20
or rdi, rax
call fcn.1400ceeb4
mov rcx, rax
rdtsc
shl rdx, 0x20
or rdx, rax
mov rax, rdx
sub rax, rdi
cmp rax, rbx
jbe 0x1400bb24a
rdtsc
mov rdi, rdx
shl rdi, 0x20
or rdi, rax
call fcn.1400ceeb4
mov rcx, rax
rdtsc
shl rdx, 0x20
or rdx, rax
mov rax, rdx
sub rax, rdi
cmp rax, rbx
jbe 0x1400bb24a
rdtsc
mov rdi, rdx
shl rdi, 0x20
or rdi, rax
call fcn.1400ceeb4
mov rcx, rax
rdtsc
shl rdx, 0x20
or rdx, rax
mov rax, rdx
sub rax, rdi
cmp rax, rbx
jbe 0x1400bb24a
mov rcx, qword [rsi]
add rcx, rcx
xor eax, eax
jmp 0x1400bb289
imul rax, rcx, 0x64
mov ecx, dword [rsi + 0x80]
not ecx
and ecx, 1
shl rcx, 4
mov qword [rsi + rcx + 0x88], rax
mov rax, rdx
and rax, rdi
xor rdx, rdi
shr rdx, 1
add rdx, rax
mov qword [rsi + rcx + 0x90], rdx
lock inc dword [rsi + 0x80]
mov rcx, qword [rsi + 8]
mov al, 1
mov qword [rsi], rcx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400bc580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400bc5a4
mov rdi, qword [rdi]
test rbx, rbx
je 0x1400bc5cd
mov eax, ebx
and eax, 3
movabs rdx, 0x100000001b3
cmp rbx, 4
jae 0x1400bc5d9
movabs r9, 0xcbf29ce484222325
xor r8d, r8d
jmp 0x1400bc62c
movabs r10, 0xcbf29ce484222325
jmp 0x1400bc657
mov r10, rbx
and r10, 0xfffffffffffffffc
movabs r9, 0xcbf29ce484222325
xor r8d, r8d
nop dword [rax]
movzx r11d, byte [rdi + r8]
xor r11, r9
imul r11, rdx
movzx r9d, byte [rdi + r8 + 1]
xor r9, r11
imul r9, rdx
movzx r11d, byte [rdi + r8 + 2]
xor r11, r9
imul r11, rdx
movzx r9d, byte [rdi + r8 + 3]
xor r9, r11
imul r9, rdx
add r8, 4
cmp r10, r8
jne 0x1400bc5f0
mov r10, r9
test rax, rax
je 0x1400bc657
add r8, rdi
xor r11d, r11d
nop word [rax + rax]
movzx r10d, byte [r8 + r11]
xor r10, r9
imul r10, rdx
inc r11
mov r9, r10
cmp rax, r11
jne 0x1400bc640
and r10, qword [rcx + 0x30]
mov r15, qword [rcx + 8]
mov rax, qword [rcx + 0x18]
mov rcx, r10
shl rcx, 4
mov r14, qword [rax + rcx + 8]
cmp r14, r15
je 0x1400bc77c
add r10, r10
mov r12, qword [rax + r10*8]
cmp rbx, qword [r14 + 0x20]
jne 0x1400bc6b3
nop word cs:[rax + rax]
cmp qword [r14 + 0x28], 0x10
jb 0x1400bc6a0
mov rdx, qword [r14 + 0x10]
jmp 0x1400bc6a4
lea rdx, [r14 + 0x10]
mov rcx, rdi
mov r8, rbx
call fcn.1401021e0
test eax, eax
je 0x1400bc6c8
cmp r14, r12
je 0x1400bc77c
mov r14, qword [r14 + 8]
cmp rbx, qword [r14 + 0x20]
je 0x1400bc690
jmp 0x1400bc6b3
cmp r14, r15
je 0x1400bc77c
mov rdi, qword [r14 + 0x38]
cmp qword [r14 + 0x40], rdi
je 0x1400bc77c
mov ebp, dword [r14 + 0x34]
mov ebx, 1
movabs r15, 0xd37a6f4de9bd37a7
jmp 0x1400bc70b
xor ebp, ebp
mov ecx, ebx
inc ebx
cmp rax, rcx
jbe 0x1400bc74f
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400bc78d
mov r13d, ebp
imul rax, r13, 0xb8
lea rdx, [rdi + rax]
add rdx, 0x40
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [r14 + 0x38]
mov r12, qword [r14 + 0x40]
mov rax, r12
sub rax, rdi
sar rax, 3
imul rax, r15
lea rcx, [rax - 1]
cmp rcx, r13
jbe 0x1400bc700
inc ebp
jmp 0x1400bc702
cmp rdi, r12
je 0x1400bc77c
nop word cs:[rax + rax]
mov rcx, rdi
call fcn.14009c910
add rdi, 0xb8
cmp rdi, r12
jne 0x1400bc760
mov rax, qword [r14 + 0x38]
mov qword [r14 + 0x40], rax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400ce3d8
int3
Function at 0x1400cf898
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
and qword [rdx], 0
and qword [r11 + 0x20], 0
lea rax, [r11 + 0x20]
mov qword [r11 - 0x38], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlLeapSecondInformation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400cf8e7
xor eax, eax
jmp 0x1400cf9c0
and dword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LeapSeconds
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [rsp + 0x70], eax
mov eax, 0xaaaaaaab
mul dword [rsp + 0x68]
shr edx, 3
mov ecx, edx
mov qword [r14], rcx
xor esi, esi
mov qword [rsp + 0x30], rsi
test edi, edi
je 0x1400cf93e
cmp edi, 0xea
jne 0x1400cf9a6
cmp rcx, r15
jbe 0x1400cf9a6
mov eax, reloc.WS2_32.dll_inet_ntoa
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400cd480
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LeapSeconds
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1400cf99b
and qword [r14], 0
jmp 0x1400cf9a6
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1400cf9bd
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400d0aec
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 0x1400d0b26
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400d0b2b
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 0x1400d0b74
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401259a0]
cmp byte [rcx + rax], 0
je 0x1400d0b74
dec r8
sub rdx, 1
jne 0x1400d0b5a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400d15f8
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 0x1400d1626
xor eax, eax
jmp 0x1400d170c
cmp qword [rcx + 0x68], 0
je 0x1400d1637
call fcn.140005ea0
jmp 0x1400d170c
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d164e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400d1650
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400d1682
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1401022e0
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 0x1400d1706
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400d16b9
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 0x1400d16e2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400e68b0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400d1706
cmp rsi, rbx
ja 0x1400d16c0
test rsi, rsi
je 0x1400d1706
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400e68b0
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 0x1400d22e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d2332
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d2332
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d2332
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d2332
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d2332
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d2334
xor al, al
add rsp, 0x28
ret
Function at 0x1400d3054
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 0x1400d30cc
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400d30cc
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 0x1400d30cc
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400d30c0
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400d30de
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400d30ae
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 0x1400d30ce

Function at 0x1400dd8dc
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 0x1400dd913
call fcn.1400e0530
mov dword [rax], 0x16
call fcn.1400e191c
xor eax, eax
jmp 0x1400dd9a1
mov rdx, r9
mov rcx, r8
call fcn.1400dd9c4
mov rbx, rax
test rax, rax
je 0x1400dd99e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400dda28]
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 0x1400dd98b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400e0570
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400dd972
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400dd981
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400f0c30
jmp 0x1400dd99e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400dd99b
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 0x1400ddafc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400ddc44
Function at 0x1400ddc44
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400ddc44
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 0x1400ddcb3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ddcb3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ddcb3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ddcb3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ddcb3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ddcb3
cmp dword [rcx + 0xf8], 0
je 0x1400ddcb3
mov ecx, ebx
call fcn.1400ddb7c
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.1400dddd8
nop
cmp dword [rbp + 0x20], 0
je 0x1400ddd01
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ddc10
int3
Function at 0x1400e2d84
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401722b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400e2ddb
cmp word [rdx], r13w
jne 0x1400e2ddb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400e2de0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400e2f05
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400e2f26
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400e2e19
mov rdx, r9
mov word [rbx], cx
jmp 0x1400e2e40
cmp r9, r8
jae 0x1400e2e50
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400e2dfa
jmp 0x1400e2f05
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e2efa
cmp dword [rsp + 0x80], esi
je 0x1400e2efa
lea r8, [0x1401722b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400e2ed2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400e2ea2
mov word [rbx], r13w
jmp 0x1400e2f02
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400e2eaf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400e2f02
cmp word [rsp + 0x70], r13w
jne 0x1400e2edf
cmp rbx, r14
je 0x1400e2e9c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400f89ec
cmp word [rsp + 0x70], r13w
je 0x1400e2f05
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401722b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400e2eff
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400e2f05
Function at 0x1400ed6f0
Capabilities:
Parse pe header

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

Function at 0x1400f7a20
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.1400f0e9c
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 0x1400f7ac1
cmp ebx, dword [rsp + 0x30]
je 0x1400f7aba
test esi, esi
je 0x1400f7aba
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400f7a95
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400f7aa2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400f7a7f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400f7aa6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400f7ac3
mov eax, 1
jmp 0x1400f7ac3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f8d60
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.1400d2cf0
sub rsp, rax
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e0624
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400f8daf
mov rax, rbp
jmp 0x1400f8eb7
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 + 0x1722b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400f8a90
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1722b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400f8eb3
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 0x1400f8eb3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400f8a90
test rax, rax
js 0x1400f8eb3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400f8eb3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400f8ea5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400f8ea5
cmp byte [rcx], 0xd
jne 0x1400f8e8b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400f8e9a
cmp byte [rcx + 1], 0xa
jne 0x1400f8e9a
inc rcx
jmp 0x1400f8e9a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x16e370]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400f8e6d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400f8eb7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400d2670
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret