joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801e6090
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2f8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov dword [rsp + 0x48], 0
mov r8, qword [rsp + 0x310]
lea rdx, [rsp + 0x308]
lea rcx, [rsp + 0x98]
call fcn.1801e4160
nop
lea rcx, [rsp + 0x98]
call fcn.180074060
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x78]
call fcn.1800740e0
nop
cmp dword [rsp + 0x50], 0
jne 0x1801e61f0
mov dword [rsp + 0x4c], 0x104
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0xe0]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x58], 0
jne 0x1801e61e3
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xb8]
call fcn.1800aac40
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.180074770
nop
lea rcx, [rsp + 0xb8]
call fcn.180073fc0
mov dword [rsp + 0x4c], 0x208
jmp 0x1801e6138
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1801e6206
cmp qword [rsp + 0x318], 0
je 0x1801e6206
mov rax, qword [rsp + 0x318]
mov byte [rax], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.180078dc0
mov rdx, rax
mov rcx, qword [rsp + 0x300]
call fcn.180079a40
lea rcx, [rsp + 0x78]
call fcn.1800032b0
mov rdx, rax
mov rcx, qword [rsp + 0x300]
call fcn.1800ab5f0
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x78]
call fcn.1800748f0
nop
lea rcx, [rsp + 0x98]
call fcn.180073fc0
mov rax, qword [rsp + 0x300]
add rsp, 0x2f8
ret
Function at 0x1801e7630
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.1801e4160
lea rcx, [rsp + 0x48]
call fcn.180074060
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf023f
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x38], 0
jne 0x1801e76d8
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1801e76bc
mov dword [rsp + 0x34], 1
jmp 0x1801e76c4
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x48]
call fcn.180073fc0
movzx eax, byte [rsp + 0x31]
add rsp, 0x78
ret

Function at 0x1801e8190
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov dword [rsp + 0x20], 0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [0x1803a7528]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1801e81ee
lea r8, [rsp + 0x30]
lea rdx, [0x1803a7540]
mov rcx, qword [rsp + 0x250]
call fcn.1801e9260
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x250]
jmp 0x1801e8215
lea rdx, [0x1803a7578]
mov rcx, qword [rsp + 0x250]
call fcn.1801ec470
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x250]
add rsp, 0x248
ret

Function at 0x1801e8230
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.1801e4160
lea rcx, [rsp + 0x68]
call fcn.180074060
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1801e830b
mov rcx, qword [rsp + 0xb8]
call fcn.18017ce5c
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x1801e831c
mov dword [rsp + 0x58], 1
jmp 0x1801e8324
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x68]
call fcn.180073fc0
movzx eax, byte [rsp + 0x50]
add rsp, 0x98
ret
Function at 0x1801e8350
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x1b8
mov qword [rsp + 0x58], 0xfffffffffffffffe
cmp qword [0x1803dc770], 0
jne 0x1801e84d2
lea rdx, [0x1803b928c]
mov ecx, 0x20
call fcn.1801809c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1801e839d
mov rcx, qword [rsp + 0x20]
call fcn.180073040
mov qword [rsp + 0x28], rax
jmp 0x1801e83a6
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [0x1803dc770], rax
cmp qword [0x1803dc770], 0
je 0x1801e84d2
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rdx, rax
mov rcx, qword [0x1803dc770]
call fcn.1800736c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1801e84d2
lea rcx, [rsp + 0xa0]
call fcn.18017cd00
mov qword [rsp + 0x50], rax
mov rcx, qword [0x1803dc770]
call fcn.180073860
mov rcx, qword [rsp + 0x50]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18017f6dc
test eax, eax
jne 0x1801e84d2
lea rcx, [rsp + 0xa0]
call fcn.18017cd00
mov r9, qword [0x180323d38]
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1803dc770]
call fcn.180073ad0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.180073860
mov r9, rax
lea r8, [rsp + 0xa0]
lea rdx, [0x180326570]
lea rcx, [rsp + 0x80]
call fcn.1801e9200
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [0x1803dc770]
call fcn.1800732b0
lea rcx, [rsp + 0x80]
call fcn.180073360
nop
lea rcx, [rsp + 0x60]
call fcn.180073360
cmp qword [0x1803dc770], 0
je 0x1801e84ea
mov rcx, qword [0x1803dc770]
call fcn.180073860
jmp 0x1801e84f0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
add rsp, 0x1b8
ret
Function at 0x1801e8fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1801e4160
lea rcx, [rsp + 0x50]
call fcn.180074060
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x34], 0
jne 0x1801e90f3
cmp qword [rsp + 0x90], 0
je 0x1801e90c1
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1801e9082
mov byte [rsp + 0x30], 1
cmp qword [rsp + 0x98], 0
je 0x1801e9080
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0
jmp 0x1801e90bf
cmp qword [rsp + 0x98], 0
je 0x1801e90bf
cmp dword [rsp + 0x34], 5
jne 0x1801e909e
mov dword [rsp + 0x38], 1
jmp 0x1801e90a6
mov dword [rsp + 0x38], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
jmp 0x1801e90e6
mov byte [rsp + 0x30], 1
cmp qword [rsp + 0x98], 0
je 0x1801e90e6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1801e9130
cmp qword [rsp + 0x98], 0
je 0x1801e9130
cmp dword [rsp + 0x34], 5
jne 0x1801e910f
mov dword [rsp + 0x3c], 1
jmp 0x1801e9117
mov dword [rsp + 0x3c], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x50]
call fcn.180073fc0
movzx eax, byte [rsp + 0x31]
add rsp, 0x78
ret
Function at 0x1801ec8b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1801ec906
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
call fcn.1801eb5b0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x250]
jmp 0x1801ec92d
lea rdx, [0x18032484c]
mov rcx, qword [rsp + 0x250]
call fcn.1800730e0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x250]
add rsp, 0x248
ret

Function at 0x1801ef6f0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov eax, dword [rsp + 0x88]
and eax, 0x20000
test eax, eax
jne 0x1801ef73a
mov rcx, qword [rsp + 0x80]
call fcn.1800aaaa0
xor r8d, r8d
lea rdx, [0x1803a72c8]
mov rcx, rax
call fcn.1802bf910
movzx eax, al
test eax, eax
jne 0x1801ef73a
xor al, al
jmp 0x1801ef825
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1803a70a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x60], 0
je 0x1801ef7df
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1803a7dc8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1801ef7d4
mov byte [rsp + 0x50], 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r8d, r8d
lea rdx, [0x1803a70a0]
mov rcx, 0xffffffff80000002
call fcn.1801e8f00
movzx eax, al
test eax, eax
je 0x1801ef80f
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1801ef80f
mov dword [rsp + 0x54], 1
jmp 0x1801ef817
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
add rsp, 0x78
ret
Function at 0x1801f2770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x38
cmp dword [0x1803bac44], 0
jne 0x1801f2781
xor eax, eax
jmp 0x1801f27c5
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1801f27c0
mov edx, 0x14
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1802274dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180219804
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.18025a97c
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x48]
and eax, 0x10
test eax, eax
je 0x18022753f
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.18020d3b0
mov qword [rsp + 0x40], rax
jmp 0x180227548
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
jmp 0x180227566
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jge 0x180227634
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.18025a0f4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 0x30
jne 0x180227609
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0xc], ecx
jne 0x180227609
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x3c]
cmp dword [rsp + 0x24], eax
jne 0x1802275c9
mov eax, 1
jmp 0x180227636
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
jmp 0x1802275ea
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180227609
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
cmp dword [rsp + 0x24], eax
jne 0x180227607
mov eax, 1
jmp 0x180227636
jmp 0x1802275dc
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 0x89
jne 0x18022762f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
cmp qword [rax + 0x10], rcx
jne 0x18022762f
mov eax, 1
jmp 0x180227636
jmp 0x18022755c
xor eax, eax
add rsp, 0x68
ret
Function at 0x180290990
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1803bb398]
test eax, eax
jle 0x180290a9f
cmp dword [rsp + 0x80], 0x64
jae 0x1802909ce
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
jmp 0x1802909d6
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x20], 0x4ff
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rax, qword [0x1803bad78]
call qword [rax + 0x340]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x180290a5b
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
mov rax, qword [0x1803bad78]
call qword [rax + 0x408]
test eax, eax
je 0x180290a59
cmp dword [rsp + 0x48], 0x12
jne 0x180290a33
xor eax, eax
jmp 0x180290aa1
lea rcx, [rsp + 0x40]
mov rax, qword [0x1803bad78]
call qword [rax + 0x410]
lea rcx, [rsp + 0x40]
mov rax, qword [0x1803bad78]
call qword [rax + 0x418]
jmp 0x180290a02
jmp 0x180290a6c
cmp dword [rsp + 0x34], 0x102
je 0x180290a6c
mov eax, 0xff
jmp 0x180290aa1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jb 0x180290a9a
mov eax, 0x40
jmp 0x180290aa1
jmp 0x1802909a9
xor eax, eax
add rsp, 0x78
ret
Function at 0x180291e60
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x20]
call fcn.180001220
jmp 0x180291ec5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.180001220
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jne 0x180291f08
mov dword [rsp + 0x2c], 1
jmp 0x180291f10
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
jne 0x180291f23
mov dword [rsp + 0x28], 1
jmp 0x180291f2b
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x180291fd8
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1800032b0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov rcx, rax
call fcn.180074060
mov rcx, rax
call fcn.1801ea270
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1800032b0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1800032b0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
add rax, 0x20
mov rcx, rax
call fcn.180074060
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x68]
call fcn.180074060
mov r8d, 1
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x180291e9a
add rsp, 0x98
ret
Function at 0x1802922d0
Capabilities:
Create thread
Resume thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov ecx, 0x68
call fcn.18017dc14
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180292349
mov rax, qword [rsp + 0x38]
mov rcx, rax
call fcn.180073cf0
nop
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov rcx, rax
call fcn.180073cf0
nop
mov rax, qword [rsp + 0x38]
add rax, 0x40
mov rcx, rax
call fcn.180073040
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
jmp 0x180292352
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1800aac90
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call fcn.1800aac90
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x60], ecx
cmp qword [rsp + 0xa0], 0
je 0x1802923db
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180073420
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x60]
bts eax, 0x12
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x60], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, qword [rsp + 0x30]
lea r8, [0x180292490]
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180292436
lea rax, [0x1803bb398]
lock inc dword [rax]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180292476
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180292468
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.18010cbc0
mov qword [rsp + 0x60], rax
jmp 0x180292471
mov qword [rsp + 0x60], 0
mov eax, 0xff
add rsp, 0x88
ret
Function at 0x180293a30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x38
cmp dword [0x1803bac44], 0
jne 0x180293a41
xor eax, eax
jmp 0x180293a85
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180293a80
mov edx, 0x14
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x180294c0c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x38
cmp dword [0x1803bac44], 0
jne 0x180294c1d
xor eax, eax
jmp 0x180294c61
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180294c5c
mov edx, 0x14
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x1803bac44]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180294da8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x180299e0c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x28], 0
mov rcx, qword [rsp + 0x40]
call fcn.180299ec8
mov dword [rsp + 0x20], 0
jmp 0x180299e59
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jae 0x180299ebb
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
jmp 0x180299e7f
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 8
jge 0x180299ea5
mov eax, dword [rsp + 0x24]
shr eax, 1
mov ecx, dword [rsp + 0x24]
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x180299e75
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*4 + 0x8c], edx
jmp 0x180299e4f
add rsp, 0x38
ret
Function at 0x1802a19a8
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1048
call fcn.1801907a0
sub rsp, rax
call fcn.1800ec270
mov dword [rsp + 0x20], 8
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1060]
call fcn.1802a1c88
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1802a1a06
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x1802a1a15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1802a1a2c
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1058
call fcn.1801907a0
sub rsp, rax
call fcn.1800ec270
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1070]
call fcn.1802a2aa8
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1802a1a94
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x1802a1aa3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1802a1c30
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1800ec270
xor r9d, r9d
lea r8, [0x1803ac6a4]
lea rdx, [0x1803abaf0]
xor ecx, ecx
call fcn.1801dc820
jmp 0x1802a1c74
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]