joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f710
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, dword [0x1401fec30]
lea r15, [0x140202020]
movzx ebp, byte [0x1400413cb]
mov ebx, dword [str._SP7]
cmp byte [0x1401fec28], 0
je 0x14002f743
cmp byte [0x140201f90], 0
je 0x14002f812
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14002f7e7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14002f7e7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x9d37ae1d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14002f7e2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14002f7c0
cmp r8d, 0x8fde5031
je 0x14002f7ec
test r9d, r9d
jne 0x14002f7a0
mov rax, qword [rax]
jmp 0x14002f770
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov ebx, dword [str._SP7]
movzx ebp, byte [0x1400413cb]
cmp byte [0x1401fec28], 0
je 0x14002f743
mov byte [0x140201f90], 0
mov dword [rsp + 0x40], ebx
test bpl, bpl
je 0x14002f904
cmp r14d, 2
jl 0x14002f8bf
movdqa xmm3, xmmword [0x140040b80]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140041af0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140041af0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.3333]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140040c10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140041ae0]
movd xmm0, ebx
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
jmp 0x14002f904
lea r9, [rsp + 0x40]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x14002f8d0
lea rax, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14002f910
mov rax, qword [0x140202038]
cmp rsi, rax
ja 0x14002f954
cmp rax, 0xf
mov qword [0x140202030], rsi
mov rdi, r15
lea rdx, [rsp + 0x40]
cmova rdi, qword [0x140202020]
mov r8, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
jmp 0x14002f743
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140003900
jmp 0x14002f736
Function at 0x14002f970
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
call fcn.140036bf0
lea r15d, [rbp - 6]
cmp qword [rdi + 0x18], 0xf
jbe 0x14002f9d4
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x14002f9da
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x14002fadf
lea r8, [0x140040fd0]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x14002fa7d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x14002fa5d
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov rcx, rbx
cmp rdx, 0xf
jbe 0x14002fa52
mov rcx, qword [rbx]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x14002fa73
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140004470
lea r8, [0x140040fd0]
sub rdi, 6
sub rsi, 1
jne 0x14002fa20
inc r14
cmp r14, r13
jne 0x14002f9f0
cmp r15d, 0xfffffffa
jle 0x14002fadf
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14002fad0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14002fac5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14002fadf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140004470
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x14002fb30
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14002fb15
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14002fb0d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14002fb27
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140004470
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14002faf0
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140032c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140032c74
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140032c60
ret

Function at 0x1400336d0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x1401fec80]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x14003370c
cmp ax, 0x17
jne 0x1400337b7
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400337b7
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140033766
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x1400337a0
mov rsi, rdi
cmp rax, 0xf
jbe 0x140033784
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov al, 1
mov byte [rsi + rbx], 0
jmp 0x1400337b9
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.140003900
mov al, 1
jmp 0x1400337b9
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14003a390
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400337f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401fec80]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140033849
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.1400336d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14003a390
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140034210
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1401fec80]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov r8, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea esi, [rax + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, esi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x14003428d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140034260
test ebx, ebx
jle 0x1400342a2
mov rcx, qword [rdi + 8]
call fcn.140034170
test al, al
je 0x1400342a2
mov al, 1
jmp 0x1400342a4
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003a390
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140035fe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x140036034
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140036010
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140036fc0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1401fec80]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14003702f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140037000
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003a390
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140037cb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140037ce9
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x140037d16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140037cf2
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400394c4
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, [0x140041c10]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400394fe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140039503
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 0x14003954c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140041b10]
cmp byte [rcx + rax], 0
je 0x14003954c
dec r8
sub rdx, 1
jne 0x140039532
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003aad0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000bf7c
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 0x14000bfca
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000bfc5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bfe9
mov rcx, r8
call fcn.1400306f0
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.140037144
int3

Function at 0x14000bff0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x14000c042
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000c094
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c08f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c0b3
mov rcx, r8
call fcn.1400306f0
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.140037144
int3
Function at 0x14000e010
Capabilities:
Check if file exists
Get file attributes
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 [0x140073048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0xe0]
xor ebx, ebx
cmp qword [rcx + 0x18], 8
jb 0x14000e05a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000e08e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.140002330
jmp 0x14000e1fd
mov ebp, 1
mov ecx, 0x208
call fcn.1400309b0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rbx, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000e0dd
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000e0ea
mov r8, qword [rdi]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000e0f9
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000e107
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000e188
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000e12f
mov r8, qword [rdi]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000e154
add rax, 2
test ecx, ecx
jne 0x14000e140
test edx, edx
je 0x14000e188
mov rcx, rsi
call fcn.1400306f0
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400309b0
mov rsi, rax
jmp 0x14000e0d0
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14000e190
mov rax, qword [rsp + 0x60]
cmp rbx, rax
ja 0x14000e1d3
lea rdi, [rsp + 0x48]
cmp rax, 8
cmovae rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140032c20
xor r14d, r14d
mov word [rbx + rdi], r14w
jmp 0x14000e1e3
mov r9, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140002980
mov rcx, rsi
call fcn.1400306f0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400306d0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ec90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
add rcx, 0x70
call fcn.14002ce60
test eax, eax
setne dl
mov byte [rbx + 0xf8], dl
test eax, eax
je 0x14000ecd7
cmp qword [rbx + 0xb8], 0x10000
jae 0x14000ecd7
lea rcx, [rbx + 0x70]
call fcn.14002d260
mov eax, dword [rbx + 0x2d4]
cmp byte [rbx + 0xf8], bpl
je 0x14000ede2
cmp eax, 1
je 0x14000edbf
mov dword [rbx + 0x2d4], 1
call fcn.14000d340
test al, al
je 0x14000ee3e
lea rcx, [rbx + 0x10]
call fcn.140025680
test al, al
je 0x14000ee3e
lea rcx, [rbx + 0x10]
call fcn.140025870
mov rcx, rbx
call fcn.1400104c0
add rbx, 0x3f0
cmp byte [rbx + 8], bpl
jne 0x14000ee29
cmp qword [rbx + 0x18], rbp
je 0x14000ee29
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140030724
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140012a90]
xor edx, edx
xor ecx, ecx
call fcn.14003b688
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000ee51
cmp dword [rsp + 0x38], 0
je 0x14000ee46
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14002fccc
test eax, eax
jne 0x14000ee46
jmp 0x14000ee29
mov eax, dword [0x140076338]
inc eax
mov dword [0x140076338], eax
cmp eax, 5
jle 0x14000ee29
mov dword [0x140076338], ebp
mov rcx, rbx
call fcn.14000e9d0
jmp 0x14000ee29
test eax, eax
je 0x14000ee29
mov dword [rbx + 0x2d4], ebp
mov rcx, rbx
call fcn.1400104c0
mov byte [rbx + 0x3f8], bpl
mov edi, 0x1388
cmp byte [rbx + 0x3f9], bpl
je 0x14000ee29
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14000ee29
cmp byte [rbx + 0x3f9], bpl
jne 0x14000ee10
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14003b1fc
nop
mov ecx, 1
call fcn.14002fc30
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14002fc30
int3
Function at 0x14000f100
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140073048]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebp, ebp
mov dword [rsp + 0x24], ebp
lea rdx, [0x140076830]
lea rcx, [0x140076470]
call fcn.14000c130
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea rdx, [0x140061fa8]
lea rcx, [rsp + 0x40]
call fcn.140002330
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140032860
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000f237
cmp eax, 0x104
je 0x14000f237
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14000f237
mov ecx, esi
call fcn.1400309b0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140032860
mov dword [rsp + 0x28], ebp
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000f22f
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f22f
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140001bf0
nop
mov rcx, rdi
call fcn.1400306f0
lea rdx, [rsp + 0x40]
lea rcx, [0x140076790]
call fcn.140001ce0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000f287
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f2b0
call fcn.1400306f0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400306d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140037144
int3
Function at 0x1400104c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400768c0]
call fcn.14002ff68
test eax, eax
jne 0x14001056f
cmp dword [0x14007690c], 0x7fffffff
je 0x14001055a
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xb0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1400768c0]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.14002ff70
mov ecx, 6
mov dword [0x14007690c], 0x7ffffffe
call fcn.14002fc30
int3
mov ecx, 5
call fcn.14002fc30
int3
Function at 0x140011b90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x140076330]
lea r14, [0x1400768c0]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14002ff68
test eax, eax
jne 0x140011ce8
cmp dword [0x14007690c], 0x7fffffff
je 0x140011cd3
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140001e20
mov rdx, rax
mov rcx, rdi
call fcn.14000bf30
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
cmp rsi, 0xf
jbe 0x140011c8b
mov rcx, rbx
call fcn.1400052f0
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140011c98
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.14002ff70
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [0x14007690c], 0x7ffffffe
mov ecx, 6
call fcn.14002fc30
int3
mov ecx, 5
call fcn.14002fc30
int3