joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033dc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
jne 0x140033df8
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140033ec6
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140036870
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140033e21
xor eax, eax
jmp 0x140033ec6
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400372b0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140033ea8
mov dword [rsp + 0x7c], 1
jmp 0x140033eb0
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x50]
call fcn.140037300
mov eax, dword [rsp + 0x78]
add rsp, 0x88
ret

Function at 0x140034e80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x58], 0
jne 0x140034ea5
mov eax, 0x57
jmp 0x140034f63
cmp qword [rsp + 0x60], 0
jne 0x140034eb7
mov eax, 0x57
jmp 0x140034f63
mov qword [rsp + 0x38], 0
call fcn.1400360f0
mov r9d, eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareAhnlabASPack9.0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140034efa
mov eax, dword [rsp + 0x30]
jmp 0x140034f63
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
shl rcx, 1
mov rax, qword [rsp + 0x58]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x58]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140034f70
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x38
xor eax, eax
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call fcn.140034fb0
test eax, eax
jne 0x140034f97
mov ax, word [rsp + 0x20]
jmp 0x140034f9d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
add rsp, 0x38
ret
Function at 0x140038130
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2068
call fcn.140079d60
sub rsp, rax
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x2058], rax
cmp qword [rsp + 0x2070], 0
jne 0x140038166
xor eax, eax
jmp 0x140038275
mov rax, qword [rsp + 0x2070]
movzx eax, word [rax]
test eax, eax
jne 0x14003817c
xor eax, eax
jmp 0x140038275
mov dword [rsp + 0x30], 0x1000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x2048], eax
mov eax, dword [rsp + 0x2048]
add eax, 1
mov ecx, eax
shl rcx, 1
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsp + 0x2040], rax
cmp qword [rsp + 0x2040], 0
jne 0x1400381c4
xor eax, eax
jmp 0x140038275
mov edx, dword [rsp + 0x2048]
add edx, 1
mov rcx, qword [rsp + 0x2040]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400381fe
mov rcx, qword [rsp + 0x2040]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x2040], 0
xor eax, eax
jmp 0x140038275
mov rax, qword [rsp + 0x2070]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2040]
lea r8, str._s_s
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call fcn.140001080
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x2050], rax
mov rcx, qword [rsp + 0x2040]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x2040], 0
cmp qword [rsp + 0x2050], 0
je 0x140038273
mov rax, qword [rsp + 0x2050]
jmp 0x140038275
xor eax, eax
mov rcx, qword [rsp + 0x2058]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x2068
ret
Function at 0x14003c290
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x480
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + AfxHookWindowCreate], rax
cmp qword [rsp + 0x490], 0
je 0x14003c2cd
cmp dword [rsp + 0x498], 0
jne 0x14003c2d7
mov eax, 0x57
jmp 0x14003c48d
movzx eax, byte [0x1400cd370]
movzx eax, al
test eax, eax
je 0x14003c315
mov edx, dword [rsp + 0x498]
lea r8, [0x1400ccb70]
mov rcx, qword [rsp + 0x490]
call entry0
mov rcx, qword [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
xor eax, eax
jmp 0x14003c48d
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14003e7d0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003c45e
mov qword [rsp + 0x258], 0
call fcn.14003de80
mov r9d, eax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x250], eax
cmp dword [rsp + 0x250], 0
jne 0x14003c45e
xor eax, eax
mov word [rsp + 0x260], ax
lea rdi, [rsp + 0x262]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x470], 0x208
lea rax, [rsp + 0x470]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x250], eax
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x250], 0
jne 0x14003c45e
mov edx, dword [rsp + 0x498]
lea r8, [rsp + 0x260]
mov rcx, qword [rsp + 0x490]
call entry0
lea r8, [rsp + 0x260]
mov edx, CDHtmlElementEventSink::AddRef
lea rcx, [0x1400ccb70]
call entry0
mov byte [0x1400cd370], 1
mov rcx, qword [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
xor eax, eax
jmp 0x14003c48d
cmp qword [rsp + 0x4a0], 0
je 0x14003c488
mov r8d, dword [rsp + 0x498]
mov rdx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x4a0]
call fcn.14003c4b0
jmp 0x14003c48d
mov eax, 0x65b
mov rcx, qword [rsp + 0x478]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x480
pop rdi
ret
Function at 0x14003cc70
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10c0
call fcn.140079d60
sub rsp, rax
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x10b0], rax
cmp qword [rsp + 0x10d0], 0
jne 0x14003ccc1
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14003ce48
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
xor r8d, r8d
mov edx, CDHtmlElementEventSink::AddRef
lea rcx, [rsp + 0x40]
call fcn.14003c290
test eax, eax
je 0x14003ccf3
xor eax, eax
jmp 0x14003ce48
xor eax, eax
mov word [rsp + 0x840], ax
lea rdi, [rsp + 0x842]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x10d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str._s_s
mov edx, CDHtmlElementEventSink::AddRef
lea rcx, [rsp + 0x840]
call fcn.140001080
mov dword [rsp + 0x1040], 0
lea rdi, [rsp + 0x1044]
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
mov dword [rsp + 0x1040], 0x70
lea rax, [rsp + 0x840]
mov qword [rsp + 0x1058], rax
lea rax, [rsp + 0x40]
mov qword [rsp + CFrameWnd::InitialUpdateFrame], rax
mov rax, qword [rsp + 0x10d8]
mov qword [rsp + 0x1060], rax
mov dword [rsp + CWinApp::HtmlHelpW], 0x440
mov dword [rsp + 0x1070], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.14003da00
test eax, eax
je 0x14003cdd2
cmp dword [rsp + 0x10e8], 1
jne 0x14003cdd2
lea rax, str.runas
mov qword [rsp + 0x1050], rax
lea rcx, [rsp + 0x1040]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14003cde8
xor eax, eax
jmp 0x14003ce48
cmp dword [rsp + 0x10e0], 1
jne 0x14003ce05
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x10a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x10a8], 0
je 0x14003ce43
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x10a8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x10a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
mov rcx, qword [rsp + 0x10b0]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x10c0
pop rdi
ret
Function at 0x14003d060
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
jne 0x14003d098
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14003d166
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.14003d810
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14003d0c1
xor eax, eax
jmp 0x14003d166
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140042ef0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003d148
mov dword [rsp + 0x7c], 1
jmp 0x14003d150
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x50]
call fcn.140042f40
mov eax, dword [rsp + 0x78]
add rsp, 0x88
ret

Function at 0x14003d180
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
cmp qword [rsp + 0xa8], 0
jne 0x14003d1b8
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14003d2ae
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
call fcn.14003d810
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14003d1e7
xor eax, eax
jmp 0x14003d2ae
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140042ef0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14003d284
mov dword [rsp + 0x8c], 1
jmp 0x14003d28f
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0x60]
call fcn.140042f40
mov eax, dword [rsp + 0x88]
add rsp, 0x98
ret

Function at 0x14003e130
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [rsp + 0x30], 0
je 0x14003e14c
cmp dword [rsp + 0x38], 4
jae 0x14003e14e
jmp 0x14003e15d
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add rsp, 0x28
ret
Function at 0x140043550
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2058
call fcn.140079d60
sub rsp, rax
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x2048], rax
cmp qword [rsp + 0x2060], 0
jne 0x140043586
xor eax, eax
jmp 0x1400436b1
mov rax, qword [rsp + 0x2060]
movzx eax, word [rax]
test eax, eax
jne 0x14004359c
xor eax, eax
jmp 0x1400436b1
mov dword [rsp + 0x20], 0x1000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x2038], eax
mov eax, dword [rsp + 0x2038]
add eax, 1
mov ecx, eax
shl rcx, 1
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsp + 0x2030], rax
cmp qword [rsp + 0x2030], 0
jne 0x1400435e4
xor eax, eax
jmp 0x1400436b1
mov edx, dword [rsp + 0x2038]
add edx, 1
mov rcx, qword [rsp + 0x2030]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140043621
mov rcx, qword [rsp + 0x2030]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x2030], 0
xor eax, eax
jmp 0x1400436b1
mov r8, qword [rsp + 0x2030]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call entry0
lea r8, [0x140091908]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.1400018e0
mov r8, qword [rsp + 0x2060]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.1400018e0
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x2040], rax
mov rcx, qword [rsp + 0x2030]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x2030], 0
cmp qword [rsp + 0x2040], 0
je 0x1400436af
mov rax, qword [rsp + 0x2040]
jmp 0x1400436b1
xor eax, eax
mov rcx, qword [rsp + 0x2048]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x2058
ret
Function at 0x140044840
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, 5
call fcn.14003da00
test eax, eax
je 0x14004488d
mov eax, 1
jmp 0x1400449e6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlProductOptions
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400449e2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.ProductSuite
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400449d7
cmp dword [rsp + 0x3c], 0
je 0x1400449d7
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400449d7
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.ProductSuite
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400449cc
cmp dword [rsp + 0x40], 7
jne 0x1400449cc
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
test eax, eax
je 0x1400449cc
lea rdi, [rsp + 0x60]
lea rsi, str.Terminal_Server
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1400449ac
mov dword [rsp + 0x38], 1
jmp 0x1400449cc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
movsxd rcx, eax
mov rax, qword [rsp + 0x50]
add rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x14004496f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x140048e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
test edx, edx
je 0x140048e9a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x140048eb7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [rbx + 0x14]
cmp eax, edx
jb 0x140048eb7
mov ecx, eax
sub ecx, edx
cmp ecx, 0x927c0
jb 0x140048f51
lea r8, [0x14008d570]
lea rdx, [0x140090338]
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov dword [rbx + 0x14], eax
mov dword [rsp + 0x20], 1
call fcn.14004cb00
xor edx, edx
test eax, eax
mov ecx, edx
setne cl
cmp dword [rbx + 0x10], ecx
je 0x140048f51
mov dword [rbx + 0x10], ecx
test ecx, ecx
mov rcx, rbx
je 0x140048f4c
call fcn.140048380
lea rcx, [rsp + 0x32]
mov r8d, 0x206
mov word [rsp + 0x30], dx
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x30]
mov r8d, new[]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x140090334]
mov edx, 0xa
mov rcx, rbx
call fcn.140048a80
lea r8, [rsp + 0x30]
mov edx, 0xa
mov rcx, rbx
call fcn.140048df0
jmp 0x140048f51
call fcn.140048350
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x250
pop rbx
ret
Function at 0x14004bcb0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x840
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + CSplitterWnd::DeleteRow], rax
cmp qword [rsp + 0x858], 0
jne 0x14004bce6
xor eax, eax
jmp 0x14004becf
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x858]
mov edx, CDHtmlElementEventSink::AddRef
lea rcx, [rsp + 0x30]
call entry0
lea rdx, str.PdCfg.dll
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x830], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax], rdx
mov rax, qword [rsp + 0x850]
cmp qword [rax], 0
je 0x14004bec8
lea rdx, str.B4810203714C47f9BFD73684A92A2C1E
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 8], rdx
lea rdx, str.CCDF4192812041dfA8DACC3CBB9DC580
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x10], rdx
lea rdx, str.D5B387C9DE8F4e50BCFFA929BBF11CC8
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x18], rdx
lea rdx, str.F4265D584B2B43539CA86DEB0DCBA606
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x20], rdx
lea rdx, str.A125FF8C57D44c5cA3E46E28A664B999
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x28], rdx
lea rdx, str.B0F3D869E9F64d799510D2849AF5921A
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x30], rdx
lea rdx, str.FB48E6154AF2459eA7404A3161D766FE
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x38], rdx
lea rdx, str.F6F5B4EC76A24c00A7CC6F8133E7F7C2
mov rcx, qword [rsp + 0x850]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x850]
mov qword [rax + 0x40], rdx
mov rcx, qword [rsp + 0x850]
call fcn.14004bfb0
test eax, eax
jne 0x14004bebd
mov rcx, qword [rsp + 0x850]
call fcn.14004bef0
mov dword [rsp + 0x830], 0
jmp 0x14004bec8
mov dword [rsp + 0x830], 1
mov eax, dword [rsp + 0x830]
mov rcx, qword [rsp + 0x838]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x840
pop rdi
ret
Function at 0x14004c6e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.MSVCR90.dll__errno]
xor esi, esi
mov r8d, ebp
mov dword [rax], esi
mov ecx, dword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.MSVCR90.dll__read]
mov rbx, qword [rsp + 0x30]
cmp ebp, eax
mov rbp, qword [rsp + 0x38]
sete sil
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004c780
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x28
mov ecx, dword [rcx + 8]
call qword [sym.imp.MSVCR90.dll__get_osfhandle]
mov rcx, rax
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_SetEndOfFile]

Function at 0x14004c7c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov eax, edx
mov r11d, edx
mov r10, rcx
cdq
and edx, 7
add eax, edx
and eax, 7
cmp eax, edx
je 0x14004c7e0
xor eax, eax
add rsp, 8
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
test r8, r8
lea rbp, [0x140090628]
mov qword [rsp], rdi
cmovne rbp, r8
test r9d, r9d
je 0x14004c889
test r11d, r11d
je 0x14004c92c
nop
mov edx, dword [r10]
mov r8d, dword [r10 + 4]
xor r9d, r9d
xor edi, edi
lea ebx, [rdi + 0x1f]
nop
mov eax, r8d
and edi, 3
mov ecx, r8d
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, dword [rbp + rdi*4]
add eax, r9d
add ecx, r8d
add r9d, 0x9e3679b9
xor ecx, eax
mov edi, r9d
add edx, ecx
mov eax, edx
mov ecx, edx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, r9d
shr rax, 0xd
add ecx, edx
and eax, 3
mov eax, dword [rbp + rax*4]
add eax, r9d
xor ecx, eax
add r8d, ecx
sub rbx, 1
jne 0x14004c820
mov dword [r10], edx
mov dword [r10 + 4], r8d
add r10, 8
sub r11d, 8
jne 0x14004c810
jmp 0x14004c92c
test r11d, r11d
je 0x14004c92c
mov qword [rsp + 0x20], rsi
nop word [rax + rax]
mov r8d, dword [r10]
mov r9d, dword [r10 + 4]
mov ebx, 0x2898bd67
mov rdi, rbx
mov esi, 0x1f
nop word [rax + rax]
shr rdi, 0xd
mov eax, r8d
mov ecx, r8d
shl eax, 4
shr ecx, 5
and edi, 3
xor ecx, eax
mov eax, dword [rbp + rdi*4]
add eax, ebx
add ecx, r8d
add ebx, 0x61c98647
xor ecx, eax
mov edi, ebx
sub r9d, ecx
mov eax, r9d
mov edx, r9d
shr edx, 5
shl eax, 4
xor edx, eax
mov eax, ebx
and eax, 3
add edx, r9d
mov ecx, dword [rbp + rax*4]
add ecx, ebx
xor edx, ecx
sub r8d, edx
sub rsi, 1
jne 0x14004c8c0
mov dword [r10], r8d
mov dword [r10 + 4], r9d
add r10, 8
sub r11d, 8
jne 0x14004c8a0
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp]
mov rbp, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov eax, 1
add rsp, 8
ret