joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066750
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140058d60
xor ebx, ebx
cmp qword [0x14009fcc0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14006687c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14006698f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006698f
mov rcx, rax
call fcn.140058c90
lea rdx, [0x14007c418]
mov rcx, rsi
mov qword [0x14009fcc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140058c90
lea rdx, [0x14007c400]
mov rcx, rsi
mov qword [0x14009fcc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140058c90
lea rcx, [rsp + 0x98]
mov qword [0x14009fcd0], rax
call fcn.140054720
test eax, eax
je 0x14006682f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140059630
cmp dword [rsp + 0x98], 2
jne 0x14006687c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140058c90
test rax, rax
mov qword [0x14009fce0], rax
je 0x14006687c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140058c90
mov qword [0x14009fcd8], rax
mov rcx, qword [0x14009fcd8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140066928
cmp qword [0x14009fce0], rbp
je 0x140066928
call fcn.140058e50
mov rcx, qword [0x14009fce0]
mov rsi, rax
call fcn.140058e50
test rsi, rsi
mov r12, rax
je 0x140066928
test rax, rax
je 0x140066928
call rsi
test rax, rax
je 0x1400668f3
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400668f3
test byte [rsp + 0x40], 1
jne 0x140066928
lea rcx, [rsp + 0x30]
call fcn.140054770
test eax, eax
je 0x140066915
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140059630
cmp dword [rsp + 0x30], 4
jb 0x140066922
bts edi, 0x15
jmp 0x140066966
bts edi, 0x12
jmp 0x140066966
mov rcx, qword [0x14009fcc8]
cmp rcx, rbp
je 0x140066966
call fcn.140058e50
test rax, rax
je 0x140066966
call rax
test rax, rax
mov rbx, rax
je 0x140066966
mov rcx, qword [0x14009fcd0]
cmp rcx, rbp
je 0x140066966
call fcn.140058e50
test rax, rax
je 0x140066966
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14009fcc0]
call fcn.140058e50
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14006698f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140066991
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140069e80
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140098b90]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140069ec7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140052690
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14006a630
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140052690
add rsp, 0x38
ret

Function at 0x14006a930
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140098b90]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [r11 + 8], rbp
lea rdx, [rsp + 0x20]
xor ebx, ebx
mov ecx, 0x105
mov qword [r11 + 0x10], rsi
lea rdi, [rsp + 0x20]
mov ebp, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp eax, 0x104
mov esi, eax
jle 0x14006a9c8
mov qword [rsp + 0x160], r12
lea r12d, [rax + 1]
lea edx, [rbx + 1]
movsxd rcx, r12d
call fcn.14005da70
test rax, rax
mov rdi, rax
jne 0x14006a9a9
call fcn.140055e50
mov esi, ebx
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14006a9c0
test esi, esi
mov ebp, 1
je 0x14006a9c0
mov rdx, rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov r12, qword [rsp + 0x160]
test esi, esi
mov rsi, qword [rsp + 0x158]
je 0x14006a9e7
cmp byte [rdi + 1], 0x3a
jne 0x14006a9f2
movzx ecx, byte [rdi]
call fcn.14006d730
lea ebx, [rax - 0x40]
jmp 0x14006a9f2
call fcn.140055e50
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test ebp, ebp
mov rbp, qword [rsp + 0x150]
je 0x14006aa06
mov rcx, rdi
call fcn.140054da0
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140052690
mov rbx, qword [rsp + 0x168]
add rsp, 0x140
pop rdi
ret
Function at 0x14006bc90
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.140069c10
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x14006be34
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.140069c10
cmp rax, 0xffffffffffffffff
je 0x14006be34
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x14006bdb3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x14006bd39
call fcn.140055e50
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140055e50
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.14006c9c0
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.140069200
cmp eax, 0xffffffff
je 0x14006bd75
cdqe
sub rbx, rax
test rbx, rbx
jg 0x14006bd50
jmp 0x14006bd8e
call fcn.140055e80
cmp dword [rax], 5
jne 0x14006bd8a
call fcn.140055e50
mov dword [rax], SafeArrayGetDim
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.14006c9c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x14006be0c
test rbx, rbx
jns 0x14006be16
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.140069c10
cmp rax, 0xffffffffffffffff
je 0x14006bd1a
mov ecx, esi
call fcn.140068df0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x14006be16
call fcn.140055e50
mov dword [rax], SafeArrayGetDim
call fcn.140055e80
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x14006bd1a
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.140069c10
cmp rax, 0xffffffffffffffff
je 0x14006bd1a
xor eax, eax
jmp 0x14006bd21
call fcn.140055e50
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140071660
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140098b90]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140056260
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.140056260
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1400716f3
cmp dword [rsp + 0x24], 5
jb 0x14007170d
jmp 0x140071709
cmp dword [rsp + 0x30], esi
jne 0x14007170d
cmp dword [rsp + 0x24], 4
ja 0x140071709
jne 0x14007170d
cmp dword [rsp + 0x28], 0
jbe 0x14007170d
mov byte [rbx + 0x18], sil
lea rax, [0x14007df00]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140071520
movzx ecx, byte [0x1400a01d8]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x1400a01d8], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140052690
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180007cec
Capabilities:
Encode data using xor

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, 0x60
mov esi, dword [rsp + 0xa0]
mov rbx, r8
mov ebp, edx
mov dword [rax - 0x38], esi
mov eax, dword [rsp + 0x98]
mov edi, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
call fcn.1800186a4
mov dword [rsp + 0x50], 0xeb8e
mov dword [rsp + 0x54], 0x89ef
mov dword [rsp + 0x58], 0x1f2b
mov dword [rsp + 0x5c], 0x249
mov dword [rsp + 0x48], 0xc18
mov eax, 0x4325c53f
or dword [rsp + 0x48], 0x5c5d4868
xor dword [rsp + 0x48], 0x5c56bc98
mov dword [rsp + 0x44], 0x7b15
or dword [rsp + 0x44], 0xe00e8714
xor dword [rsp + 0x44], 0xe000ba73
mov dword [rsp + 0x40], 0xf191
mov ecx, dword [rsp + 0x40]
mul ecx
mov ecx, esi
shl ecx, 3
shr edx, 4
mov dword [rsp + 0x40], edx
xor dword [rsp + 0x40], 0xe2065
mov dword [rsp + 0xa0], 0x8fb6
shr dword [rsp + 0xa0], 8
add dword [rsp + 0xa0], 0xffff1b0d
xor dword [rsp + 0xa0], 0xfff79881
mov eax, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
call fcn.180027d94
xor r14d, r14d
mov r10, rax
test rax, rax
je 0x180007e58
lea rdx, [rbx + rsi*4]
mov r8, rax
mov r11d, r14d
mov r9, rdx
sub r9, rbx
add r9, 3
shr r9, 2
cmp rbx, rdx
cmova r9, r14
test r9, r9
je 0x180007e53
mov ecx, dword [rbx]
inc r11
lea rbx, [rbx + 4]
xor ecx, ebp
movzx eax, cl
mov word [r8], ax
movzx eax, cx
shr ecx, 0x10
shr ax, 8
lea r8, [r8 + 8]
mov word [r8 - 6], ax
movzx eax, cl
shr cx, 8
mov word [r8 - 4], ax
mov word [r8 - 2], cx
cmp r11, r9
jb 0x180007e18
mov word [r10 + rdi*2], r14w
lea r11, [rsp + 0x60]
mov rax, r10
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180011534
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov r10d, ecx
call fcn.1800186a4
mov dword [rbp - 0x10], 0xa04e
mov dword [rbp - 0xc], 0xdf82
mov dword [rbp - 8], 0x79b6
mov dword [rbp + 0x10], 0x6a7e
xor dword [rbp + 0x10], 0xb2cf606c
xor edx, edx
mov eax, r10d
add dword [rbp + 0x10], 0xffff9816
xor dword [rbp + 0x10], 0xb2cea22c
mov ecx, dword [rbp + 0x10]
mov dword [rbp + 0x10], 0x3caf
or dword [rbp + 0x10], 0xd8fb4394
div ecx
xor dword [rbp + 0x10], 0xd8fb7fbf
mov r11d, eax
mov eax, dword [rbp + 0x10]
cmp eax, r11d
jae 0x18001160c
mov r9d, r11d
sub r9d, eax
mov dword [rbp + 0x20], 0x4888
mov eax, 0xcccccccd
xor dword [rbp + 0x20], 0x4e23aa6b
mov ecx, dword [rbp + 0x20]
mul ecx
shr edx, 6
mov dword [rbp + 0x20], edx
xor dword [rbp + 0x20], 0x2f85a31d
xor dword [rbp + 0x20], 0x2f74bdde
mov dword [rbp + 0x10], 0x9af2
mov eax, dword [rbp + 0x10]
mov dword [rbp + 0x10], eax
add dword [rbp + 0x10], 0xffff7bb5
shl dword [rbp + 0x10], 0xb
shl dword [rbp + 0x10], 0xa
xor dword [rbp + 0x10], 0xd4e44f19
mov eax, dword [rbp + 0x10]
mov eax, dword [rbp + 0x20]
call fcn.180022e6c
mov dword [r8], eax
add r8, 4
dec r9
jne 0x1800115a6
mov dword [rbp + 0x10], 0xd434
mov eax, 0x3521cfb3
mov ecx, dword [rbp + 0x10]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rbp + 0x10], ecx
xor dword [rbp + 0x10], 0x204
mov eax, dword [rbp + 0x10]
mov dword [rbp + 0x10], 0x56fe
xor dword [rbp + 0x10], 0x1420e689
xor dword [rbp + 0x10], 0xe7129d0b
imul eax, r11d
sub r10d, eax
xor dword [rbp + 0x10], 0x6dfd005e
xor dword [rbp + 0x10], 0x9ecf2d22
mov eax, dword [rbp + 0x10]
cmp r10d, eax
jbe 0x180011725
mov dword [rbp + 0x20], 0x24eb
imul eax, dword [rbp + 0x20], 0x2f
mov dword [rbp + 0x20], eax
add dword [rbp + 0x20], 0x3282
xor dword [rbp + 0x20], 0x62d1f
mov dword [rbp + 0x10], 0x3785
shr dword [rbp + 0x10], 0xb
shr dword [rbp + 0x10], 0xb
add dword [rbp + 0x10], 0x897f
xor dword [rbp + 0x10], 0xaea7afec
xor dword [rbp + 0x10], 0xaeacbd80
mov eax, dword [rbp + 0x10]
mov eax, dword [rbp + 0x20]
call fcn.180022e6c
mov r9d, eax
shr eax, 0x10
movzx ecx, ax
shr cx, 8
mov byte [r8], cl
mov dword [rbp + 0x10], 0x55a9
inc r8
add dword [rbp + 0x10], 0xffff85ac
xor dword [rbp + 0x10], 0xffffdb54
mov ecx, dword [rbp + 0x10]
cmp r10d, ecx
jbe 0x1800116ea
mov byte [r8], al
inc r8
mov dword [rbp + 0x10], 0x6dcf
mov eax, 0x6c16c16d
add dword [rbp + 0x10], 0xffffacf3
mov ecx, dword [rbp + 0x10]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [rbp + 0x10], ecx
xor dword [rbp + 0x10], 0x9a
mov eax, dword [rbp + 0x10]
cmp r10d, eax
jbe 0x180011725
shr r9w, 8
mov byte [r8], r9b
add rsp, 0x30
pop rbp
ret
Function at 0x18001df34
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov eax, dword [rbp + 0x30]
mov rdi, qword [rbp + 0x38]
mov r11d, r9d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
mov r10d, edx
call fcn.1800186a4
mov dword [rbp - 0x50], 0x2bc9
xor eax, eax
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
mov dword [rbp + 0x18], 0xe604
mov ecx, dword [rbp + 0x18]
mov eax, 0x1cf06adb
mul ecx
mov eax, 0x1f7047dd
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rbp + 0x18], ecx
btc dword [rbp + 0x18], 9
mov r8d, dword [rbp + 0x18]
mov dword [rbp + 0x18], 0xdf4f
add dword [rbp + 0x18], 0xffff311f
xor dword [rbp + 0x18], 0x7925421
mov ecx, dword [rbp + 0x18]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rbp + 0x18], ecx
xor dword [rbp + 0x18], 0x110098
mov eax, dword [rbp + 0x18]
test r10d, eax
je 0x18001dfe7
mov cl, 0x61
mov eax, r8d
inc r8d
mov byte [rbp + rax - 0x40], cl
inc cl
cmp cl, 0x7a
jle 0x18001dfd6
mov dword [rbp + 0x18], 0x17a0
shr dword [rbp + 0x18], 6
xor dword [rbp + 0x18], 0x5c
mov eax, dword [rbp + 0x18]
test r10d, eax
je 0x18001e011
mov cl, 0x41
mov eax, r8d
inc r8d
mov byte [rbp + rax - 0x40], cl
inc cl
cmp cl, 0x5a
jle 0x18001e000
mov dword [rbp + 0x18], 0xd7e2
shr dword [rbp + 0x18], 1
shl dword [rbp + 0x18], 5
xor dword [rbp + 0x18], 0xa082dc0a
xor dword [rbp + 0x18], 0xa08fa22e
mov eax, dword [rbp + 0x18]
test r10d, eax
je 0x18001e048
mov cl, 0x30
mov eax, r8d
inc r8d
mov byte [rbp + rax - 0x40], cl
inc cl
cmp cl, 0x39
jle 0x18001e037
mov dword [rbp + 0x18], 0x568d
mov eax, 0xb21642c9
or dword [rbp + 0x18], 0xaa23c106
mov ecx, dword [rbp + 0x18]
mul ecx
shr edx, 6
mov dword [rbp + 0x18], edx
add dword [rbp + 0x18], 0x6101
xor dword [rbp + 0x18], 0xa6cafe06
xor dword [rbp + 0x18], 0xa71331d8
mov ecx, dword [rbp + 0x18]
cmp ecx, r11d
jae 0x18001e0ee
mov ebx, r11d
lea r9, [rdi + rcx]
sub ebx, ecx
mov dword [rbp + 0x28], 0x8242
add dword [rbp + 0x28], 0xffff0ab0
xor dword [rbp + 0x28], 0x9e3a34ff
or dword [rbp + 0x28], 0xee37a262
xor dword [rbp + 0x28], 0xeffa4918
mov dword [rbp + 0x18], 0x21eb
or dword [rbp + 0x18], 0x9b96174f
shr dword [rbp + 0x18], 2
add dword [rbp + 0x18], 0xb1e7
xor dword [rbp + 0x18], 0x26e9491a
mov eax, dword [rbp + 0x18]
mov eax, dword [rbp + 0x28]
call fcn.180022e6c
xor edx, edx
div r8d
mov al, byte [rbp + rdx - 0x40]
mov byte [r9], al
inc r9
dec rbx
jne 0x18001e08c
mov dword [rbp + 0x18], 0x58e4
shr dword [rbp + 0x18], 0xe
xor dword [rbp + 0x18], 9
mov eax, dword [rbp + 0x18]
test r10d, eax
je 0x18001e10a
mov byte [r11 + rdi], 0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18001e278
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xc0
mov eax, dword [rbp + 0x7f]
mov r10d, r8d
mov rdi, rcx
mov dword [rsp + 0x20], eax
call fcn.1800186a4
mov dword [rbp - 0x51], 0x6b9c
mov dword [rbp - 0x4d], 0x2241
mov dword [rbp + 0x6f], 0xc672
mov eax, 0x38e38e39
add dword [rbp + 0x6f], 0xffffff70
mov esi, 1
mov edx, dword [rbp + 0x6f]
mul edx
mov eax, 0x3521cfb3
shr edx, 3
mov dword [rbp + 0x6f], edx
mov ecx, dword [rbp + 0x6f]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [rbp + 0x6f], ecx
xor dword [rbp + 0x6f], 0x1a
mov r8d, dword [rbp + 0x6f]
mov dword [rbp + 0x6f], 0x1e89
shl dword [rbp + 0x6f], 0xc
shr dword [rbp + 0x6f], 2
xor dword [rbp + 0x6f], 0x7a2401
mov eax, dword [rbp + 0x6f]
test r10d, eax
je 0x18001e322
lea ecx, [rsi + 0x60]
mov eax, r8d
add r8d, esi
mov word [rbp + rax*2 - 0x41], cx
add cx, si
cmp cx, 0x7a
jbe 0x18001e30e
mov dword [rbp + 0x6f], 0xe977
xor dword [rbp + 0x6f], 0x7f3c59a5
xor dword [rbp + 0x6f], 0x7f3cb0d0
mov eax, dword [rbp + 0x6f]
test r10d, eax
je 0x18001e358
mov ecx, 0x41
mov eax, r8d
add r8d, esi
mov word [rbp + rax*2 - 0x41], cx
add cx, si
cmp cx, 0x5a
jbe 0x18001e344
mov dword [rbp + 0x6f], 0xaeee
shr dword [rbp + 0x6f], 0x10
shl dword [rbp + 0x6f], 0xd
shl dword [rbp + 0x6f], 1
xor dword [rbp + 0x6f], 4
mov eax, dword [rbp + 0x6f]
test r10d, eax
je 0x18001e38f
mov ecx, 0x30
mov eax, r8d
add r8d, esi
mov word [rbp + rax*2 - 0x41], cx
add cx, si
cmp cx, 0x39
jbe 0x18001e37b
mov dword [rbp + 0x6f], 0xdc4d
shr dword [rbp + 0x6f], 1
shl dword [rbp + 0x6f], 1
xor dword [rbp + 0x6f], 0xdc4c
mov ecx, dword [rbp + 0x6f]
cmp ecx, r9d
jae 0x18001e40e
mov ebx, r9d
lea r11, [rdi + rcx*2]
sub ebx, ecx
mov dword [rbp + 0x77], 0x23ad
or dword [rbp + 0x77], 0xdad2ecf6
xor dword [rbp + 0x77], 0xdad6bf6a
mov dword [rbp + 0x6f], 0x3494
imul eax, dword [rbp + 0x6f], 0x73
mov dword [rbp + 0x6f], eax
imul eax, dword [rbp + 0x6f], 0x74
mov dword [rbp + 0x6f], eax
or dword [rbp + 0x6f], 0xdf7a7edf
xor dword [rbp + 0x6f], 0xdff6eb20
mov eax, dword [rbp + 0x6f]
mov eax, dword [rbp + 0x77]
call fcn.180022e6c
xor edx, edx
div r8d
movzx eax, word [rbp + rdx*2 - 0x41]
mov word [r11], ax
lea r11, [r11 + 2]
sub rbx, rsi
jne 0x18001e3b4
mov dword [rbp + 0x6f], 0x8772
xor dword [rbp + 0x6f], 0xec5c3f27
xor dword [rbp + 0x6f], 0xedda49da
xor dword [rbp + 0x6f], 0x7a8a8747
xor dword [rbp + 0x6f], 0x7b0c76c0
mov eax, dword [rbp + 0x6f]
test r10d, eax
je 0x18001e442
mov eax, r9d
xor ecx, ecx
mov word [rdi + rax*2], cx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180022778
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov edi, dword [rsp + 0x80]
mov rbx, r8
mov esi, edx
mov dword [rsp + 0x20], edi
call fcn.1800186a4
mov dword [rsp + 0x40], 0xd39b
xor eax, eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x30], 0xd053
mov eax, 0x10624dd3
shr dword [rsp + 0x30], 0xa
mov ecx, dword [rsp + 0x30]
mul ecx
mov eax, 0x29e4129f
shr edx, 3
mov dword [rsp + 0x30], edx
xor dword [rsp + 0x30], 0x20e6d
mov dword [rsp + 0x68], 0x6f12
mov ecx, dword [rsp + 0x68]
mul ecx
mov eax, 0x88888889
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [rsp + 0x68], ecx
xor dword [rsp + 0x68], 0x9d4c48e3
add dword [rsp + 0x68], 0x620a
xor dword [rsp + 0x68], 0x9d4586e4
mov dword [rsp + 0x38], 0x7d6e
mov ecx, dword [rsp + 0x38]
mul ecx
mov ecx, esi
shl ecx, 2
shr edx, 6
mov dword [rsp + 0x38], edx
xor dword [rsp + 0x38], 0xeca1a
mov dword [rsp + 0x34], 0xa406
add dword [rsp + 0x34], 0xf130
xor dword [rsp + 0x34], 0x70159
mov eax, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
mov eax, dword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
call fcn.180027d94
xor r9d, r9d
mov r10, rax
test rax, rax
je 0x1800228a1
lea rdx, [rbx + rsi*4]
mov r8, rax
mov rcx, rdx
sub rcx, rbx
add rcx, 3
shr rcx, 2
cmp rbx, rdx
cmova rcx, r9
test rcx, rcx
je 0x1800228a1
sub rbx, rax
mov eax, dword [rbx + r8]
inc r9
xor eax, edi
xor dword [r8], eax
lea r8, [r8 + 4]
cmp r9, rcx
jb 0x18002288c
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rax, r10
add rsp, 0x50
pop rdi
ret
Function at 0x180027498
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, dword [rsp + 0xa0]
mov rbp, rcx
mov dword [rsp + 0x20], eax
call fcn.1800186a4
mov r14d, dword [rcx + 0x3c]
mov dword [rsp + 0x80], 0x4007
mov dword [rsp + 0x84], 0x7f86
mov dword [rsp + 0x80], 0x5bb3
mov eax, dword [rsp + 0x80]
add r14, rcx
xor ebx, ebx
lea ecx, [rax + rax*8]
add ecx, ecx
mov dword [rsp + 0x80], ecx
add dword [rsp + 0x80], 0xffff349d
xor dword [rsp + 0x80], 0x5a733
mov r13d, dword [rsp + 0x80]
mov edi, dword [r14 + r13*8 + 0x88]
add rdi, rbp
mov ecx, dword [rdi + 0x20]
mov r15d, dword [rdi + 0x1c]
mov r12d, dword [rdi + 0x24]
mov dword [rsp + 0x80], 0x8054
add rcx, rbp
add r15, rbp
or dword [rsp + 0x80], 0x94e66d41
add r12, rbp
mov qword [rsp + 0x38], rcx
xor dword [rsp + 0x80], 0x94e6ed55
mov esi, dword [rsp + 0x80]
jmp 0x18002765c
mov eax, esi
mov r9d, dword [rcx + rax*4]
mov dword [rsp + 0x80], 0xa84b
mov eax, 0xa6810a7
mov ecx, dword [rsp + 0x80]
add r9, rbp
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rsp + 0x80], ecx
or dword [rsp + 0x80], 0x4104ae
imul eax, dword [rsp + 0x80], 0x5f
mov dword [rsp + 0x80], eax
mov eax, 0x1f7047dd
or dword [rsp + 0x80], 0xae6eda4f
xor dword [rsp + 0x80], 0xbe6ade11
mov dword [rsp + 0x34], 0x85e3
or dword [rsp + 0x34], 0xa0e3a9ed
mov ecx, dword [rsp + 0x34]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [rsp + 0x34], ecx
add dword [rsp + 0x34], 0xf409
xor dword [rsp + 0x34], 0x2d15302
mov dword [rsp + 0x30], 0xaa6a
xor dword [rsp + 0x30], 0xd76c1381
xor dword [rsp + 0x30], 0xd579eead
or dword [rsp + 0x30], 0x73855c34
xor dword [rsp + 0x30], 0x7393ebe2
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x80]
call fcn.180026628
xor eax, 0x23562cb6
cmp eax, dword [rsp + 0x98]
je 0x180027667
mov rcx, qword [rsp + 0x38]
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x180027570
jmp 0x180027695
mov eax, esi
movzx ecx, word [r12 + rax*2]
mov ebx, dword [r15 + rcx*4]
add rbx, rbp
cmp rbx, rdi
jb 0x180027695
mov eax, dword [r14 + r13*8 + 0x8c]
add rax, rdi
cmp rbx, rax
jae 0x180027695
mov rcx, rbx
call fcn.180020f44
mov rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret