joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bfe0
Capabilities:
Get common file path
Timestomp file

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x60]
call fcn.1400c9bc0
lea rdi, [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.wsock32.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1402031c0]
mov dword [rdi + 7], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002c0d2
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x14002c0c8
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret

Function at 0x14002c100
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002bd80
lea rcx, [rbx + 0x12c]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rbx + 0x230]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14002bda0

Function at 0x14002c140
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rcx
xor edi, edi
call fcn.14002bd80
nop
xor edx, edx
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x14002c20d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
lea r8d, [rdi + 0x10]
lea rdx, [rbx + 0x374]
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14002c209
cmp dword [rsp + 0x58], 0x10
jne 0x14002c209
cmp dword [rbx + 0x378], 0xff23ff24
jne 0x14002c209
cmp dword [rbx + 0x37c], 0x30000
jne 0x14002c209
lea rdx, [rbx + 0x378]
lea r8d, [rdi + 0xc]
or ecx, 0xffffffff
call fcn.140090280
cmp dword [rbx + 0x374], eax
jne 0x14002c209
mov rcx, rbx
call fcn.14002b900
mov edi, eax
mov dword [rsp + 0x30], eax
jmp 0x14002c20d
mov dword [rsp + 0x30], edi
jmp 0x14002c218
mov rax, qword [rbx]
mov dword [rsp + 0x20], edi
mov r9d, dword [rbx + 0x380]
lea r8, str.RFH:__d_R__d
mov edx, 4
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rbx
call fcn.14002bda0
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14002c260
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
mov qword [r11 - 0x50], 0
call fcn.14002bd80
nop
mov rcx, qword [rsi + 0x390]
test rcx, rcx
je 0x14002c3bf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x1c
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x390]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002c3bf
cmp dword [rsp + 0x30], 0x1c
jne 0x14002c3bf
cmp dword [rsp + 0x54], 0xff23ff24
jne 0x14002c3bf
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rdx, [rsp + 0x54]
or ecx, 0xffffffff
call fcn.140090280
cmp dword [rsp + 0x50], eax
jne 0x14002c3bf
cmp dword [rsp + 0x60], 0
je 0x14002c3bf
mov eax, dword [rsp + 0x68]
lea ecx, [rbx + rax + 0x1c]
call fcn.14010a204
mov rdi, rax
mov edx, dword [rsp + 0x5c]
add rdx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x64]
mov rcx, qword [rsi + 0x390]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002c3b7
mov r8d, dword [rsp + 0x64]
cmp dword [rsp + 0x30], r8d
jne 0x14002c3b7
mov edx, dword [rsp + 0x5c]
add rdx, rdi
mov r9d, dword [rsp + 0x68]
mov rcx, rsi
call fcn.14002baf0
test eax, eax
je 0x14002c3b7
mov rax, qword [rsp + 0x50]
mov qword [rdi], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x10], rax
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0x18], eax
mov qword [rsp + 0x38], rdi
jmp 0x14002c3f5
mov rcx, rdi
call fcn.140085540
lea eax, [rbx + 0x1c]
mov ebx, eax
mov ecx, eax
call fcn.14010a204
mov rdi, rax
mov qword [rsp + 0x38], rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.14010da60
mov dword [rdi + 4], 0xff23ff24
mov dword [rdi + 8], 0x30000
mov dword [rdi + 0xc], 0x1c
jmp 0x14002c401
mov rcx, rsi
call fcn.14002bda0
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002c430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rsi
mov rsi, rdx
mov rdi, rcx
call fcn.14002bd80
nop
mov dword [rsp + 0x30], 0
mov ecx, dword [rsi + 0x50]
call fcn.14010a204
mov rbx, rax
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsi + 0x48]
mov rcx, qword [rdi + 0x388]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, dword [rsi + 0x4c]
mov rdx, rbx
mov rcx, qword [rdi + 0x388]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002c4f5
mov r8d, dword [rsi + 0x4c]
cmp dword [rsp + 0x70], r8d
jne 0x14002c4f5
mov r9d, dword [rsi + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.14002baf0
mov r11d, eax
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14002c4f5
cmp dword [rbx], 6
jne 0x14002c4f0
mov ecx, 6
call fcn.140026dc0
xor r11d, r11d
cmp eax, dword [rbx + 4]
sete r11b
mov dword [rsp + 0x30], r11d
test r11d, r11d
jne 0x14002c504
mov rcx, rbx
call fcn.140085540
xor ebx, ebx
mov qword [rsp + 0x38], rbx
jmp 0x14002c510
mov rcx, rdi
call fcn.14002bda0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14002cf00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, r9
mov r12d, r8d
mov r13, rdx
mov rbx, rcx
call fcn.14002bd80
nop
cmp dword [rbx + 0x24], 0
jne 0x14002cf9e
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14002cfa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x14002cf96
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14002cfa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002cfa2
mov edi, dword [rsp + 0x30]
jmp 0x14002cfad
mov rcx, rbx
call fcn.14002bda0
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x14002cfd0
Capabilities:
Create directory
Get common file path

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x150], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x151]
call fcn.14010da60
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.14010da60
test rdi, rdi
jne 0x14002d05f
mov rdx, qword [rbx + 0x3e8]
lea rcx, [rsp + 0x150]
call fcn.14002bdc0
lea rdi, [rsp + 0x150]
lea rcx, [rbx + 0x28]
cmp byte [rcx], 0
je 0x14002d081
lea rdx, [rsp + 0x40]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x14002d070
jmp 0x14002d091
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, 0x10
lea rcx, [rsp + 0x40]
call fcn.1400d0110
test eax, eax
jne 0x14002d0b1
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rsp + 0x40]
call fcn.1400c9bc0
lea r11, [rbx + 0x334]
lea rax, [0x140203498]
cmp byte [r11], 0
cmovne rax, r11
lea rcx, [rbx + 0x12c]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rsp + 0x40]
lea rdx, str._s_s._s
call qword [sym.imp.USER32.dll_wsprintfA]
lea r11, [rbx + 0x338]
lea r8, [0x140203488]
cmp byte [r11], 0
cmovne r8, r11
lea rcx, [rbx + 0x230]
mov qword [rsp + 0x20], r8
mov r9, rdi
lea r8, [rsp + 0x40]
lea rdx, str._s_s._s
call qword [sym.imp.USER32.dll_wsprintfA]
nop
mov eax, 1
jmp 0x14002d135
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x14002d470
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rdx
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov esi, ebx
mov dword [rsp + 0x48], ebx
lea rcx, [0x140202e00]
lea rdx, [rsp + 0x60]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x14002d4c1
mov dword [rsp + 0x44], 0x104
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call fcn.14002c5d0
mov r14, rax
test rax, rax
je 0x14002d5ad
mov rcx, rax
call fcn.1400a41d0
mov r12, rax
test r12, r12
je 0x14002d5a5
mov rcx, r12
call fcn.1400a39b0
mov rdi, rax
movzx eax, byte [rax + 0xc8]
cmp eax, 1
jne 0x14002d558
lea rcx, [rdi + 0xd4]
jmp 0x14002d569
cmp eax, 2
jne 0x14002d566
mov rcx, qword [rdi + 0xd4]
jmp 0x14002d569
mov rcx, rbx
lea rdx, [rsp + 0x60]
call fcn.14010d534
test eax, eax
mov eax, dword [rdi + 0x14]
jne 0x14002d58c
mov dword [r13 + 0x370], eax
mov ebx, 1
mov dword [rsp + 0x40], ebx
jmp 0x14002d5a5
cmp eax, esi
cmova esi, eax
mov dword [rsp + 0x48], esi
mov rdx, r12
mov rcx, r14
call fcn.1400a41e0
mov r12, rax
jmp 0x14002d533
mov rcx, r14
call fcn.14002cec0
test ebx, ebx
jne 0x14002d689
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + 0xdc]
mov qword [rsp + 0x50], rdi
mov rcx, rdi
call fcn.14010a204
mov r12, rax
lea eax, [rsi + 1]
mov dword [r13 + 0x370], eax
mov dword [r12 + 8], edi
mov dword [r12], 1
mov eax, dword [r13 + 0x370]
mov dword [r12 + 0x14], eax
xor ecx, ecx
call fcn.14010d57c
mov dword [r12 + 0xc], eax
mov eax, dword [r13 + 0x370]
mov dword [r12 + 0x14], eax
and dword [r12 + 0xc8], 0xffffff00
mov eax, dword [r12 + 0xc8]
or eax, 1
mov dword [r12 + 0xc8], eax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
mov dword [r12 + 0xd0], ecx
lea rdx, [rsp + 0x60]
lea rcx, [r12 + 0xd4]
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x14002d660
mov rdx, r12
mov rcx, r13
call fcn.14002d290
mov ebx, eax
mov dword [rsp + 0x40], eax
mov rcx, r12
call fcn.140085540
nop
mov eax, ebx
jmp 0x14002d691
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002d8b0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rsi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
call fcn.14002bd80
nop
or esi, 0xffffffff
cmp qword [rbx + 0x388], 0
je 0x14002d91b
mov rcx, rbx
call fcn.14002d7e0
xor edx, edx
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov rcx, qword [rbx + 0x388]
call fcn.14002bfe0
mov rcx, qword [rbx + 0x388]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x388], 0
mov rcx, qword [rbx + 0x390]
test rcx, rcx
je 0x14002d944
call fcn.14002bfe0
mov rcx, qword [rbx + 0x390]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x390], 0
test esi, esi
jne 0x14002d950
mov rcx, rbx
call fcn.14002c100
lea rcx, [rbx + 0x398]
call fcn.14002bcc0
lea rcx, [rbx + 0x3c0]
call fcn.14002bcc0
nop
jmp 0x14002d970
mov qword [rbx + 0x388], 0
mov dword [rbx + 0x368], 0
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
jmp fcn.14002bda0

Function at 0x1400365d0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov edx, 0x7f
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x184
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, rbx
lea rcx, [0x140036130]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
add rsp, 0x30
pop rbx
ret
Function at 0x1400388b0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.14010da60
mov edx, 0x4fa3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 6
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rsp + rcx + 0x3f]
mov edx, 0x4fa4
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 7
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rsp + rcx + 0x3f]
mov edx, 0x4fa5
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 6
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x150]
call fcn.14010da60
mov edx, 0x4fa2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x2d
lea rdx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [rsi + 0x40]
mov r9, qword [rdx + 0xb0]
add r9, 0x6749
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400384e0
mov dword [rsp + 0x30], eax
jmp 0x1400389fd
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14003de30
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
cmp dword [rcx + 0x11c], ebx
jne 0x14003de95
mov r8, rcx
xor edx, edx
lea rcx, [0x14003d9d0]
call fcn.1401109f8
mov dword [rsp + 0x24], ebx
nop word [rax + rax]
cmp dword [rdi + 0x11c], 0
jne 0x14003de95
cmp ebx, 0x3e8
jae 0x14003de95
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x32
mov dword [rsp + 0x24], ebx
jmp 0x14003de70
mov eax, dword [rdi + 0x11c]
mov dword [rsp + 0x20], eax
jmp 0x14003dea5
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003deb0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
je 0x14003df2e
sub rcx, rdx
movzx eax, byte [rdx]
inc rdx
mov byte [rcx + rdx + 0x17], al
test al, al
jne 0x14003dec1
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x11c], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbx + 0x120]
lea r8, str.xxutfsvr__04x
mov edx, 0x40
mov r9d, eax
call fcn.140110058
mov rcx, rbx
call fcn.14003db40
test eax, eax
je 0x14003df2e
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14003df2e
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14003df2e
mov rcx, rbx
call fcn.14003de30
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14003dfd0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.mswebhlp.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1402064f0]
mov dword [rdi + 7], eax
movzx eax, byte [0x1402064f4]
mov byte [rdi + 0xb], al
lea rcx, [rsp + 0x30]
call fcn.1400d0090
mov esi, 1
test eax, eax
cmovne ebx, esi
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.urlmkpl.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1402064e0]
mov dword [rdi + 7], eax
lea rcx, [rsp + 0x30]
call fcn.1400d0090
test eax, eax
cmovne ebx, esi
mov dword [rsp + 0x20], ebx
mov eax, ebx
jmp 0x14003e0b7
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003e0e0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.mswebhlp.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1402064f0]
mov dword [rdi + 7], eax
movzx eax, byte [0x1402064f4]
mov byte [rdi + 0xb], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x14003e1b2
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.urlmkpl.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1402064e0]
mov dword [rdi + 7], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14003e213
lea rdx, [0x140206460]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14003e209
lea r9, [rsp + 0x20]
mov edx, 1
mov ecx, 0x231242a
mov r8d, 0x2346
call rdi
test eax, eax
je 0x14003e209
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov edx, 0x231242a
call qword [rax + 0x28]
lea r9, [rsp + 0x20]
xor edx, edx
mov ecx, 0x231242a
mov r8d, 0x2346
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x14003e280
Capabilities:
Check os version
Delete registry value
Get common file path
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rax, qword [0x140206578]
mov edi, edx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov rax, qword [0x140206580]
xor r9d, r9d
mov qword [rbp - 0x80], rax
mov rax, qword [0x140206588]
xor r8d, r8d
mov qword [rbp - 0x78], rax
mov rax, qword [0x140206590]
mov rcx, 0xffffffff80000002
mov qword [rbp - 0x70], rax
mov rax, qword [0x140206598]
mov qword [rbp - 0x68], rax
mov eax, dword [0x1402065a0]
mov dword [rbp - 0x60], eax
movzx eax, word [0x1402065a4]
mov word [rbp - 0x5c], ax
movabs rax, 0x73797374656e69
mov qword [rsp + 0x70], rax
mov rax, qword [str.inetsys.exe]
mov qword [rsp + 0x58], rax
mov eax, dword [0x140206570]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14003e428
cmp edi, 1
jne 0x14003e38d
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14003e42a
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14003e3a4
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x14003e416
lea rcx, [rbp - 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp - 0x50]
call fcn.1400c9bc0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x50]
lea r8, [rsp + 0x58]
repne scasb al, byte [rdi]
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
inc rdx
mov byte [rdi + rdx - 2], al
test al, al
jne 0x14003e3d0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x50]
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x70]
lea r9d, [rax + 1]
not rcx
xor r8d, r8d
dec rcx
mov dword [rsp + 0x28], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14003e42a
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14010d170
mov rdi, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rbp
ret