joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400157a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
mov dword [rbp - 0x10], 0x61657243
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], 0x69466574
xor edx, edx
mov dword [rbp - 8], 0x57656c
call fcn.140012b10
mov rcx, rbx
mov r10, rax
call fcn.1400129f0
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call r10
xor edx, edx
mov dword [rbp - 0x10], 0x46746547
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], 0x53656c69
mov rsi, rax
mov dword [rbp - 8], 0x657a69
call fcn.140012b10
xor edx, edx
mov rcx, rsi
call rax
mov edx, eax
mov r8d, 4
mov ebx, eax
call fcn.140012ce0
xor edx, edx
mov dword [rbp - 0x10], 0x64616552
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], 0x656c6946
mov rdi, rax
mov byte [rbp - 8], 0
call fcn.140012b10
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call rax
mov dword [rbp + 0x18], 0x6c43744e
lea rcx, [rbp + 0x18]
mov dword [rbp + 0x1c], 0x65736f
xor edx, edx
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x18], rax
call fcn.140012b10
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x140016c2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016c76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016c76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016c76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016c76
cmp dword [rcx + 0x84], 0xe
jbe 0x140016c76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016c78
xor al, al
add rsp, 0x28
ret
Function at 0x1403d3750
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1403d375d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1403d376d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1403d3755
lea eax, [rcx + 1]
jmp 0x1403d377b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1403d378e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1403d3774
sub eax, 3
jb 0x1403d37ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1403d37fd
sar eax, 1
movsxd rbp, eax
jb 0x1403d37e4
jmp 0x1403d37bc
add ebx, ebx
jne 0x1403d37ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403d37e4
inc ecx
add ebx, ebx
jne 0x1403d37ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403d37e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1403d37dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1403d37cc
add ecx, 2
jmp 0x1403d37e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1403d3712
jmp 0x1403d375d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x79a00
mov dl, 0x17
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1403d3849
cmp rsi, rcx
jae 0x1403d3851
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1403d3830
cmp al, 0x8f
ja 0x1403d3830
cmp byte [rsi - 2], 0xf
je 0x1403d3836
sub al, 0xe8
cmp al, 1
ja 0x1403d381a
cmp rsi, rcx
jae 0x1403d3851
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1403d3820
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1403d3851
lodsb al, byte [rsi]
jmp 0x1403d3830
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3cf000]
mov eax, dword [rdi]
or eax, eax
je 0x1403d38ae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3dd18c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1403d385e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1403d38a8
mov qword [rbx], rax
add rbx, 8
jmp 0x1403d387e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1403d38e8
cmp al, 0xef
ja 0x1403d38da
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1403d38ba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1403d38c9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1403d3967], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1403d3967
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1403d3957
sub rsp, 0xffffffffffffff80
jmp 0x1400013d0
Function at 0x140004300
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov rbp, r8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400043d3
mov ecx, dword [rsp + 0x34]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x14000435e
cmp ecx, 7
jne 0x1400043d3
mov ecx, dword [rsp + 0x30]
inc ecx
call fcn.1400ace58
mov rbx, rax
test rax, rax
je 0x1400043d3
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov rdx, rsi
mov rcx, rdi
mov byte [r8 + rax], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete dil
test eax, eax
jne 0x1400043c5
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1400043b0
mov rdx, rbx
mov rcx, rbp
call fcn.140004c30
mov rcx, rbx
call fcn.1400ace14
movzx eax, dil
jmp 0x1400043d5
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400043f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
mov qword [rcx], rdx
mov qword [r11 - 0x20], rsi
lea rbx, [rcx + 0x10]
mov qword [r11 - 0x28], rsi
mov rdi, rcx
mov qword [r11 - 0x30], rsi
mov rax, rdx
mov qword [r11 - 0x38], rbx
xor r9d, r9d
mov qword [rcx + 8], rsi
xor r8d, r8d
lea rcx, [r11 - 0x18]
mov dword [rbx], esi
mov qword [r11 - 0x40], rcx
xor edx, edx
mov qword [r11 - 0x48], rsi
mov rcx, rax
mov qword [r11 - 0x50], rsi
mov qword [r11 - 0x58], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [rbx]
inc ecx
mov dword [rbx], ecx
test eax, eax
je 0x140004475
mov rcx, qword [rdi + 8]
mov dword [rdi + 0x10], esi
call fcn.1400ace14
mov qword [rdi + 8], rsi
jmp 0x14000447e
call fcn.1400ace58
mov qword [rdi + 8], rax
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140006620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140006692
cmp byte [rcx + 0x50], dl
jne 0x14000676b
mov rdx, qword [str.Failed_to_open_file]
mov r8, 0xffffffffffffffff
mov byte [rcx + 0x50], 1
mov dword [rcx + 0x54], 2
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140006670
add rcx, 0x58
call fcn.1400054b0
xor al, al
mov qword [rbx + 0x64], 0xffffffffffffffff
jmp 0x1400067d2
call fcn.140005d40
xor edx, edx
mov qword [rbx + 8], 0xffffffffffffffff
mov rcx, rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
movsxd rbp, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test ebp, ebp
jg 0x1400066fc
cmp byte [rbx + 0x50], 0
jne 0x14000676b
mov rdx, qword [str.Error_document_empty.]
mov r8, 0xffffffffffffffff
mov byte [rbx + 0x50], 1
mov dword [rbx + 0x54], reloc.WS2_32.dll_inet_ntoa
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400066f0
jmp 0x14000675a
lea eax, [rbp + 1]
movsxd rcx, eax
call fcn.1400ace58
mov r9, rsi
mov r8d, 1
mov rdx, rbp
mov rcx, rax
mov rdi, rax
mov byte [rax], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x14000676f
mov rcx, rdi
call fcn.1400ace14
cmp byte [rbx + 0x50], 0
jne 0x14000676b
mov rdx, qword [str.Failed_to_open_file]
mov r8, 0xffffffffffffffff
mov byte [rbx + 0x50], 1
mov dword [rbx + 0x54], 2
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140006750
lea rcx, [rbx + 0x58]
call fcn.1400054b0
mov qword [rbx + 0x64], 0xffffffffffffffff
xor al, al
jmp 0x1400067d2
mov byte [rbp + rdi], 0
mov rax, rdi
movzx ecx, byte [rdi]
mov rdx, rdi
test cl, cl
je 0x1400067ab
mov r9, rax
lea r8, [rdx + 1]
inc rax
cmp cl, 0xd
jne 0x14000679f
mov byte [rdx], 0xa
cmp byte [rax], 0xa
cmovne rax, r9
inc rax
jmp 0x1400067a1
mov byte [rdx], cl
movzx ecx, byte [rax]
mov rdx, r8
test cl, cl
jne 0x140006781
mov byte [rdx], 0
mov r9d, 1
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rdi
call fcn.1400ace14
cmp byte [rbx + 0x50], 0
sete al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000b0f0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14000b13e
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
call fcn.1400e5a00
test ebx, ebx
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x50]
jne 0x14000b153
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x40
pop rdi
ret
lea rdx, [0x14013e858]
lea rcx, [rsp + 0x20]
call fcn.14000af10
int3
Function at 0x14000b750
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3a8]
sub rsp, 0x4a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor esi, esi
mov dword [rsp + 0x60], esi
mov ebx, esi
mov qword [rsp + 0x78], rbx
mov edi, 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], si
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREASUSArmouryDevice
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b832
mov dword [rsp + 0x60], 0x400
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Installation_location
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b832
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000b810
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140004a60
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
mov dword [rsp + 0x60], 1
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140014540
lea rdx, [rsp + 0x68]
cmp rdi, 8
cmovae rdx, qword [rsp + 0x68]
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.140012db0
mov r8d, Ordinal_41
lea rdx, str.dllArmourySocketServerAURAChecker.dll
lea rcx, [rsp + 0x30]
call fcn.140012db0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400049f0
test rbx, rbx
jne 0x14000b901
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x14000b8eb
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rsp + 0x58], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x14000b8e4
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
lea rdx, str.Load_AURAChecker.dll_fail
mov rcx, rbx
call fcn.14002d1d0
xor bl, bl
jmp 0x14000b923
lea rdx, str.RegisterEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a4e38], rax
lea rcx, [0x14000b4f0]
call rax
mov bl, 1
lea rcx, [rsp + 0x68]
call fcn.1400049f0
movzx eax, bl
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000b960
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3d8]
sub rsp, 0x4d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], eax
movdqa xmm0, xmmword [0x140147820]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bx
mov dword [rsp + 0x30], 1
mov rdx, qword [0x140194458]
add rdx, 6
lea rcx, [rsp + 0x58]
call fcn.140014540
lea rdx, [0x140194448]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x140194448]
mov r8, qword [0x140194458]
lea rcx, [rsp + 0x58]
call fcn.140012db0
lea r8d, [rbx + 6]
lea rdx, str._view_
lea rcx, [rsp + 0x58]
call fcn.140012db0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000ba38
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140012db0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x30], 3
mov r8d, recv
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.140012db0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.1400136c0
lea rcx, [rsp + 0x38]
call fcn.1400049f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400049f0
nop
lea rcx, [rsp + 0x58]
call fcn.1400049f0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
lea r9, [rbp - 0x58]
lea r8, [0x14013eab0]
lea rdx, str.ForceLoading
lea rcx, str.ArmourySDK
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x58]
lea rdx, str.true
nop word [rax + rax]
movzx eax, word [rcx + rbx*2]
inc rbx
cmp ax, word [rdx + rbx*2 - 2]
jne 0x14000bb50
cmp rbx, 5
jne 0x14000bb30
mov rcx, rdi
call fcn.1400049f0
mov al, 1
jmp 0x14000bb5a
mov rcx, rdi
call fcn.1400049f0
xor al, al
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000bb80
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3d8]
sub rsp, 0x4d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], eax
movdqa xmm0, xmmword [0x140147820]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bx
mov dword [rsp + 0x30], 1
mov rdx, qword [0x140194458]
add rdx, 6
lea rcx, [rsp + 0x58]
call fcn.140014540
lea rdx, [0x140194448]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x140194448]
mov r8, qword [0x140194458]
lea rcx, [rsp + 0x58]
call fcn.140012db0
lea r8d, [rbx + 6]
lea rdx, str._view_
lea rcx, [rsp + 0x58]
call fcn.140012db0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000bc58
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140012db0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x30], 3
mov r8d, recv
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.140012db0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.1400136c0
lea rcx, [rsp + 0x38]
call fcn.1400049f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400049f0
nop
lea rcx, [rsp + 0x58]
call fcn.1400049f0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
lea r9, [rbp - 0x58]
lea r8, [0x14013eab0]
lea rdx, [0x14013eb00]
lea rcx, str.ArmourySDK
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x58]
lea rdx, str.false
nop word [rax + rax]
movzx eax, word [rcx + rbx*2]
inc rbx
cmp ax, word [rdx + rbx*2 - 2]
jne 0x14000bd70
cmp rbx, 6
jne 0x14000bd50
mov rcx, rdi
call fcn.1400049f0
xor al, al
jmp 0x14000bd7a
mov rcx, rdi
call fcn.1400049f0
mov al, 1
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000e2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x4c0], rbx
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov qword [rbp - 0x80], 0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x70], 0x200
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x14013eec0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000e381
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.debug
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x80]
test eax, eax
jne 0x14000e37b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rbp - 0x80], rcx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, word [rbp - 0x60]
movzx eax, word [0x14013ef2c]
sub ecx, eax
jne 0x14000e39d
movzx ecx, word [rbp - 0x5e]
movzx eax, word [0x14013ef2e]
sub ecx, eax
xor ebx, ebx
test ecx, ecx
sete bl
test ecx, ecx
je 0x14000e4b3
mov dword [rbp - 0x6c], 4
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14013ef30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e4a9
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14013ef80]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e4a9
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.14000a630
nop
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, str.EnableLog_
xor edx, edx
mov rcx, rax
call fcn.140014710
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x30]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x58]
call fcn.140004bd0
xor ebx, ebx
cmp dword [rsp + 0x78], ebx
setg bl
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x4b0
pop rbp
ret
Function at 0x14000e4e0
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x68]
sub rsp, 0x160
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea r8, str.dllArmourySocketServerArmouryHtmlDebugServer.exe
lea rdx, [0x140194448]
lea rcx, [rbp - 0x48]
call fcn.140013560
nop
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rbx, qword [rbp - 0x48]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x20], Ordinal_110
mov dword [rbp + 0x1c], 1
xor edi, edi
mov word [rbp + 0x20], di
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000e663
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14000a630
nop
lea r9d, [rdi + 0x3a]
lea r8, str.Create_ArmouryHtmlDebugServer_process_failed._Error_code:
xor edx, edx
mov rcx, rax
call fcn.140014710
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
lea rdi, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdi, qword [rsp + 0x50]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x14000e63c
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rsp + 0x78], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x14000e635
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x50]
call fcn.140004bd0
nop
lea rcx, [rbp - 0x80]
call fcn.140004bd0
xor bl, bl
jmp 0x14000e694
mov rdx, qword [rbp - 0x60]
mov rcx, qword [0x1401a4d50]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea rcx, [rbp - 0x48]
call fcn.1400049f0
movzx eax, bl
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret