joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007ba58
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r15, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov ebx, dword [rcx + r8 + 0x88]
add rbx, r8
cmp rbx, r8
je 0x18007baff
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x18007baff
mov esi, dword [rbx + 0x20]
dec r10d
mov edi, 0x353b65d1
lea rcx, [rsi + r10*4]
mov r9d, dword [rcx + r8]
add r9, r8
mov r11b, byte [r9]
inc r9
test r11b, r11b
je 0x18007bafa
movsx ecx, r11b
sub r11b, 0x41
mov edx, ecx
or edx, 0x20
cmp r11b, 0x19
mov r11b, byte [r9]
cmova edx, ecx
inc r9
xor edx, edi
imul edi, edx, 0x1000193
test r11b, r11b
jne 0x18007bacb
cmp edi, 0x392ff21
je 0x18007bb04
test r10d, r10d
jne 0x18007baad
mov rax, qword [rax]
jmp 0x18007ba89
mov ecx, dword [rbx + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r8
xor ecx, ecx
xor r8d, r8d
call rax
mov rcx, 0xffffffffffffffff
lea r12, [rax + 1]
mov eax, 2
mul r12
cmovo rax, rcx
mov rcx, rax
call fcn.180047714
mov rcx, qword gs:[0x60]
mov rbp, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18007bbca
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18007bbca
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x6fdfa042
lea rax, [r14 + r11*4]
mov r8d, dword [rax + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18007bbc5
movsx eax, bl
sub bl, 0x41
mov edx, eax
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, eax
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18007bb9a
cmp edi, 0xe3606336
je 0x18007bbcf
test r11d, r11d
jne 0x18007bb7d
mov rcx, qword [rcx]
jmp 0x18007bb58
mov ecx, dword [r10 + 0x24]
mov r8, r12
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r9
mov rcx, rbp
call rax
mov rbx, qword [rsp + 0x40]
mov rax, rbp
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
Function at 0x18009d07c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18009d197
movabs rax, 0xe5f940e957fbf1bb
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x9a4460a22fb66737
mov qword [r11 - 0x20], rax
movabs rax, 0x928b2faf2e9f9ef9
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x9a4460a22fd21556
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x18009d10e
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18009d103
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x18009d154
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x18009d120
mov rax, qword [0x1800c4508]
test rax, rax
jne 0x18009d17b
call fcn.1800471ac
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.1800232b8
mov qword [0x1800c4508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.180046650
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009d1a8
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.1800a0964
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18009d2d7
movabs rax, 0xfaec46fd57fbf1bb
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x9a4460a22fd21522
mov qword [r11 - 0x20], rax
movabs rax, 0x928b2faf2e9f9ef9
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x9a4460a22fd21556
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x18009d24e
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18009d243
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x18009d294
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x18009d260
mov rax, qword [0x1800c4508]
test rax, rax
jne 0x18009d2bb
call fcn.1800471ac
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.1800232b8
mov qword [0x1800c4508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.180046650
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009d2e8
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.1800a0964
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18009e2f4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18009e40f
movabs rax, 0xe5f940e94afefbb1
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x9a4460a22fb66737
mov qword [r11 - 0x20], rax
movabs rax, 0x928b2faf2e9f9ef9
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x9a4460a22fd21556
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x18009e386
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18009e37b
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x18009e3cc
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x18009e398
mov rax, qword [0x1800c4508]
test rax, rax
jne 0x18009e3f3
call fcn.1800471ac
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.1800232b8
mov qword [0x1800c4508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.180046650
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009e420
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.1800a0964
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
lea rax, [rcx - 0x10000]
movabs rdx, 0x7ffffffeffff
cmp rax, rdx
ja 0x1800a28c5
mov rax, qword [rcx]
xor r9d, r9d
test rax, rax
je 0x1800a28c5
mov rbx, qword [rax + 0x10]
mov r10d, r9d
cmp byte [rbx], r9b
je 0x1800a2877
inc r10
cmp byte [r10 + rbx], r9b
jne 0x1800a286e
movabs r11, 0xcbf29ce484222325
test r10, r10
je 0x1800a28c0
mov al, byte [r9 + rbx]
movzx ecx, byte [r9 + rbx]
add al, 0x20
mov r8b, byte [r9 + rbx]
sub r8b, 0x41
movzx edx, al
cmp r8b, 0x19
movabs rax, 0x100000001b3
cmova edx, ecx
inc r9
imul r11, rax
movsx rcx, dl
xor r11, rcx
cmp r9, r10
jb 0x1800a2886
mov rax, r11
jmp 0x1800a28c7
xor eax, eax
mov rbx, qword [rsp + 8]
ret
Function at 0x1800a3040
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rbp, rcx
cmp edx, 1
jne 0x1800a31de
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800a30e8
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x1800a30e8
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0x81a47897
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x1800a30e3
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800a30b8
cmp edi, 0x2cc0a151
je 0x1800a30ed
test r10d, r10d
jne 0x1800a309b
mov rax, qword [rax]
jmp 0x1800a3076
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r8
call rax
mov rax, qword [0x1800c4a70]
test rax, rax
jne 0x1800a31c3
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800a319e
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x1800a319e
mov r14d, dword [r9 + 0x20]
dec r11d
mov esi, 0x1b75c6a3
lea rcx, [r14 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov bl, byte [r10]
inc r10
test bl, bl
je 0x1800a3199
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r10]
cmova edx, ecx
inc r10
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x1800a316e
cmp esi, 0x13d5defb
je 0x1800a31a3
test r11d, r11d
jne 0x1800a3151
mov rax, qword [rax]
jmp 0x1800a312c
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1800c4a70], rax
and qword [rsp + 0x28], 0
lea r8, [0x1800a302c]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
xor byte [rdi], bh
fcomp dword [rcx]
invalid
Function at 0x401ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00482624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x401c58
mov rax, qword [0x00482628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401b1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401ba5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401b00
mov rcx, rbx
call fcn.00402770
test rax, rax
mov r12, rax
je 0x401c8d
mov rax, qword [0x00482628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.004028a0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00482628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401c70
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401b9e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401c00
add dword [0x00482624], 1
cmp edi, 8
jae 0x401bd3
test dil, 4
jne 0x401c44
test edi, edi
je 0x401bc8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401c5f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x401bc8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x401bec
jmp 0x401bc8
add rsi, qword [0x00482628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401b9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00402c50
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401bc8
xor esi, esi
jmp 0x401b27
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401bc8
mov rax, qword [0x00482628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00402c50
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00402c50
nop
nop dword [rax]

Function at 0x4023e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00482900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004828e0]
test rbx, rbx
je 0x402434
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40242b
test rsi, rsi
je 0x40242b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402410
lea rcx, [0x00482900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x402770
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0047f340]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4027dd
mov rcx, r8
call fcn.00402650
test eax, eax
je 0x4027dd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4027dd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4027d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4027df
add rax, 0x28
cmp rax, r9
jne 0x4027c0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402c50
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00402b20
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00402b20
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x180003d60
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x1800343a3], 0
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jne 0x180003e0e
nop dword [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x180003d8d
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
xor r9d, r9d
mov rcx, qword [0x180034550]
call qword [sym.imp.WS2_32.dll_send]
inc eax
cmp eax, 1
ja 0x180003dbe
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1800343a3], 0
je 0x180003d80
jmp 0x180003e0e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180003df4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180003def
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003e62
mov rcx, r8
call fcn.18000926c
mov qword [rbx + 0x10], 0
mov eax, 1
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
jmp 0x180003e5c
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180003e44
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180003e3f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003e62
mov rcx, r8
call fcn.18000926c
mov qword [rbx + 0x10], 0
mov eax, 1
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
add rsp, 0x30
pop rbx
ret
call fcn.180011840
int3
Function at 0x40b620
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov rdx, qword [rsp + 0x198]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x40b746
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x130], eax
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int____ptr64]
nop
lea rax, [rsp + 0x30]
test rax, rax
je 0x40b6a8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x160], rax
jmp 0x40b6b4
mov qword [rsp + 0x160], 0
lea rdx, str.Failed_int_GetProcAddress__last_error_
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.msvcp60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64__char_const____ptr64_]
mov edx, dword [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rdx, qword [sym.imp.msvcp60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void____ptr64]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.msvcp60.dll_public:_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void____ptr64]
mov rax, qword [rsp + 0x20]
add rsp, 0x188
ret
Function at 0x40b7b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov qword [rsp + 0x180], 0xfffffffffffffffe
mov dword [rsp + 0x178], 0
lea rax, [rsp + 0x174]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x174]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const____ptr64____ptr64]
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [str.SOFTWAREATI_TechnologiesLog]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b869
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov eax, dword [rsp + 0x178]
or eax, 1
mov dword [rsp + 0x178], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rax, qword [rsp + 0x1a8]
jmp 0x40b8fe
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x170], 0x104
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [str.Location]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40b8c6
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call qword [reloc.msvcp60.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov eax, dword [rsp + 0x178]
or eax, 1
mov dword [rsp + 0x178], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rax, qword [rsp + 0x1a8]
add rsp, 0x190
pop rdi
ret