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

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x140068c45
movups xmm0, xmmword [str.UUZR_]
movzx eax, byte [0x1400a3b10]
xor r8d, r8d
cmp dword [0x1400bd090], 2
movups xmm1, xmmword [0x1400a3af8]
mov byte [rsp + 0x48], al
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400a3b08]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
jl 0x140068bd9
movdqa xmm0, xmmword [0x1400ac2e0]
lea rcx, [rsp + 0x24]
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm3, xmmword [0x1400ac790]
movdqa xmm5, xmmword [0x1400ac220]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1400ac280]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x140068ae0
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x29
jge 0x140068c24
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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 edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x140068bf0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0x20]
call fcn.140006750
lea rdx, [0x140006950]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008b6a0
add rsp, 0x98
ret
Function at 0x14008c448
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008c492
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008c492
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008c492
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008c492
cmp dword [rcx + 0x84], 0xe
jbe 0x14008c492
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008c494
xor al, al
add rsp, 0x28
ret

Function at 0x14008c7dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008c816
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008c81b
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 0x14008c864
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140091d30]
cmp byte [rcx + rax], 0
je 0x14008c864
dec r8
sub rdx, 1
jne 0x14008c84a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14008d028
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14008c8f4
mov ebx, eax
test eax, eax
jne 0x14008d058
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14008d0bb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008d0b2
test al, 0x10
je 0x14008d0b2
bt eax, 0xa
jae 0x14008d0ab
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14008d0cc
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14008d0a7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14008d0a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14008d0b2
and dword [rsp + 0x3c], 0
jmp 0x14008d0b7
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140714f4c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140714f56
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140714f7f
pop rbp
sub rbp, 0x33
sub rbp, 0x714f4c
sub rsp, 0x20
jmp 0x140714f9e
mov rax, 0x714f4c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xffffffffebd1ab74
xor byte [rax], dl
inc rax
dec rcx
jne 0x140714fbd
jmp 0x140714fd4
cmp al, 0xfd
popfq
invalid
Function at 0x180004390
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8d8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov rax, qword [rsp + 0x8f0]
mov rcx, qword [rax]
call qword [sym.imp.IMM32.dll_ImmGetContext]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800045b1
lea rcx, [rsp + 0x50]
call fcn.180007ce0
nop
mov byte [rsp + 0x70], 1
call fcn.180005070
mov qword [rsp + 0x78], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rax, 2
mov dword [rsp + 0x30], eax
xor eax, eax
mov word [rsp + 0xc0], ax
lea rax, [rsp + 0xc2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0xc0]
mov edx, 0x800
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.1800017e0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, str.OnHandleWM_IME:__s
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x207
lea rdx, [0x180110bd0]
lea rcx, [0x180110c20]
call fcn.1800fa910
lea rcx, [rsp + 0xa0]
call fcn.180001810
test rax, rax
jbe 0x180004590
mov eax, dword [0x1801346a0]
and eax, 1
test eax, eax
jne 0x1800044ee
mov eax, dword [0x1801346a0]
or eax, 1
mov dword [0x1801346a0], eax
lea rcx, [0x1801346a8]
call fcn.180002c00
lea rcx, [0x18010bd60]
call fcn.180107878
nop
lea rdx, [rsp + 0xa0]
lea rcx, [0x1801346a8]
call fcn.180005190
test eax, eax
jne 0x180004551
mov r8d, 0x30
mov rdx, qword [rsp + 0x8f0]
lea rcx, [0x180134490]
call sub.MSVCR120.dll_memcmp
test eax, eax
jne 0x180004551
lea rax, str.WARN:_Ignore_Repeat_IME_Message_
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x211
lea rdx, [0x180110d10]
lea rcx, str.CGlobalManager::OnHandleWM_IME
call fcn.1800fa910
jmp 0x180004590
call fcn.1800079f0
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.18000a700
lea rax, [0x180134490]
mov rdi, rax
mov rsi, qword [rsp + 0x8f0]
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [0x1801346a8]
call fcn.180002000
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x8f0]
mov rcx, qword [rax]
call qword [sym.imp.IMM32.dll_ImmReleaseContext]
nop
lea rcx, [rsp + 0x50]
call fcn.180007a40
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.180107750
add rsp, 0x8d8
pop rdi
pop rsi
ret
Function at 0x18000a0f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x30], 0
mov rax, qword [rsp + 0x50]
add rax, 0x38
mov rcx, rax
call fcn.18000a790
nop
mov rax, qword [rsp + 0x50]
add rax, 0x50
mov rcx, rax
call fcn.180007a80
mov rax, qword [rsp + 0x50]
add rax, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x18000a260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret

Function at 0x18000a190
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x18000a224
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x30], 1
mov edx, 0x7d0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18000a20b
lea rax, str.Force_Terminate_key_thread...
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x16
lea rdx, [0x1801113b0]
lea rcx, str.CKeyInputThreadHandle::CKeyInputThreadHandle
call fcn.1800fa530
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x18000a224
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
add rax, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
mov rax, qword [rsp + 0x50]
add rax, 0x50
mov rcx, rax
call fcn.180007ca0
nop
mov rax, qword [rsp + 0x50]
add rax, 0x38
mov rcx, rax
call fcn.18000a7c0
add rsp, 0x48
ret
Function at 0x18000ed90
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov byte [rsp + 0xa0], 0
lea rax, [rsp + 0xa1]
mov rdi, rax
xor eax, eax
mov ecx, 0x63
rep stosb byte [rdi], al
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, str.keyboard_name:__s
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0xde
lea rdx, str..._srcKeyboadHookutilVirtualKeyManager.cpp
lea rcx, str.CVirtualKeyManager::GetSpecialKeyBoard
call fcn.1800fa530
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.18000c260
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.18000f8f0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.18000f8b0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.18000f8f0
mov rcx, qword [sym.imp.MSVCR120.dll_towlower]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call fcn.18000f0b0
lea rdx, str.0000000a
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
je 0x18000eecc
lea rdx, str.0000040a
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
je 0x18000eecc
lea rdx, str.0001040a
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
jne 0x18000eee9
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x78]
call fcn.180007ca0
mov eax, dword [rsp + 0x34]
jmp 0x18000ef6b
lea rdx, str.00000016
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
je 0x18000ef3d
lea rdx, str.00000416
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
je 0x18000ef3d
lea rdx, str.00010416
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
je 0x18000ef3d
lea rdx, str.00000816
lea rcx, [rsp + 0x78]
call fcn.18000f870
test eax, eax
jne 0x18000ef55
mov dword [rsp + 0x38], 2
lea rcx, [rsp + 0x78]
call fcn.180007ca0
mov eax, dword [rsp + 0x38]
jmp 0x18000ef6b
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x78]
call fcn.180007ca0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.180107750
add rsp, 0x120
pop rdi
ret
Function at 0x18000f930
Capabilities:
Create directory

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [r11 - 0x40], rcx
call fcn.180011920
mov rcx, rbx
call fcn.180001810
test eax, eax
jle 0x18000fa93
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180003340
mov rcx, rax
call fcn.1800116a0
test al, al
je 0x18000f99e
mov rcx, rbx
call fcn.1800028a0
mov al, 1
jmp 0x18000fa9d
lea r8, [0x18011a450]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180010260
mov rdx, rax
mov rcx, rbx
call fcn.180007840
lea rcx, [rsp + 0x50]
call fcn.1800028a0
mov rcx, rbx
call fcn.180011710
mov esi, 1
mov rcx, rbx
call fcn.180001810
cmp eax, esi
jle 0x18000fa63
mov edi, esi
mov rcx, rbx
cmp qword [rbx + 0x10], rdi
jbe 0x18000fa5d
call fcn.180002620
cmp word [rax + rdi*2], 0x5c
jne 0x18000fa4a
movsxd r9, esi
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.18000fc10
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180003340
mov rcx, rax
call fcn.1800116a0
test al, al
jne 0x18000fa40
lea rcx, [rsp + 0x50]
call fcn.180003250
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rsp + 0x50]
call fcn.1800028a0
inc esi
inc rdi
mov rcx, rbx
call fcn.180001810
cmp esi, eax
jl 0x18000f9e6
jmp 0x18000fa63
call fcn.1800020a0
int3
mov rcx, rbx
call fcn.180003250
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180003340
mov rcx, rax
call fcn.1800116a0
test al, al
jne 0x18000f98f
mov rcx, rbx
call fcn.1800028a0
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180107750
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1800116a0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor bl, bl
call fcn.180011710
mov rcx, rdi
call fcn.180003250
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov rcx, rdi
call fcn.1800028a0
movzx eax, bl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180107750
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1800170b0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x30], 0
lea rdx, str.C:Program_Files__x86_Windows_Assistant_AppMVConfiguration.ini
lea rcx, [rsp + 0x70]
call fcn.18000c260
nop
mov byte [rsp + 0xb0], 0
lea rax, [rsp + 0xb1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
lea rcx, [rsp + 0x70]
call fcn.18000fb90
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0xb0]
xor r8d, r8d
lea rdx, str.UniquePC
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.18000c260
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.18000bbd0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x4d0]
call fcn.180010c10
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x90]
call fcn.180007ca0
nop
lea rcx, [rsp + 0x70]
call fcn.180007ca0
mov rax, qword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.180107750
add rsp, 0x4c0
pop rdi
ret
Function at 0x180020650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x90]
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1800203e0
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x28
movzx eax, word [rsp + 0x36]
cmp eax, 8
jle 0x1800206cf
mov eax, dword [rsp + 0x38]
and eax, 3
test eax, eax
je 0x1800206cd
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
add eax, 0xc
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
jmp 0x180020717
cmp dword [rsp + 0x48], 0
je 0x1800206e0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x1800206fb
movzx eax, word [rsp + 0x36]
mov ecx, 1
mov dword [rsp + 0x24], ecx
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180107750
add rsp, 0x68
ret
Function at 0x180028650
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov byte [rax + 0x68], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x10325476
ret
Function at 0x18002d1d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18002c340
mov qword [rsp + 0x28], 0
cmp qword [0x180133d88], 0
jne 0x18002d219
cmp qword [0x180133d98], 0
je 0x18002d219
mov rax, qword [0x180133d98]
mov qword [0x180133d88], rax
cmp qword [0x180133d88], 0
je 0x18002d2bb
mov rax, qword [0x180133d88]
cmp qword [rax + 0x10], 0
je 0x18002d2bb
mov rax, qword [0x180133d88]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18002d2bb
mov rax, qword [0x180133d88]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18002d2bb
mov rax, qword [0x180133d88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18002d285
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18002d28c
xor eax, eax
jmp 0x18002d436
mov rax, qword [0x180133d88]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov rdi, qword [rsp + 0x28]
mov eax, 0xcc
mov ecx, 0x60
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x28]
jmp 0x18002d436
mov rax, qword [0x180133d98]
mov qword [0x180133d88], rax
jmp 0x18002d2dd
mov rax, qword [0x180133d88]
mov rax, qword [rax + 8]
mov qword [0x180133d88], rax
cmp qword [0x180133d88], 0
je 0x18002d32a
cmp qword [0x180133d88], 0
je 0x18002d328
mov rax, qword [0x180133d88]
cmp qword [rax + 0x10], 0
je 0x18002d328
mov rax, qword [0x180133d88]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18002d328
mov rax, qword [0x180133d88]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18002d328
jmp 0x18002d25d
jmp 0x18002d2cb
mov rcx, qword [rsp + 0x60]
call fcn.18002bed0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18002d0a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18002d434
mov rax, qword [rsp + 0x48]
mov qword [0x180133d88], rax
mov rax, qword [0x180133d88]
mov dword [rax], 0x52727464
mov rax, qword [0x180133d88]
mov qword [rax + 0x10], 0
mov rax, qword [0x180133d88]
mov rcx, qword [0x180133d98]
mov qword [rax + 8], rcx
mov rax, qword [0x180133d88]
mov qword [0x180133d98], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180133d88]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.SHELL32.dll_IsUserAnAdmin
jmp 0x18002d3e5
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18002d41f
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18002d3db
mov rax, qword [0x180133d88]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18002d25d
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x180037700
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov ecx, 0x28
call fcn.180033270
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180037741
mov eax, 7
jmp 0x18003780e
movzx eax, byte [0x18012dfb4]
test eax, eax
je 0x18003775a
mov ecx, 0xc8
call fcn.180038950
test eax, eax
je 0x18003776a
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
jmp 0x1800377d3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x1800376c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__beginthreadex]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1800377d3
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x1800377ff
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1800920a0
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x1801306b0]
mov r8, qword [rsp + 0x48]
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 rcx, qword [rsp + 0x40]
call fcn.1800993d0
cmp dword [rsp + 0x50], 0
jne 0x180092106
mov r9, qword [rsp + 0x48]
lea r8, [0x180130760]
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, qword [rsp + 0x40]
call fcn.1800993d0
add rsp, 0x38
ret