joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029b30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x210
cmp dword [0x140129c90], 0
mov rdi, rdx
mov rbx, rcx
jne 0x140029b73
lea r9, [0x140129c94]
mov dword [0x140129c90], 1
xor r8d, r8d
lea rdx, str.Debug_Memory
lea rcx, str.Internal
call fcn.14002d500
cmp dword [0x140129c94], 0
je 0x140029c59
test rdi, rdi
je 0x140029ba6
cmp byte [rdi], 0
je 0x140029ba6
mov r9, rdi
lea rdx, str._s___s_
mov r8, rbx
lea rcx, [rsp + 0x110]
call fcn.140026220
jmp 0x140029be0
lea rcx, [rsp + 0x110]
mov edx, 0xff
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
je 0x140029be0
sub rdx, 1
jne 0x140029bc0
mov byte [rcx], dl
nop dword [rax]
cmp dword [0x140129f3c], 0
jne 0x140029c30
mov dword [rsp + 0x38], 0x11111111
lea rdx, [rsp + 0x110]
xor r9d, r9d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov ecx, 0x8511007f
mov byte [rsp + 0x20], 1
lea r8d, [r9 - 3]
call fcn.14002c7f0
mov rbx, qword [rsp + 0x220]
add rsp, 0x210
pop rdi
ret
lea r8, [rsp + 0x110]
mov byte [rsp + 0x40], 0
lea rdx, str.Storm_Error_:_handle_never_released_____s_n
lea rcx, [rsp + 0x40]
call fcn.140026250
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rsp + 0x220]
add rsp, 0x210
pop rdi
ret

Function at 0x14002a0c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x40], r14
movabs r8, 0x800000000000003f
movabs r14, 0x7fffffffffffffff
mov rax, r8
mov qword [rcx + 0x10], r8
and rax, r14
mov rbp, rdx
mov rbx, rcx
cmp rdi, rax
jbe 0x14002a1c9
shr r8, 1
movabs rcx, 0x3fffffffffffffff
and r8, rcx
mov r9d, 0x811c9dc5
add r8, rax
movabs rcx, 0x8000000000000000
cmp r8, rdi
cmovb r8, rdi
mov rax, r8
or rax, rcx
lea rcx, [0x1401262a1]
mov qword [rbx + 0x10], rax
movzx eax, byte [0x1401262a0]
test eax, eax
je 0x14002a166
nop
xor eax, r9d
lea rcx, [rcx + 1]
imul r9d, eax, 0x1000193
movzx eax, byte [rcx - 1]
test eax, eax
jne 0x14002a150
lea rcx, [r8 + 1]
mov dword [rsp + 0x28], 0
lea r8, [0x1401262a0]
mov dword [rsp + 0x20], 0xfffffffa
mov edx, ntohs
call fcn.140025e30
mov r8, qword [rbx + 8]
mov rsi, rax
add r8, 1
je 0x14002a1a3
mov rdx, qword [rbx]
mov rcx, rax
call fcn.1400bddc0
cmp qword [rbx + 0x10], 0
jl 0x14002a1c0
mov rcx, qword [rbx]
lea rdx, [0x1401262a0]
xor r9d, r9d
lea r8d, [r9 - 6]
call fcn.140025f00
and qword [rbx + 0x10], r14
mov qword [rbx], rsi
jmp 0x14002a1cc
mov rsi, qword [rcx]
mov r14, qword [rsp + 0x40]
test rdi, rdi
je 0x14002a1e4
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400bddc0
mov rax, qword [rbx]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov byte [rdi + rax], 0
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002a330
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x140
mov qword [rax + 0x18], rdi
lea rdx, [rsp + 0x20]
mov qword [rax - 0x10], r14
mov r8d, 0x103
mov qword [rax - 0x18], r15
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
je 0x14002a380
sub r8, 1
jne 0x14002a360
mov byte [rdx], r8b
nop word [rax + rax]
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.1400bead0
mov edx, 0x2f
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.1400bead0
cmp rbx, rax
mov r15, rax
mov rdi, 0xffffffffffffffff
cmova r15, rbx
mov ebx, 1
lea r14d, [rbx + 1]
test r15, r15
je 0x14002a47a
movzx ecx, byte [rsp + 0x20]
cmp cl, 0x2f
jne 0x14002a3d5
mov eax, ebx
jmp 0x14002a463
mov qword [rsp + 0x158], rsi
lea rax, [rsp + 0x20]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x14002a3e5
cmp rsi, r14
jb 0x14002a459
movzx eax, byte [rsp + 0x21]
cmp al, 0x3a
jne 0x14002a40b
xor eax, eax
cmp byte [rsp + 0x22], 0x5c
sete al
add eax, r14d
jmp 0x14002a45b
cmp cl, 0x5c
jne 0x14002a459
cmp al, cl
jne 0x14002a459
mov qword [rsp + 0x150], rbp
lea rax, [rsp + 0x22]
mov rbp, r14
test rax, rax
je 0x14002a439
mov edx, 0x5c
mov rcx, rax
call fcn.1400bec0c
inc rax
sub rbp, 1
jne 0x14002a424
mov rbp, qword [rsp + 0x150]
test rax, rax
je 0x14002a455
lea rcx, [rsp + 0x20]
sub eax, ecx
jmp 0x14002a45b
mov eax, esi
jmp 0x14002a45b
xor eax, eax
mov rsi, qword [rsp + 0x158]
lea rcx, [rsp + 0x20]
add rcx, rax
cmp r15, rcx
jae 0x14002a475
mov byte [rcx], 0
jmp 0x14002a47a
mov byte [r15 + 1], 0
movzx ecx, byte [rsp + 0x20]
mov r15, qword [rsp + 0x130]
cmp cl, 0x2f
je 0x14002a4f5
lea rax, [rsp + 0x20]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14002a491
cmp rdi, r14
jb 0x14002a4f3
movzx eax, byte [rsp + 0x21]
cmp al, 0x3a
jne 0x14002a4b7
xor ebx, ebx
cmp byte [rsp + 0x22], 0x5c
sete bl
add ebx, r14d
jmp 0x14002a4f5
cmp cl, 0x5c
jne 0x14002a4f3
cmp al, cl
jne 0x14002a4f3
lea rbx, [rsp + 0x22]
test rbx, rbx
je 0x14002a4db
mov edx, 0x5c
mov rcx, rbx
call fcn.1400bec0c
lea rbx, [rax + 1]
sub r14, 1
jne 0x14002a4c5
test rbx, rbx
je 0x14002a4ef
lea rax, [rsp + 0x20]
sub ebx, eax
jmp 0x14002a4f5
mov ebx, edi
jmp 0x14002a4f5
xor ebx, ebx
mov eax, ebx
mov edx, 0x2f
lea rbx, [rsp + 0x20]
add rbx, rax
mov rcx, rbx
call fcn.1400bec0c
mov r14, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x160]
test rax, rax
je 0x14002a537
lea rcx, [rax + 1]
mov byte [rax], 0x5c
mov edx, 0x2f
call fcn.1400bec0c
test rax, rax
jne 0x14002a521
mov edx, 0x5c
mov rcx, rbx
call fcn.1400bec0c
mov rbx, rax
test rax, rax
je 0x14002a579
nop dword [rax]
xor edx, edx
mov byte [rbx], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbx + 1]
mov byte [rbx], 0x5c
mov edx, 0x5c
call fcn.1400bec0c
mov rbx, rax
test rax, rax
jne 0x14002a550
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add rsp, 0x140
pop rbx
ret
Function at 0x14002b250
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov rsi, rcx
test rcx, rcx
je 0x14002b2c7
mov rdi, rcx
lea r12, [0x140000000]
and edi, 3
lea rbp, [r12 + 0x129ca0]
lea rax, [rdi + rdi*4]
lea rbp, [rbp + rax*8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [r12 + rdi*8 + 0x129d40]
test rbx, rbx
je 0x14002b2be
cmp qword [rbx], rsi
je 0x14002b2e8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14002b2b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
lea rdx, [rbx + 0x118]
cmp qword [rdx], 0xffffffffffffffff
jne 0x14002b31e
mov r8d, dword [rbx + 0x120]
lea rcx, [rbx + 0x10]
call fcn.14002a5e0
test eax, eax
jne 0x14002b31e
mov byte [rbx + 0x10], al
lea rcx, [r12 + 0x129ca0]
lea rax, [rdi + rdi*4]
lea rcx, [rcx + rax*8]
jmp 0x14002b2c1
mov edx, 1
mov rcx, rbx
call fcn.14002a710
mov rcx, rbx
call fcn.14002a6b0
mov ecx, dword [rbx + 0x124]
mov edx, 0x10000
sub edx, ecx
mov r9, r14
add rcx, 0x134
mov r8, r15
add rcx, rbx
call fcn.14002b780
mov r8d, dword [rbx + 0x124]
mov esi, eax
mov rcx, 0xffffffffffffffff
lea rdx, [r8 + rbx]
nop dword [rax]
cmp byte [rdx + rcx + 0x135], 0
lea rcx, [rcx + 1]
jne 0x14002b370
lea eax, [rcx + r8]
mov dword [rbx + 0x124], eax
mov ecx, eax
movzx eax, word [0x1400df464]
mov word [rcx + rbx + 0x134], ax
movzx eax, byte [0x1400df466]
mov byte [rcx + rbx + 0x136], al
add dword [rbx + 0x124], 2
cmp dword [0x140129f40], 0
je 0x14002b3cd
mov ecx, dword [rbx + 0x128]
add rcx, 0x134
add rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [rbx + 0x124]
mov dword [rbx + 0x128], eax
cmp eax, 0xc000
jb 0x14002b3e8
mov rcx, rbx
call fcn.14002a590
lea rax, [rdi + rdi*4]
lea rcx, [r12 + 0x129ca0]
lea rcx, [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x14002b2c9
Function at 0x14002b410
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
lea r12, [rsp + 0x70]
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x14002b487
mov rsi, rcx
lea r15, [0x140000000]
and esi, 3
lea rbp, [r15 + 0x129ca0]
lea rax, [rsi + rsi*4]
lea rbp, [rbp + rax*8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [r15 + rsi*8 + 0x129d40]
test rbx, rbx
je 0x14002b47e
cmp qword [rbx], rdi
je 0x14002b498
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14002b470
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, [rbx + 0x118]
cmp qword [rdx], 0xffffffffffffffff
jne 0x14002b4cd
mov r8d, dword [rbx + 0x120]
lea rcx, [rbx + 0x10]
call fcn.14002a5e0
test eax, eax
jne 0x14002b4cd
mov byte [rbx + 0x10], al
lea rcx, [r15 + 0x129ca0]
lea rax, [rsi + rsi*4]
lea rcx, [rcx + rax*8]
jmp 0x14002b481
mov edx, 1
mov rcx, rbx
call fcn.14002a710
mov rcx, rbx
call fcn.14002a6b0
mov ecx, dword [rbx + 0x124]
mov edx, 0x10000
sub edx, ecx
mov r9, r12
add rcx, 0x134
mov r8, r14
add rcx, rbx
call fcn.14002b780
mov edx, dword [rbx + 0x124]
mov edi, eax
mov rax, 0xffffffffffffffff
lea rcx, [rdx + rbx]
nop word [rax + rax]
inc rax
cmp byte [rcx + rax + 0x134], 0
jne 0x14002b520
add eax, edx
mov dword [rbx + 0x124], eax
mov ecx, eax
movzx eax, word [0x1400df464]
mov word [rcx + rbx + 0x134], ax
movzx eax, byte [0x1400df466]
mov byte [rcx + rbx + 0x136], al
add dword [rbx + 0x124], 2
cmp dword [0x140129f40], 0
je 0x14002b57a
mov ecx, dword [rbx + 0x128]
add rcx, 0x134
add rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [rbx + 0x124]
mov dword [rbx + 0x128], ecx
cmp ecx, 0xc000
jb 0x14002b596
mov rcx, rbx
call fcn.14002a590
lea rcx, [rsi + rsi*4]
lea rcx, [rcx*8 + 0x129ca0]
add rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002cb70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov ebx, 0x100
mov eax, 0x200
test ebx, r9d
mov rsi, r8
mov rdi, rcx
cmove ebx, eax
or ebx, 0x20019
cmp dword [0x140129f48], 0
jne 0x14002cc0b
lea rax, [rsp + 0x30]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002ccc0
mov rcx, qword [rsp + 0x288]
xor r8d, r8d
mov eax, dword [rsp + 0x280]
mov rdx, rsi
mov r9, qword [rsp + 0x270]
mov qword [rsp + 0x28], rcx
mov dword [rcx], eax
mov rax, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x14002ccb1
xor ebp, ebp
lea rcx, [rsp + 0x38]
mov r8, rdx
mov qword [rsp + 0x28], rbp
mov r9d, 0x7fffffff
mov qword [rsp + 0x20], rbp
mov edx, 0x104
call fcn.14002b9c0
lea rax, [rsp + 0x30]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002ccc0
mov eax, dword [rsp + 0x280]
lea rcx, [rsp + 0x38]
mov rbx, qword [rsp + 0x288]
mov r9d, 0x7fffffff
mov qword [rsp + 0x28], rbp
mov r8, rsi
mov edx, 0x104
mov qword [rsp + 0x20], rbp
mov dword [rbx], eax
call fcn.14002b9c0
mov rax, qword [rsp + 0x278]
lea rdx, [rsp + 0x38]
mov r9, qword [rsp + 0x270]
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002cdf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov ebp, r8d
mov rsi, r9
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov ebx, edx
mov rdi, rcx
call fcn.14002caa0
test bl, 4
lea rax, [rsp + 0x40]
mov ebx, 0
mov qword [rsp + 0x20], rax
mov ecx, ebx
lea rdx, [rsp + 0x50]
setne cl
xor r8d, r8d
add rcx, 0xffffffff80000001
lea r9d, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14002ce65
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002ceee
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x288]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x160]
mov qword [rsp + 0x28], rbx
mov edx, ebp
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x288], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002cec3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002ceee
mov edx, dword [rsp + 0x2a0]
lea rax, [rsp + 0x160]
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8, [0x1400de318]
mov rcx, rsi
call fcn.14002b6f0
mov eax, 1
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002cf10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov esi, r8d
mov rdi, r9
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov ebx, edx
call fcn.14002caa0
test bl, 4
lea rax, [rsp + 0x40]
mov ebx, 0
mov qword [rsp + 0x20], rax
mov ecx, ebx
lea rdx, [rsp + 0x50]
setne cl
xor r8d, r8d
add rcx, 0xffffffff80000001
lea r9d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14002cf7a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002cfd8
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x190]
mov rax, qword [rsp + 0x198]
mov r8, rdi
mov qword [rsp + 0x30], rax
mov edx, esi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002cfd3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002cfd8
mov eax, 1
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14002cff0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x170
mov rdi, r8
xor esi, esi
mov dword [r8], esi
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov ebx, edx
call fcn.14002caa0
mov ecx, esi
lea rax, [rsp + 0x190]
test bl, 4
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
setne cl
lea rdx, [rsp + 0x60]
add rcx, 0xffffffff80000001
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14002d05a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002d0ce
mov rcx, qword [rsp + 0x190]
lea rax, [rsp + 0x188]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov rcx, qword [rsp + 0x190]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002d0c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002d0ce
mov ecx, dword [rsp + 0x188]
mov eax, 1
mov dword [rdi], ecx
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140033770
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x948]
test rcx, rcx
je 0x14003379a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rax + 8]
jmp 0x1400337a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140159438], rax
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400337b0
mov eax, 0x923
lea rsi, [0x140158ae0]
cmp rbx, rax
mov rdx, rdi
mov rcx, rsi
cmova rbx, rax
mov r8, rbx
call fcn.1400bddc0
mov byte [rbx + rsi], 0
cmp byte [rdi + 0x968], 0
je 0x1400338bb
xor edi, edi
lea r8, [0x140033510]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov edx, 0x10000
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14003382c
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003387d
lea r8, [rsp + 0x40]
mov edx, 0x10000
lea rcx, [0x1400334b0]
call fcn.1400c9708
cmp rax, 0xffffffffffffffff
je 0x140033872
mov rcx, qword [rsp + 0x40]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], rdi
lea r8, [0x1400334a0]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 0x10000
xor ecx, ecx
call fcn.1400c97d8
mov rbx, rax
test rax, rax
je 0x1400338bb
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400340f0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x3b0
mov rsi, r9
lea rax, [rax + 0x10]
mov rbp, r8
mov qword [rsp + 0x20], rax
mov rbx, rdx
lea r8, [rsp + 0x50]
mov rdx, qword [rdx + 0x18]
mov r9d, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140034300
cmp qword [rsp + 0x3c8], 0x40
jne 0x140034300
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x140034300
movsxd rdx, dword [rsp + 0x8c]
lea rax, [rsp + 0x3c8]
add rdx, qword [rbx + 0x18]
lea r8, [rsp + 0x90]
mov r9d, 0x108
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140034300
cmp qword [rsp + 0x3c8], 0x108
jne 0x140034300
cmp dword [rsp + 0x90], 0x4550
jne 0x140034300
movzx eax, word [rsp + 0xa8]
cmp eax, 0x10b
je 0x14003426f
cmp eax, 0x20b
jne 0x140034300
movsxd rdx, dword [rsp + 0x8c]
lea rax, [rsp + 0x3c8]
add rdx, qword [rbx + 0x18]
lea r8, [rsp + 0x2a0]
mov r9d, 0x108
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140034300
cmp qword [rsp + 0x3c8], 0x108
jne 0x140034300
mov rax, qword [rsp + 0x3f8]
lea r8, [rsp + 0x2a0]
mov qword [rsp + 0x40], rax
mov r9, rbp
mov rax, qword [rsp + 0x3f0]
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.140032ea0
jmp 0x140034300
movsxd rdx, dword [rsp + 0x8c]
lea rax, [rsp + 0x3c8]
add rdx, qword [rbx + 0x18]
lea r8, [rsp + 0x1a0]
mov r9d, 0xf8
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140034300
cmp qword [rsp + 0x3c8], 0xf8
jne 0x140034300
mov rax, qword [rsp + 0x3f8]
lea r8, [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
mov r9, rbp
mov rax, qword [rsp + 0x3f0]
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.140033150
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140034380
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d32c8]
mov edx, 0x6220
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140159c80], eax
jg 0x1400343d7
lea rax, [0x140159c40]
add rsp, 0x20
pop rbp
ret
lea rcx, [0x1400db820]
call fcn.1400bd1c8
lea rcx, [0x140159c80]
call fcn.1400bd304
mov rax, rbp
add rsp, 0x20
pop rbp
ret
lea rcx, [0x140159c80]
call fcn.1400bd364
cmp dword [0x140159c80], 0xffffffff
jne 0x1400343a9
lea rbp, [0x140159c40]
mov rcx, rbp
call fcn.1400b80d0
xor eax, eax
lea rcx, str.dbghelp.dll
mov qword [0x140159c48], rax
mov qword [0x140159c50], rax
mov qword [0x140159c58], rax
mov qword [0x140159c60], rax
mov qword [0x140159c68], rax
mov qword [0x140159c70], rax
mov qword [0x140159c78], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140159c48], rax
test rax, rax
je 0x1400343b6
mov qword [rsp + 0x30], rbx
lea rdx, str.SymInitializeW
mov qword [rsp + 0x38], rsi
mov rcx, rax
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.SymSetOptions
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.SymGetOptions
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.MiniDumpWriteDump
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.SymFromAddrW
mov qword [0x140159c50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.SymGetLineFromAddrW64
mov qword [0x140159c58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.StackWalkEx
mov qword [0x140159c60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.SymFunctionTableAccess64
mov qword [0x140159c68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140159c48]
lea rdx, str.SymGetModuleBase64
mov qword [0x140159c70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140159c78], rax
call rbx
or eax, 0x16
mov ecx, eax
call rdi
mov rcx, qword [0x140159438]
xor edx, edx
lea r8d, [rdx + 1]
call rsi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jmp 0x1400343b6