joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ebe30
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 [0x14015e040]
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 0x1400ebfcc
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400ebfcc
cmp r10d, r14d
jne 0x1400ebed0
sub rbx, 0x10
jmp 0x1400ec014
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400ebf42
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400ebf04
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400ebf0c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400ebf2b
movzx edx, r11b
mov rcx, rsi
call fcn.1400ecf00
test al, al
jne 0x1400ec025
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400ed630
test al, al
jne 0x1400ec025
mov edx, dword [rsi + 0x64]
lea r9, [0x1400ed990]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400ebf6e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400ebcb0
jmp 0x1400ebfc2
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.1400ebcb0
test dil, dil
je 0x1400ebfba
cmp byte [rsi + 0x6a], 0
jne 0x1400ebfba
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 0x1400ec025
sub rbx, 0x10
jmp 0x1400ec014
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 0x1400ec029
mov ebp, dword [rbx]
jmp 0x1400ebe90
mov al, 1
jmp 0x1400ec032
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.1400f8640
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400ec060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x1400ec19b
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.1400ec530
test al, al
jne 0x1400ec236
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x1400ec12f
cmp edx, dword [rbx + 0x60]
jl 0x1400ec12f
cmp edx, dword [rbx + 0x64]
jg 0x1400ec12f
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1400ec12f
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1400ec12f
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1400ec152
test byte [r9 + 0x18], 8
je 0x1400ec152
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1400ec163
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1400ecf00
test al, al
jne 0x1400ec236
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1400ec186
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x1400ec0c3
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1400ec23a
test rdx, rdx
je 0x1400ec23a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1400ec1d8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1400ec1db
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1400ec1f6
dec r11d
add r11d, eax
jmp 0x1400ec20d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1400ed220
test al, al
jne 0x1400ec236
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1400ed220
test al, al
jne 0x1400ec236
mov rdx, qword [rsi]
add di, bp
jne 0x1400ec1c0
jmp 0x1400ec23e
mov al, 1
jmp 0x1400ec249
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400f22e0
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 0x1400f22fc
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 0x1400f2350
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 0x1400f2475
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400f2475
test rax, rax
je 0x1400f2475
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 0x1400f2475
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 0x1400f23ea
lea rax, [0x1400f24d0]
jmp 0x1400f2443
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 0x1400f2475
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 0x1400f2463
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400f2410
lea rax, [0x1400f24a0]
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 0x1400f248a
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 0x1400f3be0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400f3beb
xor eax, eax
ret
lea r11, [0x14011a420]
not ecx
cmp r8d, 8
jb 0x1400f3cc1
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 0x1400f3c10
test r8d, r8d
je 0x1400f3ced
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 0x1400f3cd0
not ecx
mov eax, ecx
ret
Function at 0x1400f789c
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 0x1400f78d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f78db
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 0x1400f7924
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14011aa30]
cmp byte [rcx + rax], 0
je 0x1400f7924
dec r8
sub rdx, 1
jne 0x1400f790a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400f93b0
Capabilities:
Parse pe header

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000a174
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000a160
ret
Function at 0x140012cf0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140012dbc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140012dbc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140012dd5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140012dac
cmp byte [rax], 0x5c
jne 0x140012da6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140012da6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140012d92
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140012da3
test r8b, 0x10
jne 0x140012da6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140012da6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000c3c0
test edi, edi
jne 0x140012d10
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000c3b0
int3
Function at 0x14001c2c0
Capabilities:
Persist via run registry key
Set registry value
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140084a00]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400071f0
xorps xmm0, xmm0
lea rdx, str.ClipArt1
xorps xmm1, xmm1
lea rcx, [rbp - 0x28]
mov r8d, 8
movups xmmword [rbp - 0x28], xmm0
movdqu xmmword [rbp - 0x18], xmm1
call fcn.140007660
cmp qword [rbp - 0x10], 0xf
lea r8, [rbp - 0x28]
mov ecx, 0x1f0001
cmova r8, qword [rbp - 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x14001c330
mov ecx, 0xb7
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp qword [rbp - 0x10], 0xf
lea r8, [rbp - 0x28]
mov qword [rsp + 0x90], rbx
cmova r8, qword [rbp - 0x28]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x98], rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
movdqa xmm1, xmmword [0x140078b00]
lea rcx, [rbp - 0x48]
xorps xmm0, xmm0
xor edi, edi
movups xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x48], di
mov rbx, rax
movdqu xmmword [rbp - 0x38], xmm1
call fcn.140003120
test al, al
je 0x14001c3ed
lea rax, [rbp - 0x50]
xor r8d, r8d
lea r9d, [rdi + 2]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c3ed
mov eax, dword [rbp - 0x38]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
lea r9d, [rdi + 1]
lea rdx, str.My_Program
cmova rcx, qword [rbp - 0x48]
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140006470
test rbx, rbx
je 0x14001c409
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x30]
mov rbx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x14001c44d
mov rcx, qword [rbp - 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c448
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c4b4
call fcn.14003cc54
mov rdx, qword [rbp - 0x10]
movdqa xmm0, xmmword [0x140078b00]
mov word [rbp - 0x48], di
movdqu xmmword [rbp - 0x38], xmm0
cmp rdx, 0xf
jbe 0x14001c495
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c490
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c4b4
call fcn.14003cc54
mov rdi, qword [rsp + 0x98]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003cb20
add rsp, 0x80
pop rbp
ret
call fcn.14002433c
int3
Function at 0x14001d580
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x34], r14d
lea ecx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov word [rsp + 0x20], r14w
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 4]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoA]
movsxd rbp, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov dword [rsp + 0x34], 1
test eax, eax
jne 0x14001d5f3
mov qword [rbx + 0x10], rbp
mov byte [rbx + rbp], al
jmp 0x14001d626
mov rcx, rbx
cmp rbp, 0xf
ja 0x14001d610
mov qword [rbx + 0x10], rbp
mov r8, rbp
xor edx, edx
call fcn.140048bc0
mov byte [rbx + rbp], 0
jmp 0x14001d626
mov byte [rsp + 0x20], 0
mov r9, rbp
movzx r8d, byte [rsp + 0x30]
mov rdx, rbp
call fcn.140009f40
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001d633
mov r8, qword [rbx]
mov word [rsp + 0x20], r14w
mov r9d, ebp
mov edx, 4
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetGeoInfoA]
mov rcx, qword [rbx + 0x10]
dec rcx
mov qword [rbx + 0x10], rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001d664
mov rax, qword [rbx]
mov byte [rax + rcx], 0
jmp 0x14001d668
mov byte [rbx + rcx], 0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14001e020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, rcx
lea r10, [rsp + 0x20]
mov ecx, 0x10
xor r9b, r9b
nop dword [rax]
nop word [rax + rax]
movzx edx, r9b
lea r10, [r10 + 4]
movzx eax, r9b
add r9b, 4
movzx r8d, byte [rax + rbx + 1]
movzx eax, byte [rdx + rbx]
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + rbx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + rbx + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x14001e060
mov esi, dword [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov r11b, 0x10
nop
mov r9d, dword [rdi + 4]
lea r10, [rdi]
movzx eax, r11b
lea rdi, [rdi + 4]
mov r8d, r9d
inc r11b
ror r8d, 0x12
mov edx, dword [rsp + rax*4 + 0x18]
mov ecx, edx
ror ecx, 0x13
mov eax, r9d
ror eax, 7
xor r8d, eax
mov eax, r9d
shr eax, 3
xor r8d, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 + 0x24]
add r8d, esi
mov esi, r9d
mov dword [r10 + 0x40], r8d
cmp r11b, 0x40
jb 0x14001e0b0
movups xmm0, xmmword [rbx + 0x50]
lea rax, [rbx + 0x50]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rbp + 0x68], rax
movups xmmword [rsp], xmm0
mov r12d, dword [rsp + 8]
lea ebx, [rsi + 0x40]
mov r13d, dword [rsp + 4]
mov r11d, dword [rsp]
movups xmmword [rsp + 0x10], xmm1
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x14]
mov edi, dword [rsp + 0x10]
mov eax, dword [rsp + 0x1c]
nop word [rax + rax]
mov ecx, edi
lea rsi, [rsi + 4]
ror ecx, 0xb
mov r10d, edi
ror r10d, 0x19
mov edx, edi
xor r10d, ecx
not edx
and edx, r14d
mov ecx, edi
ror ecx, 6
mov r8d, r12d
xor r10d, ecx
mov r9d, r13d
mov ecx, r15d
and r9d, r8d
and ecx, edi
xor edx, ecx
lea rcx, [0x140078950]
add r10d, edx
mov edx, r11d
add r10d, dword [rsi + rcx - 4]
mov ecx, r11d
add r10d, dword [rsp + rsi + 0x1c]
ror ecx, 0xd
add r10d, eax
ror edx, 0x16
mov eax, r14d
xor edx, ecx
mov r14d, r15d
mov ecx, r11d
mov r15d, edi
mov edi, dword [rsp + 0xc]
ror ecx, 2
add edi, r10d
xor edx, ecx
mov dword [rsp + 0xc], r12d
mov r12d, r13d
mov r13d, r11d
mov ecx, r12d
or ecx, r8d
and r11d, ecx
lea ecx, [r10 + rdx]
or r11d, r9d
add r11d, ecx
sub rbx, 1
jne 0x14001e150
lea r8, [rsp]
mov dword [rsp + 0x1c], eax
sub r8, qword [rbp + 0x60]
lea edx, [rbx + 8]
mov rax, qword [rbp + 0x68]
mov dword [rsp], r11d
mov dword [rsp + 0x10], edi
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x14], r15d
mov dword [rsp + 8], r12d
mov dword [rsp + 4], r13d
nop word [rax + rax]
mov ecx, dword [rax + r8 - 0x50]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x14001e220
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
sub rsp, 0x78
mov rax, qword [rcx + 0x38]
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x30], rax
jne 0x140022662
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, 0x14
cmp byte [rax + rbx], 0
jne 0x140022653
call fcn.14003d1fc
mov eax, 0x140
add rax, rbx
add rsp, 0x78
pop rbp
pop rbx
ret
cmp qword [rcx + 0x58], 0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
jne 0x14002268f
call fcn.140022490
lea r12, [rbx + 0x48]
xorps xmm0, xmm0
xor ebx, ebx
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov qword [rsp + 0x38], rbx
movups xmmword [rsp + 0x20], xmm0
inc r8
cmp byte [r8 + rbp], bl
jne 0x1400226b1
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140007660
mov r13, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
cmp r13, 0xf
mov r8, qword [rsp + 0x30]
movabs rsi, 0xcbf29ce484222325
cmova rdx, r14
mov r9, rsi
mov rcx, rbx
movabs r10, 0x100000001b3
test r8, r8
je 0x140022715
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x140022702
lea r8, [rsp + 0x20]
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.1400237c0
mov r15, qword [rax + 8]
cmp r13, 0xf
jbe 0x140022762
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002275a
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022875
mov rcx, r14
call fcn.14003cc54
test r15, r15
jne 0x140022790
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, 0x14
cmp byte [rax + rbx], r15b
jne 0x140022783
call fcn.14003d1fc
mov eax, 0x140
add rax, rbx
jmp 0x14002284d
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rbx
inc rdi
cmp byte [rdi + rbp], bl
jne 0x1400227a2
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.140007660
mov rbp, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
cmp rbp, 0xf
mov r8, qword [rsp + 0x30]
cmova rdx, rdi
test r8, r8
je 0x140022803
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rbx
xor rsi, rax
imul rsi, rcx
cmp rbx, r8
jb 0x1400227f0
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140023890
mov rbx, qword [rax + 0x30]
cmp rbp, 0xf
jbe 0x14002284a
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140022842
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022875
mov rcx, rdi
call fcn.14003cc54
mov rax, rbx
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x50]
add rsp, 0x78
pop rbp
pop rbx
ret
call fcn.14002433c
int3