joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015340
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x28]
call fcn.140039480
lea rdx, [0x14017a360]
lea rcx, [rsp + 0x28]
call fcn.140019680
lea rcx, [rsp + 0x28]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x28]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x60]
call fcn.14000b4e0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x58
ret

Function at 0x1400160e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x40]
call fcn.14000b4e0
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x140016120
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x50]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x50]
call fcn.140039480
lea rdx, [0x14017a550]
lea rcx, [rsp + 0x50]
call fcn.140019680
lea rcx, [rsp + 0x50]
call fcn.14000b420
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140016239
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001622e
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x30]
call fcn.140019710
nop
lea rdx, [0x140179aac]
lea rcx, [rsp + 0x30]
call fcn.14001b890
movzx eax, al
test eax, eax
jne 0x1400161f4
lea rdx, [0x14017a558]
lea rcx, [rsp + 0x30]
call fcn.14001b890
movzx eax, al
test eax, eax
je 0x140016200
lea rcx, [rsp + 0x30]
call fcn.14000b4e0
jmp 0x14001619d
mov eax, dword [rsp + 0x70]
and eax, 0x10
test eax, eax
je 0x14001621f
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.14000b4e0
jmp 0x14001622e
lea rcx, [rsp + 0x30]
call fcn.14000b4e0
jmp 0x14001619d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x50]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x2e0]
call fcn.14000b4e0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x2d8
ret
Function at 0x140016330
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x50]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x50]
call fcn.140039480
lea rdx, [0x14017a588]
lea rcx, [rsp + 0x50]
call fcn.140019680
lea rcx, [rsp + 0x50]
call fcn.14000b420
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14001643e
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140016433
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x30]
call fcn.140019710
nop
lea rdx, [0x140179acc]
lea rcx, [rsp + 0x30]
call fcn.14001b890
movzx eax, al
test eax, eax
jne 0x140016404
lea rdx, [0x14017a590]
lea rcx, [rsp + 0x30]
call fcn.14001b890
movzx eax, al
test eax, eax
je 0x140016410
lea rcx, [rsp + 0x30]
call fcn.14000b4e0
jmp 0x1400163ad
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.14000b4e0
jmp 0x140016433
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x50]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x2e0]
call fcn.14000b4e0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x2d8
ret

Function at 0x140016480
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x38]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140016546
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
je 0x1400164e3
cmp dword [rsp + 0x20], 0x20
jne 0x140016546
lea rcx, [rsp + 0x38]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x14001651f
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x14001651f
lea rcx, [rsp + 0x38]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp qword [rsp + 0x78], 0
je 0x140016546
lea rcx, [rsp + 0x38]
call fcn.14000b420
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.140016570
nop
lea rcx, [rsp + 0x38]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x70]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x68
ret

Function at 0x1400166a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x30]
call fcn.14000b4e0
add rsp, 0x28
ret
Function at 0x140016710
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rcx, qword [rsp + 0x378]
call fcn.14000c1f0
movzx eax, al
test eax, eax
jne 0x140016760
mov rcx, qword [rsp + 0x370]
call fcn.14000c1f0
movzx eax, al
test eax, eax
je 0x140016780
mov rcx, qword [rsp + 0x370]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x378]
call fcn.14000b4e0
jmp 0x1400169ef
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0xe0]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0xe0]
call fcn.140039480
lea rdx, [0x14017a6b0]
lea rcx, [rsp + 0xe0]
call fcn.140019680
lea rcx, [rsp + 0xe0]
call fcn.14000b420
lea rdx, [rsp + 0x100]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400169ba
cmp dword [rsp + 0x20], 0
je 0x1400169ba
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0xc0]
call fcn.14000b5f0
nop
mov rdx, qword [rsp + 0x378]
lea rcx, [rsp + 0xa0]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0xc0]
call fcn.140039480
lea rcx, [rsp + 0xa0]
call fcn.140039480
lea rdx, [rsp + 0x12c]
lea rcx, [rsp + 0xc0]
call fcn.140019680
lea rdx, [rsp + 0x12c]
lea rcx, [rsp + 0xa0]
call fcn.140019680
mov eax, dword [rsp + 0x100]
and eax, 0x10
test eax, eax
jne 0x1400168af
lea rcx, [rsp + 0xa0]
call fcn.14000b420
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0xc0]
call fcn.14000b420
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x140016983
cmp dword [rsp + 0x380], 0
je 0x140016983
lea rdx, [0x140179af4]
lea rcx, [rsp + 0x12c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140016983
lea rdx, [0x14017a6b8]
lea rcx, [rsp + 0x12c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140016983
mov eax, dword [rsp + 0x100]
and eax, 0x10
test eax, eax
je 0x140016983
lea rcx, [rsp + 0xa0]
call fcn.14000b420
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call fcn.14000b5f0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call fcn.14000b5f0
mov qword [rsp + 0x58], rax
mov r8d, dword [rsp + 0x380]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140016710
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xa0]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0xc0]
call fcn.14000b4e0
jmp 0x1400167ee
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0xe0]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x370]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x378]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x368
ret
Function at 0x140016a10
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x138], rax
cmp dword [rsp + 0x168], 0
je 0x140016bee
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x28]
call fcn.14000b5f0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400160e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140016bee
mov rcx, qword [rsp + 0x158]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x38]
call fcn.14000b5f0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1400160e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140016bee
lea rcx, [rsp + 0xd8]
call fcn.140016c60
nop
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x48]
call fcn.14000b5f0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xf8]
call fcn.140016ef0
nop
lea r8, [rsp + 0xf8]
lea rdx, [0x140179b94]
lea rcx, [rsp + 0x118]
call fcn.14001bec0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xd8]
call fcn.1400196b0
nop
lea rcx, [rsp + 0x118]
call fcn.14000b4e0
lea rcx, [rsp + 0xd8]
call fcn.14000b420
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x158]
call fcn.14000b420
mov r8d, 1
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140016bd3
lea rcx, [rsp + 0xd8]
call fcn.14000b420
mov r8d, 4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0xf8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0xd8]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x158]
call fcn.14000b420
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x150]
call fcn.14000b420
mov r8d, dword [rsp + 0x160]
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
mov rcx, qword [rsp + 0x150]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x158]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x148
ret
Function at 0x140016c60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x860
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x820
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14017a6d0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x870]
call fcn.140019710
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x870]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x860
pop rdi
ret
Function at 0x1400172a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2b8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140019710
nop
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140039fc0
nop
lea rcx, [rsp + 0x40]
call fcn.140039480
lea rdx, str.atcliun_
lea rcx, [rsp + 0x40]
call fcn.140019680
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400196b0
lea rdx, str..exe
lea rcx, [rsp + 0x40]
call fcn.140019680
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2d0]
call fcn.14000b570
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x70]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x40]
call fcn.14000b4e0
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x2b8
pop rdi
pop rsi
ret

Function at 0x1400173d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x2d0]
lea rcx, [rsp + 0x40]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x40]
call fcn.140039480
lea rdx, [0x14017a730]
lea rcx, [rsp + 0x40]
call fcn.140019680
lea rcx, [rsp + 0x40]
call fcn.14000b420
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x1400174ae
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400174a3
mov eax, dword [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x20
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14001744a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x400
div rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x2d0]
call fcn.14000b4e0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x2c8
ret

Function at 0x140017500
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.14000b420
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x30]
call fcn.14000b4e0
add rsp, 0x28
ret
Function at 0x1400184a0
Capabilities:
Write file on windows

Disassembly:
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call fcn.1400198f0
mov word [rsp + 0x48], ax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call fcn.140019900
movzx eax, al
test eax, eax
je 0x1400184f8
lea rcx, [rsp + 0xc8]
call fcn.14001b140
jmp 0x14001873b
mov rcx, qword [rsp + 0xc0]
call fcn.14001a6a0
test rax, rax
je 0x140018567
mov rcx, qword [rsp + 0xc0]
call fcn.14001a6a0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14001a5f0
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
jae 0x140018567
lea rcx, [rsp + 0xc8]
call fcn.140018760
mov word [rsp + 0x4a], ax
mov rcx, qword [rsp + 0xc0]
call fcn.14001a450
movzx ecx, word [rsp + 0x4a]
mov word [rax], cx
movzx eax, word [rsp + 0xc8]
jmp 0x14001873b
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x80], 0
jne 0x140018583
call fcn.1400198f0
jmp 0x14001873b
mov rcx, qword [rsp + 0xc0]
call fcn.140019d20
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
jne 0x1400185ed
lea rcx, [rsp + 0xc8]
call fcn.140018760
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rcx + 0x80]
movzx ecx, ax
call fcn.14000f720
movzx eax, al
test eax, eax
je 0x1400185d9
movzx eax, word [rsp + 0xc8]
mov word [rsp + 0x44], ax
jmp 0x1400185e3
call fcn.1400198f0
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
jmp 0x14001873b
mov qword [rsp + 0x70], 0x20
lea rcx, [rsp + 0xc8]
call fcn.140018760
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x42]
mov rdx, qword [rsp + 0xc0]
add rdx, 0x74
lea r8, [rsp + 0x60]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x40]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x68]
call fcn.14000e0c0
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jl 0x140018736
cmp dword [rsp + 0x4c], 1
jle 0x14001867f
cmp dword [rsp + 0x4c], 3
je 0x1400186f6
jmp 0x140018736
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x1400186cd
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1400886f8
cmp qword [rsp + 0x50], rax
je 0x1400186cd
call fcn.1400198f0
jmp 0x14001873b
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x72], 1
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x68], rax
je 0x1400186ef
movzx eax, word [rsp + 0xc8]
jmp 0x14001873b
call fcn.1400198f0
jmp 0x14001873b
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x80]
movzx ecx, word [rsp + 0x40]
call fcn.14000f720
movzx eax, al
test eax, eax
je 0x140018725
movzx eax, word [rsp + 0xc8]
mov word [rsp + 0x46], ax
jmp 0x14001872f
call fcn.1400198f0
mov word [rsp + 0x46], ax
movzx eax, word [rsp + 0x46]
jmp 0x14001873b
call fcn.1400198f0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0xb8
ret
Function at 0x140019dd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x140019e0d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140019e14
mov al, 1
jmp 0x140019f5f
call fcn.1400198f0
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
movzx edx, ax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov word [rsp + 0x30], ax
call fcn.1400198f0
mov word [rsp + 0x32], ax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x32]
call fcn.140019900
movzx eax, al
test eax, eax
je 0x140019e68
xor al, al
jmp 0x140019f5f
mov qword [rsp + 0x58], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.14000e130
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140019ecd
cmp dword [rsp + 0x34], 1
je 0x140019ed9
cmp dword [rsp + 0x34], 3
je 0x140019f4d
jmp 0x140019f5d
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x72], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x140019f24
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400886f8
cmp qword [rsp + 0x40], rax
je 0x140019f24
xor al, al
jmp 0x140019f5f
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140019f3e
mov dword [rsp + 0x38], 1
jmp 0x140019f46
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
jmp 0x140019f5f
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x140019f5f
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x98
ret

Function at 0x140021380
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.14000b420
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
call fcn.14000b4e0
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret

Function at 0x1400213d0
Capabilities:
Connect to http server

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x68]
call fcn.14000b420
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000b4e0
mov rax, qword [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x1400225d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x390], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x30]
call fcn.14000b5f0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400160e0
test eax, eax
jne 0x140022633
mov rcx, qword [rsp + 0x3b0]
call fcn.14000b4e0
jmp 0x1400227f4
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rdx, [0x140179e64]
mov rcx, qword [rsp + 0x40]
call fcn.140019710
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x50]
call fcn.14000b5f0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14003a2e0
lea rax, [rsp + 0x180]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x68]
call fcn.14000b5f0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x158]
call fcn.140016db0
nop
lea rdx, [rsp + 0x180]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rax, [rsp + 0x118]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x78]
call fcn.14000b5f0
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140039570
mov rcx, qword [rsp + 0x3b0]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14002279e
mov qword [rsp + 0x20], 0
lea rdx, str.DllUnregisterServer
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140022793
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x140022789
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 1
jne 0x140022793
call qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x138]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x88]
call fcn.140019710
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140039570
nop
lea rcx, [rsp + 0x158]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x3a0
pop rdi
ret