joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d0e0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00598230], 0
jne 0x41d1cf
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41d1c5
lea rbx, [0x0056a670]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x11440]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41d1a7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045e5e0
lea rax, [0x004b0341]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00433740
nop
int3

Function at 0x41f5c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f6be
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41f600
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41f6af
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00420180
nop dword [rax]
test rax, rax
je 0x41f6af
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041f700]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.0045be20
xorps xmm15, xmm15
mov r14, qword [0x00598400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41f69d
xor eax, eax
jmp 0x41f6a7
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41f5f2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045bf60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041f5c0
Function at 0x441e20
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x441f8a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x441e38
cmp edx, ecx
jne 0x441f78
nop dword [rax]
test rsi, rsi
jne 0x441f78
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x441e94
nop
call fcn.0045ff60
xorps xmm15, xmm15
mov r14, qword [0x00598400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00441d20
mov rcx, qword [0x00545528]
mov rdx, qword [0x00545520]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x441f73
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x441f68
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00545f30]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00545f30], rbx
nop
mov edx, 1
lea rsi, [0x00545f38]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x441f57
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004afb17]
mov ebx, 0x28
call fcn.00433740
mov rcx, rax
mov rax, rsi
call fcn.0045e5c0
call fcn.00431d60
lea rax, [0x004aef21]
mov ebx, 0x23
call fcn.00433740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bf60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00441e20
Function at 0x1400021b4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140165030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r9d
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
test r8, r8
je 0x1400022d8
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x1400021f7
cmp eax, 5
jne 0x1400022d8
lea r9, str.debug
cmp r9, r8
je 0x140002232
xor edx, edx
xor ecx, ecx
mov al, byte [rcx + r8]
cmp byte [rcx + r9], al
jne 0x1400022d8
inc edx
mov ecx, edx
cmp rcx, 5
jb 0x14000221a
xor ebx, ebx
test edi, edi
je 0x140002287
test ebx, ebx
je 0x140002249
lea rcx, [0x1400a4fa8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400015f0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x30]
call fcn.140002c34
inc ebx
add rsi, 0x10
cmp ebx, edi
jb 0x140002238
lea rcx, [0x1400a4fac]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001b34
mov rdx, qword [rax + 0x408]
lea rcx, [rsp + 0x20]
call rdx
nop
call fcn.140001b34
mov r8, qword [rax + 0x420]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call r8
nop
call fcn.140001b34
mov rdx, qword [rax + 0x410]
lea rcx, [rsp + 0x20]
call rdx
nop
mov al, 1
jmp 0x1400022da
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140080600
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x140165030]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [0x140165c40]
xor ebx, ebx
mov r15, r9
mov r14, r8
mov rdi, rdx
test rdx, rdx
je 0x140002f01
cmp word [rdx], bx
je 0x140002f01
lea r8d, [rbx + 4]
mov rcx, rdi
lea rdx, [0x1400a4f30]
call fcn.14008754c
test eax, eax
jne 0x140002e20
add rdi, 8
mov r8d, 2
lea rdx, [0x1400a4f3c]
mov rcx, rdi
call fcn.14008754c
test eax, eax
jne 0x140002e3d
add rdi, 4
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140083010
mov r9d, 0x104
lea rcx, [rsp + 0x20]
mov r8, rdi
lea edx, [r9 + 1]
call fcn.140087578
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.1400826b4
mov rdi, rax
test rax, rax
je 0x140002eaf
mov word [rax], bx
add rdi, 2
je 0x140002eaf
lea rdx, str.HTML
mov rcx, rdi
call fcn.140086e98
test eax, eax
je 0x140002eaf
lea rdx, [0x1400a4f58]
mov rcx, rdi
call fcn.140086e98
mov r8, rdi
test eax, eax
jne 0x140002eb5
mov r8d, 0x17
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140002f01
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002f01
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [r14], rax
test rax, rax
je 0x140002f01
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [r15], eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140080600
add rsp, 0x240
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400065b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140165030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rbx, rcx
mov ecx, dword [r8]
sub ecx, 0xfd
je 0x140006623
cmp ecx, 1
je 0x1400065e8
xor al, al
jmp 0x1400066e5
lea rcx, [r8 + 8]
xor r8d, r8d
lea rdx, [rsp + 0x20]
call fcn.1400015f0
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.140002c34
jmp 0x1400066e3
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
mov eax, 2
mul rbp
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400809cc
mov rsi, rax
mov r8d, ebp
mov rdx, rax
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.140001b34
mov rdx, qword [rax + 0x408]
lea rcx, [rsp + 0x20]
call rdx
xor ecx, ecx
test ebp, ebp
jne 0x14000668e
mov rax, rsi
mov ebx, ecx
cmp word [rsi], cx
je 0x140006690
lea rax, [rax + 2]
inc rbx
cmp word [rax], cx
jne 0x140006680
jmp 0x140006690
mov ebx, ebp
call fcn.140001b34
mov r10, qword [rax + 0x440]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x20]
call r10
nop
call fcn.140001b34
mov r8, qword [rax + 0x420]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 8]
call r8
nop
call fcn.140001b34
mov rdx, qword [rax + 0x410]
lea rcx, [rsp + 0x20]
call rdx
nop
mov rcx, rsi
call fcn.140080620
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140080600
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008de4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov rbx, qword [rbp + 0x30]
cmp r9d, 0xd4
je 0x140008e0d
xor al, al
jmp 0x140008f2a
test rbx, rbx
je 0x140008f28
mov rcx, qword [rcx + 0x20]
cmp rcx, rbx
je 0x140008e48
lea rcx, [rbx + 8]
mov rax, qword [rcx]
mov rdx, qword [rax]
call rdx
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140008e41
add rcx, 8
mov rax, qword [rcx]
mov rdx, qword [rax + 8]
call rdx
mov qword [rdi + 0x20], rbx
mov rcx, rbx
and qword [rbp - 0x18], 0
mov rax, qword [rcx]
lea r8, [rbp - 0x18]
lea rdx, str.fragmented.destination.video.sciter.com
call qword [rax + 0x10]
test eax, eax
je 0x140008f11
and qword [rbp - 0x20], 0
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140008e84
mov qword [rbp - 0x20], rax
lea rcx, [rax + 8]
mov rax, qword [rcx]
mov rdx, qword [rax]
call rdx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov ecx, 0x10
call fcn.1400808c0
mov rbx, rax
mov qword [rbp - 8], rax
lea rax, [0x140008f3c]
mov qword [rbx], rax
and qword [rbx + 8], 0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140008ece
mov qword [rbx + 8], rcx
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140008ec6
add rcx, 8
mov rax, qword [rcx]
mov rdx, qword [rax]
call rdx
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140009238]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x140008f11
lea rcx, [rax + 8]
mov rax, qword [rcx]
mov rdx, qword [rax + 8]
call rdx
nop
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140008f28
lea rcx, [rax + 8]
mov rax, qword [rcx]
mov rdx, qword [rax + 8]
call rdx
nop
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140009d40
Capabilities:
Accept command line arguments

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 rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140165030]
xor rax, rsp
mov qword [rbp - 8], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r14d, r14d
mov eax, dword [rdx + rcx]
cmp dword [0x14016b4e0], eax
jle 0x140009dc7
lea rcx, [0x14016b4e0]
call fcn.1400807b0
cmp dword [0x14016b4e0], 0xffffffff
jne 0x140009dc7
xorps xmm0, xmm0
movdqu xmmword [0x14016b4c8], xmm0
mov qword [0x14016b4d8], r14
lea rcx, [0x14009a840]
call fcn.140080ed4
lea rcx, [0x14016b4e0]
call fcn.140080750
mov rax, qword [0x14016b4d0]
sub rax, qword [0x14016b4c8]
cmp rax, 0x20
jae 0x140009eae
mov dword [rbp - 0x30], r14d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
test rax, rax
je 0x140009eae
mov edi, r14d
cmp dword [rbp - 0x30], r14d
jle 0x140009ea5
mov rsi, rax
mov rdx, qword [rsi]
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140009e2e
lea rcx, [rbp - 0x28]
call fcn.140002ffc
nop
mov rdx, qword [0x14016b4d0]
cmp rdx, qword [0x14016b4d8]
je 0x140009e7c
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
add qword [0x14016b4d0], 0x20
jmp 0x140009e8d
lea r8, [rbp - 0x28]
lea rcx, [0x14016b4c8]
call fcn.1400088ec
nop
lea rcx, [rbp - 0x28]
call fcn.140002c34
inc edi
add rsi, 8
cmp edi, dword [rbp - 0x30]
jl 0x140009e12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [0x14016b4c8]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140080600
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret

Function at 0x140015128
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd r10, dword [rcx + 0xc]
mov r9, rcx
movsxd r11, r8d
test r8d, r8d
jle 0x14001517f
mov rsi, qword [rcx]
mov rbx, r10
movsxd rbp, dword [rcx + 8]
xor edi, edi
mov al, byte [rdi + rdx]
lea rcx, [rbx + 1]
xor byte [rbx + rsi], al
lea eax, [r10 + 1]
xor r10d, r10d
cmp rcx, rbp
cmovl r10d, eax
xor ebx, ebx
inc rdi
cmp rcx, rbp
cmovl rbx, rcx
cmp rdi, r11
jl 0x140015156
add dword [r9 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r9 + 0xc], r10d
ret
Function at 0x14002812c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov r13, rcx
mov esi, edx
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov rbp, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
mov r12, rax
cmp eax, r10d
mov ecx, r10d
cmovl ecx, eax
imul rsi, rax
mov dword [rsp + 0x78], ecx
cmp eax, r10d
je 0x14002818f
cmp byte [rbp + 0x10], 0
je 0x14002818f
mov ebx, 8
jmp 0x14002826a
mov rdi, rsi
mov r14, r10
sub rdi, r12
xor ebx, ebx
cmp rdi, rsi
jge 0x14002826a
and qword [rsp + 0x70], 0
mov rax, rdi
cqo
idiv r14
mov r15, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x140165ed8]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x14002825f
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, rbp
call qword [rbp + 0x108]
mov ebx, eax
test eax, eax
jne 0x140028250
mov rcx, qword [rsp + 0x70]
call fcn.14001a7f4
mov ebx, eax
test eax, eax
jne 0x140028250
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rsp + 0x78]
add r15, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, r15
idiv r12
add rdx, qword [rsp + 0x80]
call fcn.140082960
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x140028250
cmp dword [rsp + 0x88], edi
jne 0x140028250
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 0x3c]
bswap eax
mov dword [r15 + 0x1c], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002825f
call fcn.14001a334
add rdi, r14
test ebx, ebx
je 0x14002819a
mov eax, ebx
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400422c0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
lea r9, str.sqlite_master
mov dword [rax - 0x10], ebx
mov rdi, rdx
mov qword [rax - 0x18], rdx
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.140046ad0
test ebx, ebx
jne 0x140042313
mov r9, rdi
lea r8, str.sqlite_master
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.140046ad0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140086db0
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 0x140086c1b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140086c1b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140086c1b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140086c1b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140086c1b
cmp dword [rcx + 0x84], 0xe
jbe 0x140086c1b
cmp dword [rcx + 0xf8], 0
je 0x140086c1b
mov ecx, ebx
call fcn.140086ccc
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.140086aa8
nop
cmp dword [rbp + 0x20], 0
je 0x140086c69
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140086c74
int3
xor r8d, r8d
xor edx, edx
jmp 0x140086bac

Function at 0x140089ad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140089b07
call fcn.14008bfdc
mov dword [rax], 0x16
call fcn.1400874b4
xor eax, eax
jmp 0x140089b95
mov rdx, r9
mov rcx, r8
call fcn.140089a6c
mov rbx, rax
test rax, rax
je 0x140089b92
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140089998]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140089b7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008bf50
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140089b66
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140089b75
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14008c8b4
jmp 0x140089b92
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140089b8f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140091214
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14009129b
mov rsi, rbx
cmp word [rax], bp
je 0x14009125a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140091244
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140091240
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14008c8f0
mov rdi, rax
test rax, rax
je 0x140091288
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140082960
mov rbp, rdi
xor ecx, ecx
call fcn.14008c8b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
cli
xlatb
adc esp, esp
invalid
in al, dx
sub eax, 0xffa6be63
mov ebp, 0xdb817c3d
dec dword [rbx + 0x2a695d]
jle 0x1400c3e82
mov ecx, 0xa67c613e
movsb byte [rdi], byte [rsi]
test dword [rsi - 0x17], 0x601eb030
jbe 0x1400c3e00
retf 0xbd6c
movabs dword [0xd81dbe5a3c41b464], eax
cmp al, 0x16
push rsp
je 0x1400c3e17
ficom dword [rdi]
cld
lahf
hlt
invalid
lodsd eax, dword [rsi]
sub al, bh
sub ch, cl
popfq
sub byte fs:[rsi + 0x42], bh
or al, 0xf8
call 0x19f05ad73
stc
pop rsi
stc
pop rsi
xlatb
cmp byte [rdi + 0x3e], bh
mov bh, 0x46
jle 0x1400c3e51
pop rsi
movsb byte [rdi], byte [rsi]
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret