joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c04e0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [r8]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx]
lea rax, [rcx + rax*4]
xorps xmm0, xmmword [rax + 0x10]
dec r8d
add rax, 0x20
test edx, edx
jne 0x1400c052b
test r8d, r8d
je 0x1400c051f
nop dword [rax]
nop word [rax + rax]
aesdec xmm0, xmmword [rax]
add rax, 0x10
add r8d, 0xffffffff
jne 0x1400c0510
aesdeclast xmm0, xmmword [rax]
movups xmmword [r9], xmm0
xor eax, eax
ret
test r8d, r8d
je 0x1400c053f
aesenc xmm0, xmmword [rax]
add rax, 0x10
add r8d, 0xffffffff
jne 0x1400c0530
aesenclast xmm0, xmmword [rax]
movups xmmword [r9], xmm0
xor eax, eax
ret

Function at 0x1400c08d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movsxd rax, r8d
shl rax, 4
add rax, rdx
movdqu xmm0, xmmword [rax]
sub rax, 0x10
movdqu xmmword [rcx], xmm0
add rcx, 0x10
cmp rax, rdx
jbe 0x1400c0906
nop
aesimc xmm0, xmmword [rax]
sub rax, 0x10
movdqu xmmword [rcx], xmm0
lea rcx, [rcx + 0x10]
cmp rax, rdx
ja 0x1400c08f0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rcx], xmm0
ret

Function at 0x1400c0cc0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
cmp rcx, rdx
je 0x1400c0cf9
test r8, r8
je 0x1400c0cf9
sub r10, rcx
mov rdx, qword [0x1403ec5f8]
mov rax, qword [rcx + r10]
lea rcx, [rcx + 8]
xor rdx, r9
and rax, r9
not rdx
and rdx, qword [rcx - 8]
or rax, rdx
mov qword [rcx - 8], rax
sub r8, 1
jne 0x1400c0cd0
ret

Function at 0x1400c0d00
Capabilities:
Encode data using xor

Disassembly:
mov r11, r8
mov r10, rcx
cmp rcx, rdx
je 0x1400c0d5c
test r8, r8
je 0x1400c0d5c
sub r10, rdx
mov rcx, qword [0x1403ec5f8]
mov rax, qword [rdx]
xor rcx, r9
mov r8, qword [rdx + r10]
lea rdx, [rdx + 8]
and rax, r9
not rcx
and rcx, qword [rdx + r10 - 8]
and r8, r9
or rcx, rax
mov qword [rdx + r10 - 8], rcx
mov rax, qword [0x1403ec5f8]
xor rax, r9
not rax
and rax, qword [rdx - 8]
or rax, r8
mov qword [rdx - 8], rax
sub r11, 1
jne 0x1400c0d13
ret
Function at 0x1400c0d60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r13, qword [rsp + 0xc8]
lea rbx, [r9*8]
mov r14, qword [rsp + 0xd8]
mov r12d, 1
mov r10, rdx
mov rsi, rcx
mov ecx, r12d
mov edx, 3
mov rax, r13
mov r11, r8
mov r8, qword [r8]
mov rdi, r9
shl rax, 6
cmp rax, 0x4f
cmova ecx, edx
lea r15, [r8*2 + 4]
shl r12, cl
and r15d, 8
mov rax, r12
mov qword [rsp + 0x40], rcx
imul rax, r9
add r15, r8
mov edx, 0x40
lea rbp, [r14 + rax*8]
lea r9, [rbx + rbp]
mov qword [rsp + 0xb8], r9
nop dword [rax]
nop dword [rax + rax]
mov rcx, r8
shr edx, 1
imul rcx, r15
mov eax, 2
sub rax, rcx
imul r15, rax
cmp edx, 8
jae 0x1400c0e00
mov rax, qword [rsp + 0xd0]
neg r15
mov qword [rsp + 0x38], r9
mov r8, rdi
mov qword [rsp + 0x30], r14
mov r9, r15
mov qword [rsp + 0x28], r12
mov rdx, r11
mov rcx, r10
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], r15
call fcn.1400c0960
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1400f9370
xor r14d, r14d
xor ebx, ebx
mov qword [rsp + 0xc8], rbx
nop word [rax + rax]
mov rax, qword [rsp + 0xb8]
mov r9, rdi
mov qword [rsp + 0x38], rax
mov rsi, r14
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
mov r8, rax
mov rdx, rax
mov rcx, rax
call fcn.1400c1810
test r14, r14
jne 0x1400c0ebd
mov r14d, 0x3f
jmp 0x1400c0ec0
dec r14
test rsi, rsi
lea rax, [r13 - 1]
mov rcx, r14
cmovne rax, r13
inc rbx
mov r8, rax
mov r13, rax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + r8*8]
mov rax, qword [rsp + 0xc8]
shr rdx, cl
add rax, rax
and edx, 1
or rdx, rax
mov qword [rsp + 0xc8], rdx
cmp rbx, qword [rsp + 0x40]
je 0x1400c0f18
test r14, r14
jne 0x1400c0e70
test r8, r8
jne 0x1400c1010
mov rbx, qword [rsp + 0xd8]
lea r15, [rdi*8]
xor r11d, r11d
nop dword [rax + rax]
mov rax, qword [0x1403ec5f8]
mov rcx, qword [0x1403ec5f8]
xor rax, r11
xor rcx, rdx
xor rcx, rax
mov rax, qword [0x1403ec5f8]
xor rax, rcx
mov r8, rax
neg rax
shr r8, 1
neg r8
or r8, rax
shr r8, 0x3f
dec r8
cmp rbp, rbx
je 0x1400c0fb1
test rdi, rdi
je 0x1400c0fb1
mov r10, rbx
mov rax, rbp
sub r10, rbp
mov r9, rdi
nop dword [rax]
mov rdx, qword [0x1403ec5f8]
mov rcx, qword [rax + r10]
lea rax, [rax + 8]
xor rdx, r8
and rcx, r8
not rdx
and rdx, qword [rax - 8]
or rcx, rdx
mov qword [rax - 8], rcx
sub r9, 1
jne 0x1400c0f80
mov rdx, qword [rsp + 0xc8]
inc r11
add rbx, r15
cmp r11, r12
jb 0x1400c0f30
mov rax, qword [rsp + 0xb8]
mov r9, rdi
mov rdx, qword [rsp + 0xa0]
mov r8, rbp
mov r15, qword [rsp + 0x48]
mov rcx, rdx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400c1810
xor ebx, ebx
mov qword [rsp + 0xc8], 0
mov r8, r13
test r14, r14
jne 0x1400c0e70
mov r13, r8
test r8, r8
jne 0x1400c0e70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c1200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r11, qword [0x1403ec5f8]
mov r10, r8
mov rax, qword [0x1403ec5f8]
mov rbx, rcx
mov rsi, qword [0x1403ec5f8]
test r8, r8
je 0x1400c1360
mov qword [rsp + 0x10], rdi
sub rbx, rdx
lea rdi, [rdx - 8]
lea rdi, [rdi + r8*8]
nop word [rax + rax]
mov r9, qword [0x1403ec5f8]
xor r9, qword [rdi]
lea rdi, [rdi - 8]
mov r8, qword [0x1403ec5f8]
mov rax, qword [0x1403ec5f8]
xor r8, qword [rdi + rbx + 8]
mov rcx, r8
xor rcx, r9
sub r9, r8
shr rcx, 0x3f
xor rcx, rax
mov rax, qword [0x1403ec5f8]
mov rdx, rcx
neg rcx
shr rdx, 1
neg rdx
or rdx, rcx
shr rdx, 0x3f
neg rdx
xor rax, rdx
and rdx, r8
not rax
and r9, rax
mov rax, qword [0x1403ec5f8]
or r9, rdx
shr r9, 0x3f
xor rax, r9
mov r9, qword [0x1403ec5f8]
xor r9, qword [rdi + rbx + 8]
mov rcx, rax
mov r8, qword [0x1403ec5f8]
neg rax
xor r8, qword [rdi + 8]
shr rcx, 1
neg rcx
or rcx, rax
mov rax, qword [0x1403ec5f8]
shr rcx, 0x3f
neg rcx
or rsi, rcx
mov rcx, r8
xor rcx, r9
sub r9, r8
shr rcx, 0x3f
xor rcx, rax
mov rax, qword [0x1403ec5f8]
mov rdx, rcx
neg rcx
shr rdx, 1
neg rdx
or rdx, rcx
mov rcx, rsi
shr rdx, 0x3f
not rcx
neg rdx
xor rax, rdx
and rdx, r8
not rax
and r9, rax
mov rax, qword [0x1403ec5f8]
or r9, rdx
shr r9, 0x3f
xor rax, r9
mov rdx, rax
neg rax
shr rdx, 1
neg rdx
or rdx, rax
shr rdx, 0x3f
neg rdx
and rcx, rdx
or rsi, rdx
or r11, rcx
sub r10, 1
jne 0x1400c1240
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rax, r11
pop rsi
ret
Function at 0x1400c3510
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140160140]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov qword [r8], 0
mov rax, rcx
lea rdx, str..psa_its
mov qword [rsp + 0x30], rdx
lea r9, [0x14013e74f]
mov dword [rsp + 0x28], ecx
mov rdi, r8
shr rax, 0x20
lea rcx, [rsp + 0x50]
lea r8, str._s_08x_08x_s
mov dword [rsp + 0x20], eax
mov edx, 0x19
call fcn.140074590
lea rdx, [0x14013f694]
lea rcx, [rsp + 0x50]
call fcn.1400d7774
mov qword [rdi], rax
test rax, rax
jne 0x1400c3591
mov eax, 0xffffff74
jmp 0x1400c35e0
xor edx, edx
mov rcx, rax
call fcn.1400e2190
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8d, reloc.WS2_32.dll_recv
call fcn.1400d79f4
cmp rax, 0x10
jne 0x1400c35db
movabs rax, 0x53544900415350
cmp qword [rsp + 0x40], rax
jne 0x1400c35db
mov eax, dword [rsp + 0x48]
mov dword [rbx], eax
mov eax, dword [rsp + 0x4c]
mov dword [rbx + 4], eax
xor eax, eax
jmp 0x1400c35e0
mov eax, 0xffffff68
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c86e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1400c36b0
Capabilities:
Move file

Disassembly:
push rbx
push rbp
sub rsp, 0x98
mov rax, qword [0x140160140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebx, edx
mov rbp, r8
test rcx, rcx
jne 0x1400c36dd
mov eax, 0xffffff78
jmp 0x1400c380e
movabs rax, 0x53544900415350
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x48], rax
lea rdx, str..psa_its
mov qword [rsp + 0x30], rdx
lea r8, str._s_08x_08x_s
mov rax, rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x88], rdi
lea rcx, [rsp + 0x58]
shr rax, 0x20
mov edx, 0x19
mov dword [rsp + 0x54], r9d
lea r9, [0x14013e74f]
mov qword [rsp + 0x80], r14
mov r14d, 0xffffff6e
mov dword [rsp + 0x20], eax
mov edi, r14d
mov dword [rsp + 0x50], ebx
call fcn.140074590
lea rdx, [0x1401039d4]
lea rcx, str.tempfile.psa_its
call fcn.1400d7774
mov rsi, rax
test rax, rax
je 0x1400c37e8
xor edx, edx
mov rcx, rax
call fcn.1400e2190
mov r9, rsi
lea rcx, [rsp + 0x48]
mov edx, 1
mov r8d, reloc.WS2_32.dll_recv
mov edi, 0xffffff72
call fcn.1400d7534
cmp rax, 0x10
jne 0x1400c37e0
test ebx, ebx
je 0x1400c37b2
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.1400d7534
cmp rax, rbx
jne 0x1400c37e0
mov rcx, rsi
call fcn.1400d11b4
test eax, eax
jne 0x1400c37e8
mov r8d, 1
lea rdx, [rsp + 0x58]
lea rcx, str.tempfile.psa_its
xor edi, edi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
cmove edi, r14d
jmp 0x1400c37e8
mov rcx, rsi
call fcn.1400d11b4
lea rcx, str.tempfile.psa_its
call fcn.1400e2620
mov r14, qword [rsp + 0x80]
mov eax, edi
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c86e0
add rsp, 0x98
pop rbp
pop rbx
ret
Function at 0x1400c63e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movzx eax, r9b
mov rdi, r8
movzx r11d, al
mov rbx, rdx
and r11b, 0x1f
shr eax, 5
mov r10, rcx
and eax, 0x80000003
jge 0x1400c641a
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, al
movzx esi, r11b
mov r9d, dword [r8 + rcx*4]
mov ecx, 0x20
sub cl, r11b
movzx edx, cl
xor ecx, ecx
test r11b, r11b
mov r11d, 4
bswap r9d
cmove edx, ecx
sub rbx, r10
movzx ebp, dl
nop word [rax + rax]
inc al
lea r10, [r10 + 4]
and al, 3
movzx ecx, al
mov r8d, dword [rdi + rcx*4]
mov ecx, esi
shl r9d, cl
mov ecx, ebp
bswap r8d
mov edx, r8d
shr edx, cl
or r9d, edx
bswap r9d
xor r9d, dword [r10 + rbx - 4]
mov dword [r10 - 4], r9d
mov r9d, r8d
sub r11, 1
jne 0x1400c6450
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1400c96fc
Capabilities:
Parse pe header

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

Function at 0x1400c9b6c
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 0x1400c9ba6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c9bab
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 0x1400c9bf4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140116a40]
cmp byte [rcx + rax], 0
je 0x1400c9bf4
dec r8
sub rdx, 1
jne 0x1400c9bda
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400d0730
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.1400c9200
sub rsp, rax
mov rax, qword [0x140160140]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e643c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400d077f
mov rax, rbp
jmp 0x1400d0887
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 + 0x3f4290]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400e1fc0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3f4290]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400d0883
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 0x1400d0883
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400e1fc0
test rax, rax
js 0x1400d0883
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400d0883
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400d0875
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400d0875
cmp byte [rcx], 0xd
jne 0x1400d085b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400d086a
cmp byte [rcx + 1], 0xa
jne 0x1400d086a
inc rcx
jmp 0x1400d086a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x160460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400d083d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400d0887
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400c86e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400dd9a8
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 0x1400dd9df
call fcn.1400df52c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400dd514
xor eax, eax
jmp 0x1400dda6d
mov rdx, r9
mov rcx, r8
call fcn.1400dd944
mov rbx, rax
test rax, rax
je 0x1400dda6a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400dd870]
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 0x1400dda57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400df4a0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400dda3e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400dda4d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400e6e28
jmp 0x1400dda6a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400dda67
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 0x1400e0698
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, [0x1403f4290]
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 0x1400e06ef
cmp word [rdx], r13w
jne 0x1400e06ef
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400e06f4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400e0819
mov r11d, recv
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400e083a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400e072d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400e0754
cmp r9, r8
jae 0x1400e0764
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 0x1400e070e
jmp 0x1400e0819
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 0x1400e080e
cmp dword [rsp + 0x80], esi
je 0x1400e080e
lea r8, [0x1403f4290]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400e07e6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400e07b6
mov word [rbx], r13w
jmp 0x1400e0816
mov ecx, recv
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 0x1400e07c3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400e0816
cmp word [rsp + 0x70], r13w
jne 0x1400e07f3
cmp rbx, r14
je 0x1400e07b0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400e1fc8
cmp word [rsp + 0x70], r13w
je 0x1400e0819
mov ecx, recv
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, [0x1403f4290]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400e0813
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400e0819
Function at 0x1400e2aa8
Capabilities:
Parse pe header

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

Function at 0x1400e2cac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e2aa8

Function at 0x1400e9184
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e919a
mov al, 1
jmp 0x1400e91fa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e91ab
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e91f8
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400dfa0c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e91f8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e91f8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e91f8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e91fa
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400ead70
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ead90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400df4a0
or eax, 0xffffffff
jmp 0x1400ead92
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400ec3d0
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 0x1400ec400
xor eax, eax
jmp 0x1400ec4c3
mov rbp, rbx
cmp word [rax], si
je 0x1400ec425
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400ec40c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400ec408
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.1400ea828
movsxd r14, eax
test eax, eax
jne 0x1400ec463
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ec3f9
mov rcx, r14
call fcn.1400e7c20
mov rdi, rax
test rax, rax
jne 0x1400ec47c
xor ecx, ecx
call fcn.1400e6e28
jmp 0x1400ec458
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.1400ea828
test eax, eax
jne 0x1400ec4ad
mov rcx, rdi
call fcn.1400e6e28
jmp 0x1400ec4b7
xor ecx, ecx
call fcn.1400e6e28
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 0x1400eee28
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.1400e67dc
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 0x1400eeec9
cmp ebx, dword [rsp + 0x30]
je 0x1400eeec2
test esi, esi
je 0x1400eeec2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400eee9d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400eeeaa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400eee87
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400eeeae
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400eeecb
mov eax, 1
jmp 0x1400eeecb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret