joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075e10
Capabilities:
Get hostname

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x30], 0
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x20], rax
call fcn.140075d80
mov rbx, rax
test rax, rax
je 0x140075ea0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140075ea0
lea rdx, str.eBlaster_SN:
lea rcx, [rsp + 0x20]
call fcn.1400ca6a0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [0x14021c768]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x61]
call fcn.14010da60
mov dword [rsp + 0x28], 0
lea rdx, str.default
lea rcx, [rsp + 0x60]
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x140075ed0
mov dword [rsp + 0x28], 0x104
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140075f3d
lea rdx, str.Computer_Name:
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [0x14021c768]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov r9d, 1
lea r8d, [r9 + 6]
lea rdx, str._d._d
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, str.eBlaster
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, str.Version:
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [0x14021c768]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov r8d, 0x2fbc
lea rdx, [0x1401eb2e0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, str.__Build:
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [0x14021c768]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rdx - 0x10]
inc rcx
call fcn.14010a204
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x20]
mov rdx, rax
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140076010
test rbx, rbx
je 0x14007602d
mov rcx, rbx
call fcn.14010d304
nop
lea rcx, [rsp + 0x20]
call fcn.1400ca400
nop
mov rax, rdi
jmp 0x140076042
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x14007b140
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, edx
mov rdx, qword [rcx]
mov rsi, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [rsi]
lea rdx, str.TEMP
call fcn.1400c9790
test rax, rax
jne 0x14007b1b6
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
cmp byte [rdi], al
je 0x14007b194
test rbx, rbx
je 0x14007b194
inc rdi
dec rbx
cmp byte [rdi], 0
jne 0x14007b184
lea rdx, str.TEMP
mov r8, rbx
mov rcx, rdi
call fcn.14010d5f0
mov byte [rbx + rdi - 1], 0
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsi]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rdx - 2], 0x5c
je 0x14007b1d9
lea edx, [rax + 0x5c]
mov rcx, rsi
call fcn.14007b090
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
cmp byte [rdi], 0
je 0x14007b1f5
test rbx, rbx
je 0x14007b1f5
inc rdi
dec rbx
cmp byte [rdi], 0
jne 0x14007b1e5
lea rdx, str.ebsetup
mov r8, rbx
mov rcx, rdi
call fcn.14010d5f0
mov edx, ebp
mov rcx, rsi
mov byte [rdi + rbx - 1], 0
call fcn.14007b090
mov rdi, qword [rsi]
cmp byte [rdi], 0
mov rbx, qword [rsi + 8]
je 0x14007b232
test rbx, rbx
je 0x14007b232
inc rdi
dec rbx
cmp byte [rdi], 0
jne 0x14007b222
lea rdx, [0x1401eb360]
mov r8, rbx
mov rcx, rdi
call fcn.14010d5f0
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov byte [rdi + rbx - 1], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007c140
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor ecx, ecx
mov edx, 0x7f02
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov ecx, 1
call qword [sym.imp.USER32.dll_ShowCursor]
lea rdx, str.open
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov ecx, 1
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_ShowCursor]
Function at 0x14007f420
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x44], 0
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov edx, 0x3ea
jne 0x14007f476
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 0x403
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 6
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
jmp 0x14007f4bb
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 0x403
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 6
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r8d, r8d
mov edx, 0xcf
cmp dword [rbx + 0x48], r8d
mov rcx, rax
sete r8b
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x20]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [rbx + 0x48]
neg ecx
mov rcx, rax
sbb edx, edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x20]
mov edx, 6
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rbx + 0x150], 0
jne 0x14007f54e
mov rcx, qword [rbx + 0x20]
mov edx, 0x3eb
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x20
pop rbx
ret

Function at 0x140081660
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..prodname.txt
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400816f8
mov rcx, qword [0x1402b9cc8]
mov qword [rsp + 0x68], rcx
mov edx, 0xe00c
lea rcx, [rsp + 0x68]
call fcn.1400cc3a0
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.1400ca400
add rsp, 0x50
pop rbx
ret
Function at 0x140081fe0
Capabilities:
Delete file

