joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023c170
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
invalid
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
lea ecx, [rbp - 0x28]
call fcn.140218ff0
mov rdx, qword [rbp - 0x28]
mov edx, dword [rbp - 0x28]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x14023c1f9
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
add byte [rax - 0x39], cl
clc
add byte [rax], al
add byte [rax], al
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
invalid
je 0x14023c22c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
add byte [rax], al
jmp case.0x14020b96a.386
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x14023c260
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.1400b32e0
jo 0x14023c212
invalid
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
adc byte [rsi - 0x77], ah
sbb byte [rcx], r14b
leave
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov dword [rsi], ecx
mov byte [rdi], 0
test rbx, rbx
je 0x14023c260
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1400b32e0
jo 0x14023c246
invalid
nop
add rsp, 0x80
add byte [rax], 0
invalid
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400066c0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14000f960], rbx
je 0x140006727
cmp rax, rbx
jne 0x14000671a
mov ebx, 1
mov esi, ebx
jmp 0x14000672c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400066ff
mov ebx, 1
mov eax, dword [0x14000f968]
cmp eax, ebx
jne 0x140006744
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400067b0
mov eax, dword [0x14000f968]
test eax, eax
jne 0x1400067a5
mov dword [0x14000f968], ebx
lea r15, [0x1400089b8]
lea rdi, [0x1400089a0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140006797
test eax, eax
jne 0x14000679b
cmp qword [rdi], r14
je 0x14000678c
mov rax, qword [rdi]
mov rcx, qword [0x140008920]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000676e
test eax, eax
je 0x1400067ab
mov eax, 0xff
jmp 0x140006906
mov dword [0x14000d3e4], ebx
mov edi, 0x1f
mov eax, dword [0x14000f968]
cmp eax, ebx
jne 0x1400067d7
lea rdx, [0x140008998]
lea rcx, [0x140008928]
call sub.msvcrt.dll__initterm
mov dword [0x14000f968], 2
test esi, esi
jne 0x1400067e5
mov rax, r14
xchg qword [0x14000f960], rax
cmp qword [0x14000f970], r14
je 0x140006818
lea rcx, [0x14000f970]
call fcn.140006b30
test eax, eax
je 0x140006818
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000f970]
mov r9, qword [0x140008920]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140006831
mov eax, 0xff
jmp 0x140006906
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400068b7
test ax, ax
je 0x14000684c
test edx, edx
jne 0x1400068b7
sub ax, bx
cmp ax, di
ja 0x140006862
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000684c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400013dc
mov dword [0x14000d3e0], eax
cmp dword [0x14000d400], r14d
jne 0x1400068a0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000d3e4], r14d
jne 0x1400068b5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000d3e0]
jmp 0x140006906
cmp ax, 0x22
jne 0x1400068cb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000683a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call 0x140158000
add rsp, 0x28
jmp 0x1400066c0
Function at 0x140006a1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006a68
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006a60
cmp dword [rcx + 0x3c], edx
jl 0x140006a60
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006a60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140006a68
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400112df
Capabilities:
Terminate process

Disassembly:
jmp 0x1400141d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001139d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015560
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015580
xor al, al
jmp 0x140015601
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015593
xor al, al
jmp 0x140015601
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400155bd
xor al, al
jmp 0x140015601
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400155d1
xor al, al
jmp 0x140015601
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400155e3
xor al, al
jmp 0x140015601
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400155ff
xor al, al
jmp 0x140015601
mov al, 1
add rsp, 0x38
ret
Function at 0x140013370
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011514
movzx eax, al
test eax, eax
jne 0x140013390
mov ecx, 7
call fcn.140011456
nop
mov byte [rsp + 0x20], 0
call fcn.140011483
mov byte [rsp + 0x21], al
cmp dword [0x14001fb28], 1
jne 0x1400133b4
mov ecx, 7
call fcn.140011456
nop
jmp 0x14001340c
cmp dword [0x14001fb28], 0
jne 0x140013407
mov dword [0x14001fb28], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.140011262
test eax, eax
je 0x1400133e8
mov eax, 0xff
jmp 0x140013511
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011474
mov dword [0x14001fb28], 2
jmp 0x14001340c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011442
call fcn.1400113c5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013469
mov rcx, qword [rsp + 0x30]
call fcn.1400111ef
movzx eax, al
test eax, eax
je 0x140013469
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.140011401
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001349d
mov rcx, qword [rsp + 0x38]
call fcn.1400111ef
movzx eax, al
test eax, eax
je 0x14001349d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400114c9
nop
call fcn.1400135c0
mov dword [rsp + 0x28], eax
call fcn.14001139d
movzx eax, al
test eax, eax
jne 0x1400134bc
mov ecx, dword [rsp + 0x28]
call fcn.140011073
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400134cb
call fcn.1400114d3
nop
xor edx, edx
mov cl, 1
call fcn.1400111d6
mov eax, dword [rsp + 0x28]
jmp 0x140013511
add rsp, 0x68
ret
Function at 0x14000b170
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 0x14000b1bc
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 0x14000b20a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000b205
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b229
mov rcx, r8
call fcn.14002d200
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.140033898
int3

Function at 0x14000b230
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
jb 0x14000b27e
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000b2d4
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b2cf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b2f3
mov rcx, r8
call fcn.14002d200
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.140033898
int3
Function at 0x14000d2c0
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 [0x140076048]
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 r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
cmp qword [rcx + 0x18], 8
jb 0x14000d30a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000d344
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.140001eb0
jmp 0x14000d469
mov ecx, 0x208
call fcn.14002d4c0
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 r15d, 0x104
mov rsi, qword [rsp + 0x30]
lea r12d, [rdi + 2]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000d38e
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000d39b
mov r8, qword [rbx]
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000d3a9
mov rdx, qword [r13]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000d3b6
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000d42d
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000d3de
mov r8, qword [rbx]
mov rax, rbp
sub r8, rbp
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000d3f8
add rax, 2
test ecx, ecx
jne 0x14000d3e4
test edx, edx
je 0x14000d42d
mov rcx, rbp
call fcn.14002d200
inc r12d
imul r15d, r12d, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14002d4c0
mov rbp, rax
jmp 0x14000d381
mov rsi, qword [rsp + 0x38]
xor r12d, r12d
inc rdi
cmp word [rbp + rdi*2], r12w
jne 0x14000d435
mov r8, rdi
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.140001eb0
mov rcx, rbp
call fcn.14002d200
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.14002d1e0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000e320
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140076048]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r14d, r14d
mov dword [rsp + 0x24], r14d
lea rdx, [0x1400798f0]
lea rcx, [0x140079530]
call fcn.14000b370
nop
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
xor r8d, r8d
lea rdx, [0x140066360]
lea rcx, [rsp + 0x40]
call fcn.140001eb0
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14002f180
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000e48e
cmp eax, 0x104
je 0x14000e48e
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14000e48e
mov ecx, esi
call fcn.14002d4c0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.14002f180
mov dword [rsp + 0x28], r14d
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 0x14000e486
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 0x14000e486
mov rdx, qword [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000e470
lea rcx, [rsp + 0x40]
call fcn.140001eb0
nop
mov rcx, rdi
call fcn.14002d200
lea rdx, [rsp + 0x40]
lea rcx, [0x140079850]
call fcn.140001cd0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000e4de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e4d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e50a
call fcn.14002d200
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002d1e0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140033898
int3
Function at 0x14000f550
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x140079980]
call fcn.14002c7b8
test eax, eax
jne 0x14000f5da
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, [0x140079980]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.14002c7c0
mov ecx, eax
call fcn.14002c3e0
int3

Function at 0x140010d70
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 [0x1400793f0]
lea r14, [0x140079980]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14002c7b8
test eax, eax
jne 0x140010ea7
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.140001dd0
mov rdx, rax
mov rcx, rdi
call fcn.14000b170
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]
mov qword [rbx], rbp
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
mov rax, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x140010e60
mov rcx, rbx
call fcn.1400058c0
mov qword [rbx + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov rdx, rbx
cmp rax, 0x10
jb 0x140010e6c
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.14002c7c0
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 ecx, eax
call fcn.14002c3e0
int3
Function at 0x140011a80
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 [0x140076048]
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 0x140011bac
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 0x140011bac
test eax, eax
je 0x140011bac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140011bac
mov rcx, qword [rbx]
mov qword [rbx + 8], rcx
mov rax, qword [rbx + 0x10]
sub rax, rcx
mov dword [rbp - 0x28], 0x2d1c3234
mov dword [rbp - 0x24], 0x7c6ea934
mov dword [rbp - 0x20], 0x58a7f6cf
mov dword [rbp - 0x1c], 0xd25afb19
mov dword [rbp - 0x18], 0xe5ab6987
mov dword [rbp - 0x14], 0xc9407dfe
mov dword [rbp - 0x10], 0xdf51884e
mov dword [rbp - 0xc], 0xd83cba63
cmp rsi, rax
jbe 0x140011b62
mov edx, esi
mov rcx, rbx
call fcn.140011bf0
xor edi, edi
test rsi, rsi
je 0x140011ba8
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 0x140011b94
mov byte [rdx], cl
inc qword [rbx + 8]
jmp 0x140011ba0
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.140011ce0
inc rdi
cmp rdi, rsi
jb 0x140011b70
mov al, 1
jmp 0x140011bae
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002d1e0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140011e60
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov ecx, 1
call fcn.14002d234
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x140012340]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
xor edx, edx
call fcn.140039ba0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140011f5b
call fcn.140011f80
test al, al
je 0x140011f1c
mov rax, qword [0x1400793f0]
test rax, rax
je 0x140011eea
cmp dword [rax + 0x2d4], 1
jne 0x140011ee3
lea rcx, [rax + 0x10]
call fcn.140021c20
test eax, eax
jle 0x140011edc
lea ecx, [rax + rax*4]
lea ecx, [rcx*8 + 0xfa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x1400793f0]
mov byte [rax + 0x438], 1
cmp dword [rsp + 0x38], ebx
je 0x140011f75
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x140011f6a
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14002c4d0
test eax, eax
jne 0x140011f50
jmp 0x140011f40
cmp dword [rsp + 0x38], ebx
je 0x140011f75
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14002c4ac
test eax, eax
jne 0x140011f48
mov ebx, 0xffffffff
mov eax, ebx
add rsp, 0x50
pop rbx
ret
mov ecx, eax
call fcn.14002c3e0
int3
mov ecx, 2
call fcn.14002c41c
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call fcn.14002c41c
int3
mov ecx, 5
call fcn.14002c41c
int3
mov ecx, 1
call fcn.14002c41c
int3
Function at 0x140013220
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140076048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140013310
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140011380
nop
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140011380
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.14002d234
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140011380
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.140011380
mov ecx, dword [rsp + 0xa0]
mov dword [rbx + 0x40], ecx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140017d20]
xor edx, edx
xor ecx, ecx
call fcn.140039ba0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140013353
lea rcx, [rsp + 0x60]
call fcn.140013380
cmp dword [rsp + 0x48], edi
je 0x140013362
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14002c4ac
test eax, eax
jne 0x14001336d
jmp 0x140013332
cmp qword [rdx + 0x18], 8
jb 0x14001331a
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140013324
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14002d1e0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x48], edi
mov ecx, 6
call fcn.14002c41c
nop
mov ecx, 1
call fcn.14002c41c
int3
mov ecx, eax
call fcn.14002c3e0
int3

Function at 0x140013440
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140076048]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x1400134a6
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001eb0
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x14006ade0]
mov rcx, rbx
call fcn.140002ab0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002d1e0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140016870
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 0x1400168b4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400168a0
ret