joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d850c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d858a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d8581
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d8581
mov rax, qword [rbp - 8]
jmp 0x2fc4d859f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d8554
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001a18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a62
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a64
xor al, al
add rsp, 0x28
ret
Function at 0x14009cd70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1400976d0
nop
mov rax, qword [rsp + 0x90]
lea rcx, vtable.asio::detail::win_iocp_io_context.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
add rax, 0x28
mov rcx, rax
call fcn.140013c20
nop
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x3c], 0
call fcn.1400bfd74
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x90]
add rax, 0x48
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14000b1bc
nop
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140013c20
nop
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x58], 0
mov rax, qword [rsp + 0x90]
add rax, 0x60
mov rcx, rax
call fcn.14009d0e0
nop
mov rax, qword [rsp + 0x90]
add rax, 0x88
mov rcx, rax
call fcn.140013c20
mov rax, qword [rsp + 0x90]
add rax, 0x90
mov rcx, rax
call fcn.14003e91c
nop
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0xa0], ecx
mov rax, qword [rsp + 0x90]
add rax, 0xa8
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14000b1bc
nop
cmp dword [rsp + 0xa0], 0
jl 0x14009cee4
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
jmp 0x14009ceec
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [0x1401d2220]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x28], 0
jne 0x14009cf4f
call qword [0x1401d21d0]
mov dword [rsp + 0x24], eax
call fcn.14003f954
mov r8, rax
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x68]
call fcn.1400149d8
lea rdx, str.iocp
lea rcx, [rsp + 0x68]
call fcn.1400401d4
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x14009cfee
mov rax, qword [rsp + 0x90]
add rax, 0x30
lock inc dword [rax]
mov rax, qword [rsp + 0x90]
add rax, 0xa8
mov qword [rsp + 0x58], rax
mov ecx, 0x18
call fcn.140181f6c
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14009cfcb
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14000b1bc
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.140070598
mov qword [rsp + 0x30], rax
jmp 0x14009cfd4
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400d5b2c
nop
mov rax, qword [rsp + 0x90]
add rsp, 0x88
ret
Function at 0x1401890fc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140188f67
xor ecx, ecx
call qword [0x1401d2338]
test rax, rax
je 0x140188f67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140188f67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140188f67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140188f67
cmp dword [rcx + 0x84], 0xe
jbe 0x140188f67
cmp dword [rcx + 0xf8], 0
je 0x140188f67
mov ecx, ebx
call fcn.140189018
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140188df4
nop
cmp dword [rbp + 0x20], 0
je 0x140188fb5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140188fc0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140188ef8

Function at 0x14019aaf0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x14019ab0f
call fcn.1401aaeb4
jmp 0x14019abc4
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1401925c0
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x14019ab5a
cmp byte [rbp - 0x38], 0
je 0x14019ab8f
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14019ab8f
call fcn.1401a461c
test eax, eax
jne 0x14019ab7b
cmp byte [rbp - 0x38], al
je 0x14019ab73
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14019ab8f
cmp byte [rbp - 0x38], 0
je 0x14019ab8c
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.1401995d8
test eax, eax
je 0x14019aba8
or ebx, 0xffffffff
jmp 0x14019abb3
mov rcx, qword [rbp - 0x20]
call fcn.1401aaeb4
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x14019abc2
mov rcx, qword [rbp - 0x20]
call fcn.1401a2194
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x2fc4d7f90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d8992
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fd108]
test eax, eax
je 0x2fc4d8a2a
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fd110]
mov qword [rbp - 8], rax
jmp 0x2fc4d8a0e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d8a02
cmp qword [rbp - 0x10], 0
je 0x2fc4d8a02
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d89c8
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d8a2b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8b30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d8b58
mov eax, 0
jmp 0x2fc4d8ba6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d8b81
mov eax, 0
jmp 0x2fc4d8ba6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8ba1
mov eax, 0
jmp 0x2fc4d8ba6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d5a80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d6482
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d651a
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d64fe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d64f2
cmp qword [rbp - 0x10], 0
je 0x2fc4d64f2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d64b8
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d651b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d6620
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d6648
mov eax, 0
jmp 0x2fc4d6696
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d6671
mov eax, 0
jmp 0x2fc4d6696
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d6691
mov eax, 0
jmp 0x2fc4d6696
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d5850
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d6252
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d62ea
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d62ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d62c2
cmp qword [rbp - 0x10], 0
je 0x2fc4d62c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d6288
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d62eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d63f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d6418
mov eax, 0
jmp 0x2fc4d6466
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d6441
mov eax, 0
jmp 0x2fc4d6466
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d6461
mov eax, 0
jmp 0x2fc4d6466
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140001f30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
nop dword [rax]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x140002020
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
test al, al
je 0x140002016
mov rcx, qword [rbx + 0x10]
mov byte [rbx + 0x75], 1
mov rax, qword [rcx]
call qword [rax]
mov esi, ebp
cmp dword [rbx + 0x50], ebp
jle 0x140001fa9
mov rdi, rbp
nop dword [rax + rax]
mov rax, qword [rbx + 0x58]
mov rcx, qword [rdi + rax]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x50]
jl 0x140001f90
xor edx, edx
lea rax, [rbx + 0x68]
mov rcx, rbx
lea r9d, [rdx + 0xc]
lea r8d, [rdx + 1]
mov qword [rsp + 0x20], rax
call fcn.140001c00
lea r8, [0x140001e30]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rax, qword [rbx + 0x20]
mov dword [rax + 0x20], ebp
mov dword [rax + 0x24], 0xffffffff
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
je 0x140002016
cmp byte [rbx + 0x75], bpl
je 0x140002020
mov ecx, 0x3e8
call qword [0x14002e220]
cmp byte [rbx + 0x75], bpl
jne 0x140002003
jmp 0x140002020
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov eax, dword [rbx + 0x64]
test eax, eax
jle 0x14000203e
imul edx, eax, 0xea60
mov dword [rbx + 0x64], 0xffffffff
call fcn.140002050
jmp 0x140001f50
imul edx, dword [rbx + 0x60], 0xea60
call fcn.140002050
jmp 0x140001f50

Function at 0x140002240
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x1400021e0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
je 0x140002275
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400030d0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov qword [0x14002e2b8], rcx
lea r8, [0x140002f70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x38
ret
Function at 0x140003ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r14, r8d
mov rbx, rcx
mov r15, r9
mov rcx, r14
mov rsi, rdx
mov rdi, r14
call fcn.14000f2bc
mov rbp, rax
test r14d, r14d
jle 0x140003dd1
mov r10d, dword [rbx + 0x118]
mov r9, rax
sub rsi, rax
nop dword [rax + rax]
lea eax, [r10 + 1]
and eax, 0x800000ff
jge 0x140003d44
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [rbx + 0x11c]
movsxd rdx, eax
mov dword [rbx + 0x118], eax
movzx r8d, byte [rdx + rbx + 0x18]
add ecx, r8d
mov r11d, r8d
and ecx, 0x800000ff
jge 0x140003d71
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [rbx + 0x11c], ecx
movsxd rax, ecx
movzx ecx, byte [rax + rbx + 0x18]
mov byte [rdx + rbx + 0x18], cl
movsxd rax, dword [rbx + 0x11c]
mov byte [rax + rbx + 0x18], r8b
movsxd r10, dword [rbx + 0x118]
movzx ecx, byte [r10 + rbx + 0x18]
add ecx, r11d
and ecx, 0x800000ff
jge 0x140003db1
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rax, ecx
inc r9
movzx ecx, byte [rax + rbx + 0x18]
xor cl, byte [rsi + r9 - 1]
mov byte [r9 - 1], cl
dec rdi
jne 0x140003d30
mov rax, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov dword [r15], r14d
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140003df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r14, r8d
mov rbx, rcx
mov r15, r9
mov rcx, r14
mov rsi, rdx
mov rdi, r14
call fcn.14000f2bc
mov rbp, rax
test r14d, r14d
jle 0x140003ef3
mov r10d, dword [rbx + 0x220]
mov r9, rax
sub rsi, rax
nop dword [rax + rax]
lea eax, [r10 + 1]
and eax, 0x800000ff
jge 0x140003e54
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [rbx + 0x224]
movsxd rdx, eax
mov dword [rbx + 0x220], eax
movzx r8d, byte [rdx + rbx + 0x120]
add ecx, r8d
mov r11d, r8d
and ecx, 0x800000ff
jge 0x140003e84
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [rbx + 0x224], ecx
movsxd rax, ecx
movzx ecx, byte [rax + rbx + 0x120]
mov byte [rdx + rbx + 0x120], cl
movsxd rax, dword [rbx + 0x224]
mov byte [rax + rbx + 0x120], r8b
movsxd r10, dword [rbx + 0x220]
movzx ecx, byte [r10 + rbx + 0x120]
add ecx, r11d
and ecx, 0x800000ff
jge 0x140003ed0
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rax, ecx
inc r9
movzx ecx, byte [rax + rbx + 0x120]
xor cl, byte [rsi + r9 - 1]
mov byte [r9 - 1], cl
dec rdi
jne 0x140003e40
mov rax, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov dword [r15], r14d
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400044a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x1400044bd
cmp edx, 0x20
je 0x1400044b4
cmp edx, 0x30
jne 0x1400044d9
jmp 0x1400044de
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [rcx + 8]
mov rcx, qword [rcx + 0x10]
xor r9d, r9d
lea r8d, [r9 + 1]
mov qword [rsp + 0x20], 0
call fcn.140001c00
add rsp, 0x38
ret
mov byte [rcx + 0x20], 0
call fcn.140004510
xor ecx, ecx
call fcn.14000f948
int3
Function at 0x14000f948
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000f7b0
Function at 0x140003d08
Capabilities:
Check if file exists
Set global application hook

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x140276930]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x180], 0
je 0x140003d61
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x180]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x290]
mov qword [rax + 0x180], 0
xor eax, eax
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, 2
imul rax, rax, 8
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x12
jae 0x140003daf
jmp 0x140003db4
call fcn.1401abc1c
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rsp + rcx + 0x40], ax
mov eax, 2
imul rax, rax, 7
mov ecx, 0x6c
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x2e
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x64
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x6c
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 2
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x78
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x64
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x64
mov word [rsp + rax + 0x40], cx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140003f94
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x180], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x180], 0
je 0x140003f94
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x38], VarBstrFromDisp
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x38], 0x4d
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 4
jae 0x140003ee7
jmp 0x140003eec
call fcn.1401abc1c
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x38], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x38], VarBstrFromDisp
lea rdx, [rsp + 0x38]
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x180]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x188], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x188], 0
je 0x140003f94
xor r9d, r9d
mov rax, qword [rsp + 0x290]
mov r8, qword [rax + 0x180]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x188]
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x190], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x190], 0
je 0x140003f94
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401abec0
add rsp, 0x280
pop rdi
ret
Function at 0x140007558
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x140007597
cmp dword [rcx + 0xe8], 0
jne 0x140007597
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140029008
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140007950
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400075f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.140029008
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140007650
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140007688
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret