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

Disassembly:
cmp byte [rcx + 0x24], 0
je 0x1400739f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x23
jb 0x1400739e0
mov byte [rcx + 0x24], 0
mov rax, rcx
ret

Function at 0x140073a00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140073a24
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x21
jb 0x140073a10
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140073a40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x27], 0
je 0x140073a63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x26
jb 0x140073a50
mov byte [rcx + 0x27], 0
ret

Function at 0x140073a70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x140073a93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x140073a80
mov byte [rcx + 0x17], 0
ret

Function at 0x140073aa0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
je 0x140073ac3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x30
jb 0x140073ab0
mov byte [rcx + 0x31], 0
ret

Function at 0x140073ad0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x34], 0
je 0x140073af3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x33
jb 0x140073ae0
mov byte [rcx + 0x34], 0
ret

Function at 0x140073b00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140073b23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140073b10
mov byte [rcx + 0x47], 0
ret

Function at 0x140073b30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
je 0x140073b53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x49
jb 0x140073b40
mov byte [rcx + 0x4a], 0
ret

Function at 0x140073b60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x140073b83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x140073b70
mov byte [rcx + 4], 0
ret

Function at 0x140073b90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x140073bb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x16]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x140073ba0
mov byte [rcx + 0x16], 0
ret

Function at 0x140074e98
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140074ee2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140074ee2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140074ee2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140074ee2
cmp dword [rcx + 0x84], 0xe
jbe 0x140074ee2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140074ee4
xor al, al
add rsp, 0x28
ret
Function at 0x140075110
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 0x14007514a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007514f
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 0x140075198
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140079a20]
cmp byte [rcx + rax], 0
je 0x140075198
dec r8
sub rdx, 1
jne 0x14007517e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140027de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140027e14
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140027e00
ret
Function at 0x140036e70
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400f7fc8], 0
jne 0x140036f60
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400b81d8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400b81e8]
call sub.mscoree.dll_CLRCreateInstance
lea rdi, [0x1400f7fc8]
test eax, eax
js 0x140036f24
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400b81f8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140036f15
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400b8228]
mov r9, rdi
lea rdx, [0x1400b8218]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140036f0a
mov rcx, qword [0x1400f7fc8]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140036f60
cmp qword [0x1400f7fc8], 0
jne 0x140036f60
lea r9, [0x1400b8228]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400b8218]
xor edx, edx
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
test eax, eax
js 0x140036f6d
mov rcx, qword [0x1400f7fc8]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400b8300]
lea rdx, [0x1400b8320]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x14003c0d0
Capabilities:
Create thread
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
add rcx, 0x10
call fcn.1400537e0
mov ecx, dword [rdi + 0x340]
test al, al
je 0x14003c267
cmp ecx, 1
je 0x14003c24f
mov dword [rdi + 0x340], 1
lea rcx, [0x1400f7a80]
call fcn.140041220
test al, al
je 0x14003c2c9
cmp byte [rdi + 0x598], 0
jne 0x14003c2d1
mov byte [rdi + 0x598], 1
cmp qword [0x1400f76d8], 0
je 0x14003c16c
lea rcx, [rdi + 0x80]
call fcn.14005d790
lea rcx, [rdi + 0x80]
call fcn.14005d5f0
mov rcx, qword [0x1400f76d8]
test rcx, rcx
je 0x14003c2d7
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.140040250
mov rcx, rdi
call fcn.14003ed40
lea rcx, [rdi + 0x10]
call fcn.1400536f0
test al, al
je 0x14003c2c9
lea rcx, [rdi + 0x10]
call fcn.140053e30
lea rbx, [rdi + 0x630]
cmp byte [rbx + 8], 0
jne 0x14003c236
cmp qword [rbx + 0x18], 0
je 0x14003c236
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140085814
xor esi, esi
test rax, rax
je 0x14003c1d7
mov qword [rax], rbx
jmp 0x14003c1da
mov rax, rsi
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140037ac0]
xor edx, edx
xor ecx, ecx
call fcn.14009551c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003c2f0
cmp dword [rsp + 0x38], 0
je 0x14003c2dd
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14008466c
test eax, eax
jne 0x14003c2e8
mov dl, 1
mov rcx, rdi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.140040250
lea rcx, [rdi + 0x10]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.140002e50
test ecx, ecx
je 0x14003c2b9
cmp ecx, 1
jne 0x14003c279
lea rcx, [rdi + 0x10]
call fcn.140002e50
xor esi, esi
mov dword [rdi + 0x340], esi
mov rcx, rdi
call fcn.14003ed40
mov byte [rdi + 0x638], sil
mov ebx, 0x1388
cmp byte [rdi + 0x639], sil
je 0x14003c2b9
nop
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x14003c2b9
cmp byte [rdi + 0x639], sil
jne 0x14003c2a0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.140095b98
int3
call fcn.140040150
int3
call fcn.140083550
nop
mov ecx, 1
call fcn.1400839fc
int3
mov ecx, eax
call fcn.1400839c0
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.1400839fc
int3
Function at 0x14003eb70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx edi, r8b
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
lea rcx, [rsp + 0x58]
call fcn.140007ff0
mov byte [rsp + 0x78], dil
mov qword [rsp + 0x80], rsi
mov ecx, 0x30
call fcn.140085814
test rax, rax
je 0x14003ebf5
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x1400b4db0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rsi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140037960]
xor edx, edx
xor ecx, ecx
call fcn.14009551c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003ed0f
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14003ec6a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ec65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ed22
call fcn.140085850
cmp dword [rsp + 0x38], 0
je 0x14003ed28
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14008466c
test eax, eax
jne 0x14003ed33
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003ecd1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003eccc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003ed09
mov rcx, r8
call fcn.140085850
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140085e50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14008c06c
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400839fc
nop
call fcn.14008c06c
int3
mov ecx, 1
call fcn.1400839fc
int3
mov ecx, eax
call fcn.1400839c0
int3

Function at 0x14003ed40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x1400f8060]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.1400838ac
test eax, eax
jne 0x14003edb0
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140047ea0
mov eax, dword [rbx + 0xe0]
mov dword [rsp + 0x50], eax
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400838b4
mov ecx, eax
call fcn.1400839c0
int3
Function at 0x14003f0f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400f8060]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.1400838ac
test eax, eax
jne 0x14003f167
lea edx, [rax + 7]
mov rcx, rbx
call fcn.140047ea0
mov dword [rsp + 0x58], edi
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400838b4
mov ecx, eax
call fcn.1400839c0
int3
Function at 0x140040030
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rdx
xor ebp, ebp
mov dword [rsp + 0x3c], ebp
lea r14, [0x1400f8060]
mov qword [rsp + 0x50], r14
mov rcx, r14
call fcn.1400838ac
test eax, eax
jne 0x14004013a
lea edx, [rbp + 8]
mov rcx, rdi
call fcn.140047ea0
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140007ff0
mov rdx, rax
mov rcx, rdi
call fcn.140043850
nop
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x34]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x34]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x3c], 2
mov rdx, rsi
mov rax, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x1400400fd
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
call fcn.140005980
mov qword [rbx + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov rdx, rbx
cmp rax, 0x10
jb 0x140040109
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.1400838b4
mov rax, rbx
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, eax
call fcn.1400839c0
int3

Function at 0x140040150
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
call fcn.14003e660
mov rcx, rax
call fcn.140057440
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.140088330
mov r8d, 0x400
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140040247
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140095b98
int3
Function at 0x140040250
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400f8060]
mov qword [rsp + 0x80], rsi
mov rcx, rsi
call fcn.1400838ac
test eax, eax
jne 0x140040344
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.140047ea0
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
lea r8d, [rbp + 0x12]
lea rdx, str.TRAINER_INITIALIZE
lea rcx, [rsp + 0x30]
call fcn.140027860
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140043850
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x88], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x88]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x80]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x80], 1
jne 0x140040330
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x80]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x88]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1400838b4
mov ecx, eax
call fcn.1400839c0
int3
Function at 0x140043850
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], rdx
lea r9, [rsp + 0x30]
mov eax, dword [rdx + 0x10]
xor esi, esi
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov dword [rsp + 0x38], eax
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x38]
lea r8d, [rsi + 4]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1400438a1
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400438ef
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400438ea
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004390e
mov rcx, r8
call fcn.140085850
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], sil
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.14008c06c
int3

Function at 0x140043920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], rdx
lea r9, [rsp + 0x30]
mov eax, dword [rdx + 0x10]
mov rbx, rdx
add eax, eax
mov dword [rsp + 0x30], 0
mov rdi, rcx
mov dword [rsp + 0x38], eax
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 8
jb 0x14004397d
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140027110
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140047300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140047344
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140047330
ret

Function at 0x140047880
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13, r9
mov qword [rsp + 0x30], r8
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov r15, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
call fcn.14004cbf0
test al, al
jne 0x1400478f8
xor r12d, r12d
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea r8d, [r12 + 0x19]
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rsi
call fcn.1400279c0
jmp 0x140047a25
mov ecx, 0x208
call fcn.140085ed8
mov rbp, rax
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
lea rdi, [r12 - 1]
mov r14d, 0x104
mov rsi, qword [rsp + 0x30]
lea r12d, [rdi + 2]
mov rax, r15
cmp qword [r15 + 0x18], 8
jb 0x140047942
mov rax, qword [r15]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004794f
mov r8, qword [rbx]
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14004795d
mov rdx, qword [r13]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14004796a
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r14 - 1]
cmp eax, ecx
jb 0x1400479e9
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140047992
mov r8, qword [rbx]
mov rax, rbp
sub r8, rbp
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400479b4
add rax, 2
test ecx, ecx
jne 0x1400479a0
test edx, edx
je 0x1400479e9
mov rcx, rbp
call fcn.140085850
inc r12d
imul r14d, r12d, 0x104
mov ecx, r14d
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140085ed8
mov rbp, rax
jmp 0x140047935
mov rsi, qword [rsp + 0x38]
xor r12d, r12d
inc rdi
cmp word [rbp + rdi*2], r12w
jne 0x1400479f1
mov r8, rdi
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.1400279c0
mov rcx, rbp
call fcn.140085850
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140085e50
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140047d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, ecx
mov rbx, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, di
mov r8, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140047e7c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test rdi, rdi
je 0x140047e7c
test eax, eax
je 0x140047e7c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140047e7c
mov rcx, qword [rbx]
mov qword [rbx + 8], rcx
mov rax, qword [rbx + 0x10]
sub rax, rcx
mov dword [rbp - 0x28], 0xb27d6d6b
mov dword [rbp - 0x24], 0x6bc3fdaf
mov dword [rbp - 0x20], 0x969b1d79
mov dword [rbp - 0x1c], 0x740223cc
mov dword [rbp - 0x18], 0x5f30c177
mov dword [rbp - 0x14], 0xe0e2bb0c
mov dword [rbp - 0x10], 0x9fbbc893
mov dword [rbp - 0xc], 0x251d96ba
cmp rsi, rax
jbe 0x140047e32
mov edx, esi
mov rcx, rbx
call fcn.140047ed0
xor edi, edi
test rsi, rsi
je 0x140047e78
nop dword [rax]
mov rdx, qword [rbx + 8]
mov rax, rdi
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x28]
xor cl, byte [rdi + r14]
mov byte [rbp - 0x30], cl
cmp rdx, qword [rbx + 0x10]
je 0x140047e64
mov byte [rdx], cl
inc qword [rbx + 8]
jmp 0x140047e70
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.1400042f0
inc rdi
cmp rdi, rsi
jb 0x140047e40
mov al, 1
jmp 0x140047e7e
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085e50
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140047ea0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x48]
xor eax, eax
mov dword [rsp + 0x40], edx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x38
ret
Function at 0x14004c510
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x34], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14004c580
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400279c0
mov dword [rsp + 0x34], 1
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x14004c5e4
lea rsi, [rcx + 0xd]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x14004c5c8
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x1a
lea rdx, [0x1400b93f0]
call fcn.140087c80
mov word [rdi + rsi*2], bp
jmp 0x14004c607
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, [0x1400b93f0]
movzx r8d, byte [rsp + 0x30]
mov edx, SafeArrayDestroy
mov rcx, rbx
call fcn.14002c280
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140085e50
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret