joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006f1b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x60]
call sub.mfc120u.dll_Ordinal_448
nop
mov rax, qword [rsp + 0x60]
add rax, 0x120
mov rcx, rax
call fcn.1400bd730
mov rax, qword [rsp + 0x60]
lea rcx, vtable.CPCUHTMLDialog.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
lea rcx, vtable.CPCUHTMLDialog.1.0
mov qword [rax + 0x120], rcx
mov rax, qword [rsp + 0x60]
add rax, 0x138
mov rcx, rax
call fcn.1400c5160
nop
mov rax, qword [rsp + 0x60]
add rax, 0x388
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140071a80
mov rax, qword [rsp + 0x60]
add rax, 0x3b8
mov edx, 0xa
mov rcx, rax
call sub.mfc120u.dll_Ordinal_543
nop
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x3a0], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x3a8], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x3b0], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x398], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov qword [rax + reloc.mfc120u.dll_Ordinal_296], rcx
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x3f0], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x130], rcx
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x3f4], 0x26c
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x3f8], 0x1f4
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
mov qword [rax + Ordinal_1037], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x410], rcx
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x408], 0
je 0x14006f3b1
movzx eax, word [rsp + 0x78]
mov r8d, 5
mov edx, eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x408]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14006f3b1
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x408]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + Ordinal_1030], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x400], 0
je 0x14006f3b1
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x400]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0xf0], rcx
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x14007d790
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x98]
add rax, 0x11
mov rcx, rax
call sub.mfc120u.dll_Ordinal_265
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14007d8de
mov r8d, 0x10
mov edx, 0x36
mov rcx, qword [rsp + 0x28]
call sub.MSVCR120.dll_memset
mov rax, qword [rsp + 0x98]
inc rax
mov rcx, qword [rsp + 0x28]
add rcx, 0x10
mov r8, rax
xor edx, edx
call sub.MSVCR120.dll_memset
mov qword [rsp + 0x40], 0
jmp 0x14007d839
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0x10
jae 0x14007d882
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x14007d82c
mov rax, qword [rsp + 0x28]
add rax, 0x10
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memcpy_s]
mov rax, qword [rsp + 0x98]
add rax, 0x10
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.14007d710
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call sub.mfc120u.dll_Ordinal_266
mov ecx, 0x20
call sub.mfc120u.dll_Ordinal_265
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14007d9cb
mov r8d, 0x10
mov edx, VarDateFromDisp
mov rcx, qword [rsp + 0x30]
call sub.MSVCR120.dll_memset
mov qword [rsp + 0x38], 0
jmp 0x14007d930
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x10
jae 0x14007d979
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x14007d923
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov r9d, 0x10
lea r8, [rsp + 0x68]
mov edx, 0x10
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memmove_s]
mov r8, qword [rsp + 0xa8]
mov edx, 0x20
mov rcx, qword [rsp + 0x30]
call fcn.14007d710
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call sub.mfc120u.dll_Ordinal_266
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x88
ret
Function at 0x140087d60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x50], 0xffffffffffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x140087e0c
mov dword [rsp + 0x44], reloc.OLEAUT32.dll_SetErrorInfo
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140087e01
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jne 0x140087e01
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x140087e20
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
call fcn.140015130
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xffffffff
je 0x140087e92
mov eax, dword [rsp + 0x44]
and eax, 1
test eax, eax
je 0x140087e92
mov eax, dword [rsp + 0x44]
and eax, 0xfffffffe
mov edx, eax
mov rcx, qword [rsp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
mov word [rsp + 0x90], ax
lea rax, [rsp + 0x92]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
mov r9d, Ordinal_265
mov r8, qword [rsp + 0x2c8]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call qword [sym.imp.MSVCR120.dll_wcsncpy_s]
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x90]
call fcn.140031a70
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140087f07
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rcx], ax
lea rcx, [rsp + 0x90]
call fcn.140041fd0
mov rcx, rax
call fcn.140031c50
movzx eax, al
test eax, eax
jne 0x140087f38
lea rcx, [rsp + 0x90]
call fcn.140041fd0
mov rcx, rax
call fcn.140031d00
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x78], 0x18
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x78]
call fcn.140031e50
movzx eax, al
test eax, eax
je 0x140087f6f
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x22
mov dword [rsp + 0x20], 2
mov r9, qword [rsp + 0x60]
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x140087ffc
mov dword [rsp + 0x48], reloc.OLEAUT32.dll_SetErrorInfo
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140087ff1
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x48], eax
jne 0x140087ff1
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call fcn.140031ec0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x2b0
pop rdi
ret
Function at 0x14008dff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x14008e0e0
movzx eax, word [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov edx, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14008e0e0
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14008e0e0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14008e0e0
cmp qword [rsp + 0x58], 0
je 0x14008e0c0
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rsp + 0x60]
cmp dword [rcx], eax
jb 0x14008e0c0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call sub.MSVCR120.dll_memcpy
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x1400951e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x60], 0x73
mov byte [rsp + 0x61], 0x75
mov byte [rsp + 0x62], 0x62
mov byte [rsp + 0x63], 0
mov byte [rsp + 0x64], 0x73
mov byte [rsp + 0x65], 0x75
mov byte [rsp + 0x66], 0x62
mov byte [rsp + 0x67], 0
mov byte [rsp + 0x68], 0x73
mov byte [rsp + 0x69], 0x75
mov byte [rsp + 0x6a], 0x62
mov byte [rsp + 0x6b], 0
lea rax, [rsp + 0x6c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov ecx, 1
call fcn.14002a670
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140095300
mov rax, qword [rsp + 0x90]
add rax, 0x1158
mov rcx, rax
call fcn.140030730
mov rcx, qword [rsp + 0x90]
add rcx, 0x1180
mov r8, rax
lea rdx, [rsp + 0x48]
call fcn.1400906b0
nop
lea rcx, [rsp + 0x48]
call fcn.140030730
mov rcx, qword [rsp + 0x90]
add rcx, reloc.mfc120u.dll_Ordinal_960
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx + reloc.mfc120u.dll_Ordinal_960]
mov qword [rsp + 0x38], rdx
lea r9, [rsp + 0x60]
mov r8, rax
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x48]
call fcn.140030070
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x80
pop rdi
ret
Function at 0x1400983e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x310]
cmp dword [rax + 0x68], 0
jne 0x140098640
mov rax, qword [rsp + 0x310]
mov dword [rax + 0x68], 1
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x48], Ordinal_265
mov rax, qword [rsp + 0x310]
add rax, 0x20
mov rcx, rax
call fcn.140030730
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140098640
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xe0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140098635
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140030130
nop
lea rcx, str.DllName
call qword [sym.imp.MSVCR120.dll_wcslen]
mov r8d, eax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x60]
call fcn.140031050
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140030730
lea rdx, [0x140160090]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x140098544
mov dword [rsp + 0x4c], 1
jmp 0x14009854c
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0xc0]
call fcn.140030070
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140098614
lea rcx, [rsp + 0x60]
call fcn.140030730
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x310]
add rcx, 0x20
call fcn.140030730
mov rcx, qword [rsp + 0x98]
mov r9, rcx
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xa8]
call fcn.140028b00
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.140030470
nop
lea rcx, [rsp + 0xa8]
call fcn.140030070
lea rcx, [rsp + 0x60]
call fcn.140030f30
test eax, eax
jne 0x140098614
lea rcx, [rsp + 0x60]
call fcn.140030730
mov rdx, rax
mov rcx, qword [rsp + 0x310]
call fcn.1400980e0
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], Ordinal_265
lea rcx, [rsp + 0x60]
call fcn.140030070
jmp 0x14009848a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x308
ret
Function at 0x14009df40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10b0
call fcn.14010f740
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov rax, qword [rsp + 0x10c0]
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400300a0
nop
lea rdx, str._featureusg
lea rcx, [rsp + 0x70]
call fcn.140030130
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.1400305f0
nop
lea rcx, [rsp + 0x70]
call fcn.140030070
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x58]
call fcn.140030730
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009e0d1
mov dword [rsp + 0x44], 0x800
xor eax, eax
mov word [rsp + 0x90], ax
lea rax, [rsp + 0x92]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14009e0c5
lea rcx, [rsp + 0x58]
call fcn.140030730
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.140028f50
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
lea rcx, [rsp + 0x90]
call sub.MSVCR120.dll_memset
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0x800
jmp 0x14009e02b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x58]
call fcn.140030070
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x10b0
pop rdi
ret
Function at 0x1400a04a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x20]
mov rax, qword [0x1401f3f10]
xor rax, rbp
mov qword [rbp + 0x250], rax
call fcn.140015130
mov dword [rbp + 8], eax
xor eax, eax
mov word [rbp + 0x40], ax
lea rax, [rbp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
mov r8d, Ordinal_265
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp + 0x288]
call fcn.1400f7060
mov byte [rbp], 0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCR120.dll_wcslen]
test rax, rax
jbe 0x1400a0638
mov dx, VarDateFromDisp
lea rcx, [rbp + 0x40]
call fcn.140031a70
add rax, 2
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x30], 0x48
mov byte [rbp + 0x31], 0x56
mov byte [rbp + 0x32], 0x48
mov byte [rbp + 0x33], VariantTimeToDosDateTime
mov byte [rbp + 0x34], 0x5f
mov byte [rbp + 0x35], 0x1a
mov byte [rbp + 0x36], 0x25
mov byte [rbp + 0x37], 0x5a
mov byte [rbp + 0x38], 0x29
mov byte [rbp + 0x39], 0x44
mov byte [rbp + 0x3a], 0x50
mov byte [rbp + 0x3b], 0x33
mov byte [rbp + 0x3c], 0x17
mov byte [rbp + 0x3d], 0
lea rcx, [rbp + 0x30]
call sub.MSVCR120.dll_strlen
mov r8d, 5
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14007dad0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x1400a0595
mov qword [rbp + 0x20], 0
jmp 0x1400a0607
mov rcx, qword [rbp + 0x10]
call sub.MSVCR120.dll_strlen
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x3fffffff
jle 0x1400a05b6
mov qword [rbp + 0x18], 0
jmp 0x1400a05ff
movsxd rax, dword [rbp + 4]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400a05d3
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14010f740
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 8]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.14003a250
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x1400a061d
mov byte [rbp], 1
lea rcx, [rbp + 0x30]
call sub.MSVCR120.dll_strlen
mov r8d, 5
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14007dad0
movzx eax, byte [rbp]
mov rcx, qword [rbp + 0x250]
xor rcx, rbp
call fcn.14010f170
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret
Function at 0x1400a28f0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rcx, rax
call fcn.140030f30
test eax, eax
je 0x1400a2a93
xor eax, eax
mov word [rsp + 0x80], ax
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
lea rcx, [rsp + 0x80]
call fcn.140028580
test eax, eax
je 0x1400a2a93
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140030130
nop
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
lea rdx, str._sCorelDownloads_License___SourceID_
mov rcx, rax
call fcn.140030410
lea rcx, [rsp + 0x50]
call fcn.140030730
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x40
mov r8, rax
lea rdx, [0x140161b80]
call fcn.140031110
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rcx, rax
call fcn.140030730
mov r8, rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2b8]
call fcn.1400439a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140030470
nop
lea rcx, [rsp + 0x68]
call fcn.140030070
mov rcx, qword [rsp + 0x2b0]
call fcn.1400a27e0
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov edx, 0x104
mov rcx, rax
call fcn.140030800
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x2b0]
add rax, 0x90
mov rcx, rax
call fcn.140030730
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov edx, 0xffffffff
mov rcx, rax
call fcn.1400308e0
nop
lea rcx, [rsp + 0x50]
call fcn.140030070
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rcx, rax
call fcn.140030730
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x58
mov edx, 0x104
call fcn.140030800
lea r8, str.dim_params.xml
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov rax, qword [rsp + 0x2b0]
add rax, 0x58
mov edx, 0xffffffff
mov rcx, rax
call fcn.1400308e0
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rcx, rax
call fcn.140030730
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400a2b36
mov rax, qword [rsp + 0x2b0]
add rax, 0x40
mov rcx, rax
call fcn.140030730
mov rcx, rax
call fcn.140031d00
mov byte [rsp + 0x20], al
jmp 0x1400a2b3b
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400a2b94
mov rax, qword [rsp + 0x2b0]
add rax, 0x58
mov rcx, rax
call fcn.140030730
mov rcx, rax
call fcn.140031be0
movzx eax, al
test eax, eax
je 0x1400a2b94
mov rax, qword [rsp + 0x2b0]
add rax, 0x58
mov rcx, rax
call fcn.140030730
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a2b8f
mov byte [rsp + 0x20], 0
jmp 0x1400a2b94
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x2a0
pop rdi
ret
Function at 0x1400a4920
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov dword [rsp + 0x2c], Ordinal_265
xor eax, eax
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x1400a49a1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x1400a49b3
lea rdx, [0x1401643e0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
xor eax, eax
mov word [rsp + 0x250], ax
lea rax, [rsp + 0x252]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea r9, [rsp + 0x250]
xor r8d, r8d
lea rdx, [0x1401643e8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400a4a2d
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
lea rdx, str.ServerDump1.xml
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
jmp 0x1400a4a40
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x470
pop rdi
ret