joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c070
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1402002f8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14006c28e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14006c28e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1402002f8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14006c144
movsx rdx, word [r8 + 0x6078]
lea rax, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14006c139
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rax, [rax*8 + 0x607c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6070]
test rdi, rdi
je 0x14006c161
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14006c164
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140125cb0]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14006c1a7
mov rsi, qword [r8 + 0x90]
jmp 0x14006c1aa
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14006c1d5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1402002f8]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14006c24e
inc rbx
cmp rbx, 5
jl 0x14006c230
jmp 0x14006c27a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14006c290
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400f4440
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14006e050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1402002f8]
mov rcx, qword [rax + 0x4dd8]
mov r9, qword [rax + 0x4038]
movups xmm0, xmmword [r9 + 0x248]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp fcn.140057900

Function at 0x14006e130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1402002f8]
mov rcx, qword [rax + 0x4dd8]
mov r10, qword [rax + 0x4038]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2a8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x248], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2a8]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.140057900
Function at 0x14009bbd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.14008a860
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x14009bc26
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x14009bc7d
mov ebp, 0x4b0000
jmp 0x14009bc8b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.14008ce40
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x14009bca1
mov eax, r12d
jmp 0x14009bcaa
mov edx, edi
mov ecx, ebp
call fcn.14008ce40
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x14009bcc6
shl esi, 0x10
mov ecx, esi
jmp 0x14009bdb5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x14009bd24
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.14008a860
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x14009bd14
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.14008cd10
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.14008a860
add ebx, eax
jmp 0x14009bdbe
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x14009bd31
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x14009bd70
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.14008a860
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x14009bd75
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.14008cd10
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.14008a860
add ebx, eax
jmp 0x14009bdbe
cmp eax, r12d
jge 0x14009bdae
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.14008a860
sub ebp, eax
sub r15d, esi
je 0x14009bdae
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.14008cd10
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.14008a860
add ebx, eax
jmp 0x14009bdbe
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.14008a860
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.14008a860
Function at 0x1400e7e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400e7f9c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400e7f9c
cmp r10d, r14d
jne 0x1400e7ea0
sub rbx, 0x10
jmp 0x1400e7fe4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400e7f12
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400e7ed4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400e7edc
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400e7efb
movzx edx, r11b
mov rcx, rsi
call fcn.1400e8fb0
test al, al
jne 0x1400e7ff5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400e9620
test al, al
jne 0x1400e7ff5
mov edx, dword [rsi + 0x64]
lea r9, [0x1400e9980]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400e7f3e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400e7c80
jmp 0x1400e7f92
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400e7c80
test dil, dil
je 0x1400e7f8a
cmp byte [rsi + 0x6a], 0
jne 0x1400e7f8a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400e7ff5
sub rbx, 0x10
jmp 0x1400e7fe4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400e7ff9
mov ebp, dword [rbx]
jmp 0x1400e7e60
mov al, 1
jmp 0x1400e8002
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400f4440
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400ee350
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400ee36c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ee3c0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400ee4e5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400ee4e5
test rax, rax
je 0x1400ee4e5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400ee4e5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400ee45a
lea rax, [0x1400ee540]
jmp 0x1400ee4b3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400ee4e5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ee4d3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400ee480
lea rax, [0x1400ee510]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400ee4fa
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400efad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400efadb
xor eax, eax
ret
lea r11, [0x140116490]
not ecx
cmp r8d, 8
jb 0x1400efbb1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400efb00
test r8d, r8d
je 0x1400efbdd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400efbc0
not ecx
mov eax, ecx
ret
Function at 0x1400f37b4
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 0x1400f37ee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f37f3
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 0x1400f383c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140116be0]
cmp byte [rcx + rax], 0
je 0x1400f383c
dec r8
sub rdx, 1
jne 0x1400f3822
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400f4000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400f38cc
mov ebx, eax
test eax, eax
jne 0x1400f4030
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400f4093
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f408a
test al, 0x10
je 0x1400f408a
bt eax, 0xa
jae 0x1400f4083
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400f40a4
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400f407f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400f407f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400f408a
and dword [rsp + 0x3c], 0
jmp 0x1400f408f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f5370
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f53ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f53ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f53ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f53ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f53ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f53bc
xor al, al
add rsp, 0x28
ret
Function at 0x140003370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov rdi, r8
mov ecx, dword [rcx]
mov ebx, edx
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebp, eax
mov edx, 1
lea ecx, [rbp + 1]
call fcn.140009d98
mov rsi, rax
test rax, rax
je 0x1400034ad
mov qword [rsp + 0x40], r15
lea rdx, [r14 + 4]
mov r8d, ebp
mov rcx, rax
mov r15d, ebp
call fcn.1400098c0
mov rdx, rdi
mov rcx, rsi
call fcn.14000a39c
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000343e
sub ebx, ebp
mov edx, 1
sub ebx, 4
mov ecx, ebx
mov ebp, ebx
call fcn.140009d98
mov rbx, rax
test rax, rax
jne 0x14000340c
mov rcx, rsi
call fcn.14000a2c4
mov rcx, rdi
call fcn.14000a42c
jmp 0x1400034a8
lea rdx, [r14 + 4]
mov r8, rbp
add rdx, r15
mov rcx, rbx
call fcn.1400098c0
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.14000c160
mov rcx, rdi
call fcn.14000a42c
mov rcx, rbx
jmp 0x14000349b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 1
mov ecx, 0x800
mov ebx, eax
call fcn.140009d98
mov r14, rax
test rax, rax
je 0x1400034a0
mov ecx, 8
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov edx, 0xc
mov dword [r14], edi
mov rcx, r14
mov dword [r14 + 4], ebx
mov dword [r14 + 8], eax
lea r8d, [rdx + 0x13]
call fcn.140004970
mov rcx, r14
call fcn.14000a2c4
mov rcx, rsi
call fcn.14000a2c4
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14081f721
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using aes mixcolumns step
Hash data using murmur3
Parse pe header

Disassembly:
movzx esi, word [rsp + rdx*4 + 0xf]
mov qword [rdx + rbx - 0xf], rbp
inc r11d
jnp 0x140852bb9
push r9
and r11w, ax
ror r11w, 0xe7
xor dword [rsp + r8 - 0x30994fde], ebp
pop r9
movsxd rbp, ebp
neg al
add rdi, rbp
mul r11
mov rax, rbx
lea rbx, [rbx + r8 - 0x30994fe0]
lea rbx, [rbx + rdx*2 - 0xe]
xadd dword [rsp + rdx*2 + 0x16], ecx
shr r11, 0x58
pop rbp
pop rdx
pop rdx
jbe fcn.140837a63
movsxd rax, eax
sar bp, cl
jns 0x1408720cd
push 0x169bfb0c
mov r8, qword [rbx]
mov esi, 0x7c809d28
sar byte [rsp + rsi - 0x7c809d27], 1
mov rcx, qword ss:[r8 + rsi - 0x7c809d28]
mov rsi, rcx
mov r8d, dword [rsp + 1]
mov r11w, word [rsi + r8 - 0x169bfd]
mov word [rbx + r8*2 - 0x2d37f4], r11w
movzx r11d, word [rsp + r8 - 0x169bfd]
adc byte [rsp + r8*4 - 0x5a6ff4], r11b
mov eax, dword [r10 + r8 - 0x169bfd]
xchg r11b, r8b
lea rcx, [r11 + r8*2 + 0x60b8db94]
movsx ebp, byte [rsp + r8*2 - 0x2d3614]
xor eax, r9d
push r11
rol r8w, cl
ror word [rsp + r8*2 - 0x2c3269], cl
ror eax, 1
neg r8b
sbb eax, ebp
xadd qword [rsp + r8*4 - 0x586720], r8
movsx edx, word [rsp + r8 - 0x169bfd0f]
neg eax
bswap eax
lea rdx, [r11 + rcx*4 + 0x612fe08]
sub ebp, r11d
mov esi, 0x99b3ec14
mov qword [rsp + r8 - 0x169bfd11], r9
lea r8, [r8 + rsi*4 - 0x677bdbd1]
xor dword [rsp + r11 - 0xfdf5], eax
pop rcx
pop r9
bts cx, r11w
inc r11d
movsxd rax, eax
inc bpl
inc ecx
sbb rdx, rsi
adc rdi, rax
shr sil, 0x81
rol r11w, 0xf
ror ecx, cl
mov bp, word [rbx + r11*8 - 0x3f7f2]
lea rbx, [rbx + r11*8 - 0x3f7f0]
movzx r11d, byte [r10 + r11 - 0x7efb]
call fcn.1408802a2
adc rdi, rax
mov r11d, dword [rbx + r11*2 - 0xfd0296]
mov cl, byte [rbx + rbp*8 - 0xd1c]
shr esi, 0x8d
shl r11d, cl
mov dword [rbx + rsi*2 - 0xfd034], r11d
movzx r11d, word [r10 + rsi*4 - 0x1fa068]
lea r10, [r10 + rsi*2 - 0xfd030]
or r8d, 0x6682b5a2
not rdx
mov qword [rsp + rsi*4 - 0x1fa064], 0xffffffffdc1032ba
xor r11w, r9w
sub r11w, 0xe394
not r11w
movsx ecx, bp
rol r11w, 1
sar dl, 0xe1
btc si, 0x2b
xor word [rsp + rsi*2 - 0xfc02c], 0x1eb1
inc r11w
btr si, 0xac
ror esi, cl
neg r11w
add bp, r8w
jbe 0x140849957
dec r11w
lea rax, [rdx - 0x657a5d6]
neg r11w
or rcx, 0xffffffffefb8a739
xor r9w, r11w
shl r8, 0xd0
sbb qword [rsp + rbp - 0xff3e], 0xb168239
mov word [rbp + rbx - 0xff46], r11w
setne byte [rsp + rbp*4 - 0x3fd10]
imul byte [rsp + rbp*4 - 0x3fd13]
call fcn.1408940c0
mov eax, dword [r10 + rsi*4 - 0x184]
shr rsi, 0x3a
push rbp
ja 0x140878aa2
lea r10, [r10 + rsi*2 + 4]
bswap r8d
neg word [rsp + r8 - 0x82900eb]
xor eax, r9d
movzx ecx, r8w
bswap eax
not eax
pop rbp
not dx
mov r11d, dword [rsp + r8*4 - 0x20a403bf]
sub eax, 0xff34f513
btr ebp, r11d
imul ecx, dword [rsp + r8 - 0x82900f0]
shl rbp, 0x66
bswap eax
dec dx
mov qword [rsp + r8*2 - 0x105201e0], r9
bts rcx, rdx
xor dword [rsp + r8*4 - 0x20a403c0], eax
lea r9, [rbp + rdx*8 + 0x3d8da2ab]
btc r8, rcx
rol r11w, 0xd
pop r9
call fcn.140824661
Function at 0x140828ab7
Capabilities:
Authenticate hmac

Disassembly:
dec rcx
bt bp, 0x3b
bswap rcx
mov qword [rsp + rbp*8 - 0x466d0], 0x72bd848c
and dword [rsp + rbp*4 - 0x23366], eax
xor r11d, dword [rsp + rbp - 0x8cd6]
inc rcx
add rbp, 0xffffffffe423b729
shr ax, 0x45
xor rcx, 0x59920928
xor r9, rcx
btc rsi, rdx
mov qword [rbp + rbx + 0x1bdbbbf5], rcx
sar ax, 0x6b
neg bp
and r8b, al
lea rbx, [rbx + rbp*2 + 0x37b687fe]
and al, al
adc eax, dword [r10 + rbp + 0x1bdb440b]
shr si, 0x83
movsx ecx, byte [rsp + rbp*2 + 0x37b6880a]
sbb dword [rsp + rbp + 0x1bdb4403], r11d
xor eax, r9d
inc eax
jmp 0x14086c281

Function at 0x140829300
Capabilities:
Authenticate hmac

Disassembly:
sar esi, 0xbb
not al
rol r8, 0x49
ror al, 1
sal rsi, 0xcf
not al
rol rsi, 0x89
or sil, 0x95
sbb al, 0xb5
mov qword [rsp + rbp - 0x22b56cc3], 0xffffffffd7ab33b1
mov word [rsp + rbp - 0x22b56cc0], 0x1904
jmp 0x14088fafc
pop r9
not bpl
or rcx, 0x53090601
setns dl
movsxd r8, r8d
shl dl, 1
sub rcx, rdx
call fcn.140881ecd
ror al, 1
dec al
shr r8b, 0xc3
neg sil
call fcn.14081faf2
push r9
xor dword [rsp + rbp - 0xf14e], r8d
xor r11w, dx
shr r11, cl
je 0x14084aa6e
xor ebp, r9d
lea rax, [rdx + rax*4 - 0x50f3d1cc]
rol ebp, 3
not ebp
cdq
add dl, cl
sbb r11, rsi
rol ebp, 1
dec ebp
shr sil, 0xa6
xchg dh, cl
push r9
not esi
lea r9, [rcx*8 - 0x656c884d]
bts r11, rcx
xor dword [rsp], ebp
pop r9
not r11
bswap eax
movsxd rbp, ebp
lea r8, [rdx + rdx*2 + 0x703d732]
add rdi, rbp
lea rdx, [r11 + rsi*4 - 0x67c2f866]
sub r8b, al
adc dx, r8w
jmp rdi

Function at 0x14082a873
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using aes mixcolumns step
Parse pe header

Disassembly:
call fcn.14086132c
mov edx, 0x398f5191
movzx esi, dl
jmp 0x140842602

Function at 0x1408326bd
Capabilities:
Authenticate hmac
Encrypt data using aes mixcolumns step
Parse pe header

Disassembly:
lea rax, [rsi*2 + 0x6fb3aaa8]
btc esi, eax
xor r9b, bpl
sub si, word [rsp + rsi - 0x6a353c18]
lea rbp, [rsp + rbp + 0x10]
call fcn.14082b52f

Function at 0x14083270b
Capabilities:
Authenticate hmac
Encrypt data using aes mixcolumns step
Parse pe header

Disassembly:
movzx ecx, bp
not r8d
mov qword [rsp + rsi - 0xe2], r9
call fcn.1408962d9