Disassembly:
test rcx, rcx
je 0x1400820eb
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400820cb
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.14010da60
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140009b50
test eax, eax
je 0x1400820cb
lea r8, [rsp + 0x20]
lea rdx, str.checksums
mov ecx, 4
call fcn.1400729c0
mov rbx, rax
test rax, rax
je 0x1400820c0
mov r8, qword [rax]
or edx, 0xffffffff
mov rcx, rax
call qword [r8 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r11, qword [rdi + 0xb0]
mov rdx, qword [rbx + 0xb0]
add r11, 0xf8c
add rdx, 0xf8c
nop word [rax + rax]
movzx eax, byte [r11]
inc rdx
inc r11
mov byte [rdx - 1], al
test al, al
jne 0x140082090
mov r8d, 0x3911b7f
mov rdx, rbx
mov rcx, rdi
call fcn.140070940
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
repz ret

Function at 0x140081fe9
Capabilities:
Delete file

Disassembly:
test rcx, rcx
je 0x1400820eb
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400820cb
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.14010da60
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140009b50
test eax, eax
je 0x1400820cb
lea r8, [rsp + 0x20]
lea rdx, str.checksums
mov ecx, 4
call fcn.1400729c0
mov rbx, rax
test rax, rax
je 0x1400820c0
mov r8, qword [rax]
or edx, 0xffffffff
mov rcx, rax
call qword [r8 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r11, qword [rdi + 0xb0]
mov rdx, qword [rbx + 0xb0]
add r11, 0xf8c
add rdx, 0xf8c
nop word [rax + rax]
movzx eax, byte [r11]
inc rdx
inc r11
mov byte [rdx - 1], al
test al, al
jne 0x140082090
mov r8d, 0x3911b7f
mov rdx, rbx
mov rcx, rdi
call fcn.140070940
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
repz ret
Function at 0x140082fc0
Capabilities:
Create directory

Disassembly:
test rcx, rcx
je 0x14008302e
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0xb0]
add rcx, 0xf8c
cmp byte [rcx], 0
je 0x140083029
call fcn.1400d0090
test eax, eax
jne 0x140082fff
mov rcx, qword [rbx + 0xb0]
xor edx, edx
add rcx, 0xf8c
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rbx + 0xb0]
add rcx, 0xf8c
call fcn.1400d0090
test eax, eax
je 0x140083029
mov rcx, qword [rbx + 0xb0]
add rcx, 0xf8c
call fcn.1400d4680
add rsp, 0x20
pop rbx
repz ret

Function at 0x140083030
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.14010da60
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 5
jne 0x140083099
cmp dword [rsp + 0x28], 0
jne 0x140083099
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14010d170
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14010d170
add rsp, 0xd8
ret
Function at 0x1400836d0
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x3e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x3f8], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rbx, rcx
mov rdx, qword [rcx + 0xb0]
add rdx, 0x181c
cmp byte [rdx], 0
je 0x14008388c
lea rcx, [rsp + 0x50]
call fcn.14003deb0
nop
cmp qword [rsp + 0x50], 0
je 0x140083882
lea rcx, [rsp + 0x50]
call fcn.14003d8c0
test eax, eax
je 0x140083882
lea rcx, [rsp + 0x50]
call fcn.14003d900
mov rdx, rbx
lea rcx, [rsp + 0x2c0]
call fcn.14002bdc0
mov rdx, qword [rbx + 0xb0]
add rdx, 0xf8c
lea rcx, [rsp + 0x1b0]
sub rcx, rdx
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x140083772
lea rcx, [rsp + 0x1b0]
call fcn.1400c9bc0
lea rdi, [rsp + 0x1b0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x1400837b0
lea rdi, [rsp + 0x1b0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x1401ee614]
mov word [rdi - 1], ax
mov rdx, qword [rbx + 0xb0]
lea rdi, [rsp + 0x1b0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx + 0x1298]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083800
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 3]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140083882
lea r9d, [rbx + 2]
xor r8d, r8d
lea edx, [rbx - 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8d, [rbx + 4]
lea rdx, [rsp + 0x44]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.14003db00
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3e0
pop rdi
ret
Function at 0x140083e70
Capabilities:
Persist via run registry key

Disassembly:
push rdi
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x490], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
mov r8d, 0x200
lea rdx, [rsp + 0x260]
lea rcx, [0x14021f6d8]
call fcn.1400c8cb0
mov r8, rax
lea rdx, str.CLSID_s
lea rcx, [rsp + 0x60]
call fcn.14010d754
lea rcx, [rsp + 0x38]
call fcn.1400e6f70
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.140096280
mov qword [rsp + 0x20], 0
mov r9, rbx
lea r8, str.InprocServer32
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.140096280
lea r11, str.ThreadingModel
mov qword [rsp + 0x20], r11
lea r9, str.Apartment
lea r8, str.InprocServer32
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.140096280
lea r11, str.XmLdrStub
mov qword [rsp + 0x20], r11
mov r9, rdi
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call fcn.140096280
nop
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x490]
add rsp, 0x470
pop rdi
ret
Function at 0x140086700
Capabilities:
Delete file
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x510]
sub rsp, 0x610
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov r12, r8
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140086959
test rdx, rdx
je 0x140086959
mov ebx, 1
mov rdx, qword [0x1402c0418]
lea rcx, [rsp + 0x30]
call fcn.14000f730
nop
cmp dword [0x1402c0964], 0
je 0x140086797
nop dword [rax + rax]
xor r8d, r8d
lea rdx, [0x1402c0528]
lea rcx, [rsp + 0x30]
call fcn.1400ce980
mov ebx, eax
cmp eax, 1
je 0x140086797
call fcn.14000b060
mov ebx, eax
cmp eax, 1
je 0x140086770
lea rcx, [rsp + 0x78]
lea rax, [rsp + 0x78]
sub rdi, rax
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdi + rcx], al
inc rcx
test al, al
jne 0x1400867b0
cmp dword [0x1402c0964], 0
jne 0x14008694b
cmp dword [0x1402bfe48], 0
je 0x14008694b
mov rdx, qword [0x1402c0418]
lea rcx, [rbp + 0x80]
call fcn.14007f220
nop
cmp dword [0x1402c0968], 0
jne 0x140086916
mov byte [rbp + 0x3f0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x3f1]
call fcn.14010da60
mov byte [rbp + 0x2e0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x2e1]
call fcn.14010da60
lea rdx, [rbp + 0x3f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rbp + 0x2e0]
mov r8d, 0xabcd
lea rdx, [0x1401eb0c8]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x2e0]
repne scasb al, byte [rdi]
not rcx
lea rax, [rbp + 0x2e0]
mov byte [rcx + rax - 4], 0
lea rdi, [rbp + 0x2e0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str.html]
mov dword [rdi - 1], eax
movzx eax, byte [0x14022001c]
mov byte [rdi + 3], al
xor r9d, r9d
mov r8d, 0xb0
lea rdx, [rbp + 0x2e0]
mov rcx, qword [0x1402c0178]
call fcn.1400d6860
xor edx, edx
nop
movzx eax, byte [rbp + rdx + 0x2e0]
mov byte [rbp + rdx + 0x1d0], al
inc rdx
test al, al
jne 0x1400868c0
cmp ebx, 1
jne 0x140086909
nop dword [rax + rax]
xor r8d, r8d
lea rdx, [0x1402c0528]
lea rcx, [rbp + 0x80]
call fcn.1400ce980
mov ebx, eax
cmp eax, 1
je 0x140086909
call fcn.14000b060
mov ebx, eax
cmp eax, 1
je 0x1400868e0
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [rbp + 0xc4]
mov dword [r12], eax
lea rcx, [rbp + 0xcc]
lea rax, [rbp + 0xcc]
sub rsi, rax
movzx eax, byte [rcx]
mov byte [rsi + rcx], al
inc rcx
test al, al
jne 0x140086931
lea rcx, [rbp + 0x80]
call fcn.1400ce4b0
nop
lea rcx, [rsp + 0x30]
call fcn.1400ce4b0
mov eax, ebx
jmp 0x14008695e
mov eax, 2
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x610
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140086ee0
Capabilities:
Accept command line arguments

Disassembly:
test rcx, rcx
je 0x140087138
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
cmp dword [0x1402c0964], 0
jne 0x140087110
cmp edx, 1
je 0x140087110
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rsi, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x140]
call fcn.14010da60
xor ebx, ebx
mov r9d, ebx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140086fa1
lea rdx, [rsp + 0x140]
mov r8, rsi
movzx eax, byte [r8]
cmp al, 0x22
je 0x140086f82
mov byte [rdx], al
inc rdx
inc r9d
inc r8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
mov eax, r9d
cmp rax, rcx
jb 0x140086f75
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x251]
call fcn.14010da60
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x31]
call fcn.14010da60
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x250], bl
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140087019
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x250]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140087019
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.14010d30c
test rax, rax
jne 0x1400870a7
lea rdx, [0x1401eb64c]
lea rcx, [rsp + 0x30]
call fcn.14010d30c
test rax, rax
je 0x14008703e
mov rcx, rbx
movzx eax, byte [rsp + rcx + 0x30]
inc rcx
test al, al
jne 0x140087032
cmp dword [0x1402c0968], ebx
jne 0x1400870a7
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x20], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x20]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xdbf0
lea rcx, [rsp + 0x20]
call fcn.1400cc060
nop
mov r8, qword [rsp + 0x20]
mov edx, 0x24
mov rcx, qword [0x1402c0418]
call fcn.1400d1c10
mov edi, ebx
mov ecx, 1
cmp eax, 6
cmove edi, ecx
lea rcx, [rsp + 0x20]
call fcn.1400ca400
test edi, edi
je 0x140087110
cmp byte [0x1402c1860], 0
je 0x1400870d2
lea rcx, [0x1402c1860]
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
mov byte [rsp + rbx + 0x140], al
inc rbx
test al, al
jne 0x1400870c0
mov rcx, qword [rbp + 0xb0]
add rcx, 0x1d30
mov r8d, 0x104
lea rdx, [rsp + 0x140]
call fcn.1400c9950
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400d67e0
xor edx, edx
lea rcx, [0x1402c1970]
call fcn.1400d67e0
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
repz ret
Function at 0x140086ee9
Capabilities:
Accept command line arguments

Disassembly:
test rcx, rcx
je 0x140087138
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
cmp dword [0x1402c0964], 0
jne 0x140087110
cmp edx, 1
je 0x140087110
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rsi, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x140]
call fcn.14010da60
xor ebx, ebx
mov r9d, ebx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140086fa1
lea rdx, [rsp + 0x140]
mov r8, rsi
movzx eax, byte [r8]
cmp al, 0x22
je 0x140086f82
mov byte [rdx], al
inc rdx
inc r9d
inc r8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
mov eax, r9d
cmp rax, rcx
jb 0x140086f75
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x251]
call fcn.14010da60
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x31]
call fcn.14010da60
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x250], bl
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140087019
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x250]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x140087019
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.14010d30c
test rax, rax
jne 0x1400870a7
lea rdx, [0x1401eb64c]
lea rcx, [rsp + 0x30]
call fcn.14010d30c
test rax, rax
je 0x14008703e
mov rcx, rbx
movzx eax, byte [rsp + rcx + 0x30]
inc rcx
test al, al
jne 0x140087032
cmp dword [0x1402c0968], ebx
jne 0x1400870a7
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x20], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x20]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xdbf0
lea rcx, [rsp + 0x20]
call fcn.1400cc060
nop
mov r8, qword [rsp + 0x20]
mov edx, 0x24
mov rcx, qword [0x1402c0418]
call fcn.1400d1c10
mov edi, ebx
mov ecx, 1
cmp eax, 6
cmove edi, ecx
lea rcx, [rsp + 0x20]
call fcn.1400ca400
test edi, edi
je 0x140087110
cmp byte [0x1402c1860], 0
je 0x1400870d2
lea rcx, [0x1402c1860]
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
mov byte [rsp + rbx + 0x140], al
inc rbx
test al, al
jne 0x1400870c0
mov rcx, qword [rbp + 0xb0]
add rcx, 0x1d30
mov r8d, 0x104
lea rdx, [rsp + 0x140]
call fcn.1400c9950
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400d67e0
xor edx, edx
lea rcx, [0x1402c1970]
call fcn.1400d67e0
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
repz ret