joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004b60
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140032e00]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14003d5f0]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140004beb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400160f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000fc40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14003d5f0]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x14000fc92
cmp byte [rbx + 0x424e], 0
jne 0x14000fc92
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400025f0
test dil, 1
je 0x14000fdb8
jmp 0x14000fd1b
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140037520]
mulss xmm1, dword [0x140037510]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x14003747c]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400025f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000fd70
lea r11, [0x140032e00]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14000fd53
cmp byte [r8], r9b
jne 0x14000fd53
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000fd40
not ecx
call fcn.140009630
test rax, rax
je 0x14000fdb8
cmp byte [rax + 0x96], 0
je 0x14000fdb8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.1400025f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000bc70
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140014ca0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140014d47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140014cfa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140016d00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002cb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14003d5e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140014d4f
mov rcx, rbx
call fcn.140002cb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400152c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14003d5f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140015323
mov qword [rsp], rbx
lea rbx, [0x140032e00]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015303
cmp byte [r8], r9b
jne 0x140015303
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400152f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140015357
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001535e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140015344
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14002d270
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14003d620]
lea rdx, [rsp + 0x20]
lea rcx, [0x14002d2c0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14002d2b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14002d2b2
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x14002d2b4
xor eax, eax
add rsp, 0x38
ret

Function at 0x14002d410
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xd0
xor edi, edi
lea r8, [0x14002d320]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 0x50
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rbx, str.PedroWndClass
mov edx, 0x7f00
mov qword [rsp + 0xa8], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xc8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x98]
lea r8, str.Pedro
mov qword [rsp + 0x58], rdi
mov r9d, 0x80000000
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rdi - 0x14]
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x14003d6a0], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14003d6a0]
lea r9d, [rdi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400375a0]
lea rdx, [rsp + 0x70]
mov rcx, qword [0x14003d6a0]
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14003d6a0]
lea edx, [rdi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14003d6a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret
Function at 0x14002f480
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002f5c6
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14002f4d0
cmp qword [rbx + 0x18], 8
mov r9, rbx
mov r10, qword [rbx + 0x10]
jb 0x14002f4eb
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x14002f524
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14002f52f
add rdx, 2
sub r8, 1
jne 0x14002f510
cmp r10, rcx
jb 0x14002f52f
jbe 0x14002f627
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14002f5bd
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14002f550
cmp qword [rbx + 0x18], 8
mov r9, rbx
mov r10, qword [rbx + 0x10]
jb 0x14002f56b
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x14002f5a4
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14002f5ab
add rdx, 2
sub r8, 1
jne 0x14002f590
cmp r10, rcx
jb 0x14002f5ab
jbe 0x14002f627
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002f541
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14002f605
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14002f600
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002f693
mov rcx, r8
call fcn.140030648
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov edi, dword [rsp + 0x28]
cmp rdx, 8
jb 0x14002f66f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14002f66a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002f693
mov rcx, r8
call fcn.140030648
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov eax, edi
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002f6a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
cmp qword [0x14003d730], 0
jne 0x14002f6f4
nop
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
call fcn.14002ff20
mov rcx, rax
call fcn.14002f480
mov dword [0x14003d620], eax
call fcn.14002d270
mov qword [0x14003d730], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x14003d730], 0
je 0x14002f6b0
call fcn.14002c770
call fcn.14002d410
call fcn.14002cf20
lea rcx, [rsp + 0x20]
call fcn.140030100
nop
mov rcx, rax
call fcn.14002c730
nop
lea rcx, [rsp + 0x20]
call fcn.14002c710
call fcn.14002fac0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140030100
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, 8
call fcn.140030910
lea rcx, [0x14002e7b0]
mov qword [rax], rcx
mov qword [rsp + 0x48], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140030550]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140030166
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140030f14
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1801a3080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.1800fe490
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000804e
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x18000802e
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.180100d08
mov rcx, rdi
test eax, eax
je 0x18000807a
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180008021
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800deda0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x180008059
Function at 0x180011200
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x850
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801a3080]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x180011251
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rsi, rax
mov rbp, qword [rdi + 0x18]
test rax, rax
jne 0x18001126f
mov rsi, rdi
cmp rbp, 8
jb 0x18001126f
mov rsi, qword [rdi]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x40]
call fcn.1800fe490
mov r9, qword [rdi + 0x10]
cmp rbp, 8
jb 0x18001128e
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x3ff
lea rcx, [rsp + 0x40]
call fcn.180104068
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.MxStart.exe
mov rcx, rsi
call fcn.180100d08
test eax, eax
jne 0x18001131c
lea rdx, str.Maxthon.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800113e5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011300
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18000c0a0
jmp 0x180011408
lea rdx, str.TSBrowserLauncher.exe
mov rcx, rsi
call fcn.180100d08
test eax, eax
jne 0x180011384
lea rdx, str.TSBrowser.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800113e5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011370
lea rdx, [rsp + 0x40]
jmp 0x1800113ff
lea rdx, str.DCBrowserLauncher.exe
mov rcx, rsi
call fcn.180100d08
test eax, eax
jne 0x1800113e5
lea rdx, str.DCBrowser.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800113e5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1800113d4
lea rdx, [rsp + 0x40]
jmp 0x1800113ff
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
xor r8d, r8d
lea rdx, [0x180152244]
mov rcx, rbx
call fcn.18000c0a0
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1800deda0
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800154c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801a3080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
test rcx, rcx
je 0x180015670
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov ecx, dword [rax + 0x90]
test ecx, ecx
je 0x180015670
lea r14, [rsi + rcx]
cmp dword [r14], 0
je 0x180015670
lea r12, [0x180154f28]
movabs r13, 0x8000000000000000
xor r15d, r15d
nop dword [rax + rax]
mov ebx, dword [r14 + 0xc]
add rbx, rsi
lea rcx, [0x180154ee0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [0x180154ee0]
mov rcx, rbx
call fcn.180113e40
test eax, eax
jne 0x180015662
mov edi, dword [r14]
add rdi, rsi
mov rax, qword [rdi]
test rax, rax
je 0x180015662
js 0x180015652
cmp r12, r13
jae 0x180015652
lea rbx, [rsi + 2]
add rbx, rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1800155b5
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1800121e0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
mov rdx, r12
call fcn.18010b4f8
test eax, eax
jne 0x180015607
mov dword [rbp - 0x40], r15d
lea r9, [rbp - 0x40]
lea r8d, [rax + 0x40]
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18001569c
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180015642
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001563d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015704
call fcn.1800dedc4
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x180015580
add r14, 0x14
cmp dword [r14], 0
jne 0x180015540
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800deda0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, str.kernel23
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.180104178
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800156e7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800156e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800156fe
call fcn.1800dedc4
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov al, 1
jmp 0x180015672
call fcn.180103f88
int3
call fcn.180103f88
int3
Function at 0x180016a10
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801a3080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
mov eax, 1
xchg dword [0x1801ab5b8], eax
test eax, eax
jne 0x18001365d
mov rax, qword [rcx + 8]
test rax, rax
jne 0x18001355d
lea ecx, [rax + 8]
call fcn.1800df068
mov qword [rsp + 0x20], rax
lea rcx, vtable.RCMinHookApiHook.0
mov qword [rax], rcx
mov qword [rdi + 8], rax
xor edx, edx
mov r8d, 0x114
lea rcx, [rsp + 0x30]
call fcn.1800fe490
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x34]
mov dword [0x1801a8848], eax
mov eax, dword [rsp + 0x38]
mov dword [0x1801a8828], eax
mov eax, dword [rsp + 0x3c]
mov dword [0x1801a882c], eax
call fcn.18008eb00
mov rax, qword [rdi + 8]
test rax, rax
je 0x18001365d
call fcn.180032320
mov rsi, rax
mov qword [0x1801aa860], rax
test rax, rax
je 0x18001365f
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801a884c], eax
mov edx, 0xc8
lea rcx, [0x1801276a0]
call fcn.180128060
mov r9b, 1
lea r8, [0x180008a40]
mov rdx, rsi
lea rcx, [rdi + 0x10]
call fcn.1801274e0
test al, al
je 0x1800135d7
lea rcx, [rdi + 0x10]
call fcn.180127440
mov qword [0x1801a8840], rax
lea rcx, [rdi + 0x10]
call fcn.1801275d0
lea rcx, [rsi - 8]
call fcn.180127780
lea rdx, [rsi - 0x18]
mov r9b, 1
lea r8, [0x1800086a0]
lea rcx, [rdi + 0x78]
call fcn.1801274e0
lea rcx, [rdi + 0x78]
call fcn.180127440
mov qword [0x1801a8830], rax
lea rcx, [rdi + 0x78]
call fcn.1801275d0
mov rax, qword [0x1801a8830]
test rax, rax
je 0x180013640
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [0x180008660]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x38]
call fcn.180127e10
lea rcx, [rdi + 0x38]
call fcn.180127dd0
mov qword [0x1801a8850], rax
call fcn.180014420
test al, al
je 0x180013651
mov rcx, rdi
call fcn.180014c10
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800deda0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800134a0
ret
Function at 0x180016aa0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x4f0], rbx
mov rax, qword [0x1801a3080]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.18008f6a0
nop
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x18013b960]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x18013b990]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180016c50
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180016c50
mov qword [rsp + 0x40], rsi
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x18013b980]
call qword [rax]
mov rcx, qword [rsp + 0x40]
test eax, eax
js 0x180016c12
test rcx, rcx
je 0x180016c12
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
js 0x180016c0b
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor edx, edx
mov r8d, 0x3e80001
call qword [rax + 0x98]
mov ebx, eax
test eax, eax
js 0x180016c0b
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x50]
call fcn.1800fe490
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1a0]
call fcn.1800fe490
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x50]
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x180016c0b
mov word [rbp + 0x3a8], si
lea rcx, [rbp + 0x1a0]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], si
jne 0x180016bf0
mov r8, rax
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call fcn.18000c0a0
mov rcx, qword [rsp + 0x40]
jmp 0x180016c19
mov rbx, 0xffffffffffffffff
test rcx, rcx
je 0x180016c29
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180016c3e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x30]
call fcn.18008f7c0
test ebx, ebx
js 0x180016c5a
xor eax, eax
jmp 0x180016c5f
lea rcx, [rsp + 0x30]
call fcn.18008f7c0
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1800deda0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001a610
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x470
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801a3080]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rdx
mov qword [rsp + 0x40], rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], 7
mov word [rdx], bx
mov dword [rsp + 0x20], 1
lea rax, str._programfiles_x86__Internet_Exploreriexplore.exe
mov qword [rsp + 0x28], rax
lea rax, str._programfiles_Internet_Exploreriexplore.exe
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x28]
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x50]
call fcn.1800fe490
mov r8d, 0x208
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18001a6c3
inc ebx
add rdi, 8
cmp ebx, 2
jb 0x18001a680
jmp 0x18001a6e8
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18001a6d0
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18000c0a0
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800deda0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret