joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001fd20
Capabilities:
Create thread
Print debug messages

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov r14d, r8d
mov ebp, edx
mov rbx, rcx
xor eax, eax
mov qword [r11 - 0x18], rax
lea rax, [rcx + 0x78]
mov qword [r11 - 0x20], rax
mov byte [rsp + 0x40], 0
lea rcx, [r11 - 0x20]
call fcn.18002ad20
nop
mov eax, r14d
and eax, 3
cmp al, 3
jne 0x18001feb5
mov rcx, qword [rbx + 0x70]
test rcx, rcx
jne 0x18001fd8f
lea rcx, str.OnWindowStateChanged:_m_curUrl_is_NULL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18001fea8
mov eax, dword [rbx + 0x8c]
test eax, eax
je 0x18001fea8
cmp dword [rbx + 0x90], 0
je 0x18001fea8
cmp eax, 2
jne 0x18001fe82
cmp ebp, 3
jne 0x18001fe82
lea r8d, [rax + 4]
lea rdx, str.about:
call fcn.18005d174
test eax, eax
je 0x18001fea8
mov dword [rbx + 0x88], 1
lea rcx, str.notify_tab_changed_from_OnWindowStateChanged
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x508
call fcn.18004b210
mov rdi, rax
test rax, rax
je 0x18001fea8
xor edx, edx
mov r8d, 0x508
mov rcx, rax
call fcn.180050fe0
mov dword [rdi], 1
mov rcx, qword [rbx + 0x70]
call fcn.18004ac70
mov rsi, rax
test rax, rax
je 0x18001fe39
lea rcx, [rdi + 4]
mov r8, rax
mov edx, 0x400
call fcn.180049250
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ecx
mov r9, rdi
lea r8, [0x18001ff20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001fe66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001fe73
mov edx, 0x508
mov rcx, rdi
call fcn.18004b24c
test rsi, rsi
je 0x18001fea8
mov rcx, rsi
call fcn.18004b24c
jmp 0x18001fea8
cmp eax, 3
jne 0x18001fea8
cmp ebp, 2
jne 0x18001fea8
lea r8d, [rax + 3]
lea rdx, str.about:
call fcn.18005d174
test eax, eax
je 0x18001fea8
xor ecx, ecx
mov dword [rbx + 0x88], ecx
mov dword [rbx + 0x8c], ebp
mov dword [rbx + 0x90], r14d
cmp byte [rsp + 0x40], 0
je 0x18001fef8
mov ecx, 0x80000000
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
bt ecx, 0x1e
jb 0x18001fef8
cmp ecx, 0x80000000
jle 0x18001fef8
mov rax, qword [rsp + 0x38]
lock bts dword [rax], 0x1e
jb 0x18001fef8
mov rcx, qword [rsp + 0x38]
call fcn.180029f70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x180033de0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor r9d, r9d
lea rax, [rsp + 0x10]
mov r11, rcx
mov r8, rdx
lea ecx, [r9 + 4]
nop dword [rax]
nop word [rax + rax]
mov qword [rax], r9
mov qword [rax + 8], r9
mov qword [rax + 0x10], r9
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r9
mov qword [rax - 0x20], r9
mov qword [rax - 0x18], r9
mov qword [rax - 0x10], r9
mov qword [rax - 8], r9
sub rcx, 1
jne 0x180033e30
add rdx, 2
lea r10, [rsp + 0x10]
sub r10, r8
lea r8d, [rcx + 0x10]
nop dword [rax]
movzx eax, byte [rdx - 1]
movzx ecx, byte [rdx - 2]
lea rdx, [rdx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx - 3]
shl ecx, 8
or ecx, eax
mov dword [r10 + rdx - 6], ecx
sub r8, 1
jne 0x180033e70
lea r10, [rsp + 0x14]
lea ebx, [r8 + 0x30]
nop word [rax + rax]
mov ecx, dword [r10]
mov r8d, ecx
mov edx, dword [r10 + 0x34]
lea r10, [r10 + 4]
mov eax, ecx
rol r8d, 0xe
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 + 0x1c]
add r8d, dword [r10 - 8]
mov dword [r10 + 0x38], r8d
sub rbx, 1
jne 0x180033eb0
mov r10d, dword [r11]
lea r13, [0x18008ad20]
mov edi, dword [r11 + 4]
mov esi, dword [r11 + 8]
mov r15d, dword [r11 + 0xc]
mov ebx, dword [r11 + 0x10]
mov ebp, dword [r11 + 0x14]
mov r14d, dword [r11 + 0x18]
mov r12d, dword [r11 + 0x1c]
nop dword [rax]
mov r8d, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, ebx
mov edx, r10d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, ebp
and eax, ebx
xor ecx, eax
mov eax, r10d
add r8d, ecx
rol eax, 0xa
add r8d, dword [r9 + r13]
xor edx, eax
add r8d, dword [rsp + r9 + 0x10]
mov eax, r10d
ror eax, 2
add r8d, r12d
xor edx, eax
mov ecx, edi
xor ecx, r10d
mov eax, edi
and eax, r10d
and ecx, esi
xor ecx, eax
mov r12d, r14d
add edx, ecx
mov r14d, ebp
mov ebp, ebx
add r9, 4
lea ebx, [r8 + r15]
mov r15d, esi
mov esi, edi
mov edi, r10d
lea r10d, [rdx + r8]
cmp r9, 0x100
jb 0x180033f20
add dword [r11], r10d
add dword [r11 + 4], edi
add dword [r11 + 8], esi
add dword [r11 + 0xc], r15d
add dword [r11 + 0x10], ebx
add dword [r11 + 0x14], ebp
add dword [r11 + 0x18], r14d
add dword [r11 + 0x1c], r12d
mov eax, dword [r11]
mov dword [r11], eax
mov eax, dword [r11 + 4]
mov dword [r11 + 4], eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180034000
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor r9d, r9d
lea rax, [rsp + 0x10]
mov r11, rcx
lea ecx, [r9 + 4]
mov qword [rax], r9
mov qword [rax + 8], r9
mov qword [rax + 0x10], r9
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r9
mov qword [rax - 0x20], r9
mov qword [rax - 0x18], r9
mov qword [rax - 0x10], r9
mov qword [rax - 8], r9
sub rcx, 1
jne 0x180034040
lea r10, [rsp + 0x10]
sub r10, rdx
lea r8, [rdx + 2]
lea edx, [rcx + 0x10]
nop dword [rax + rax]
movzx eax, byte [r8 - 1]
movzx ecx, byte [r8 - 2]
lea r8, [r8 + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 - 3]
shl ecx, 8
or ecx, eax
mov dword [r10 + r8 - 6], ecx
sub rdx, 1
jne 0x180034080
lea r10, [rsp + 0x14]
lea ebx, [rdx + 0x30]
nop word [rax + rax]
mov ecx, dword [r10]
mov r8d, ecx
mov edx, dword [r10 + 0x34]
lea r10, [r10 + 4]
mov eax, ecx
rol r8d, 0xe
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 + 0x1c]
add r8d, dword [r10 - 8]
mov dword [r10 + 0x38], r8d
sub rbx, 1
jne 0x1800340c0
mov r10d, dword [r11]
lea r13, [0x18008ad20]
mov edi, dword [r11 + 4]
mov esi, dword [r11 + 8]
mov r15d, dword [r11 + 0xc]
mov ebx, dword [r11 + 0x10]
mov ebp, dword [r11 + 0x14]
mov r14d, dword [r11 + 0x18]
mov r12d, dword [r11 + 0x1c]
nop dword [rax]
mov r8d, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, ebx
mov edx, r10d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, ebp
and eax, ebx
xor ecx, eax
mov eax, r10d
add r8d, ecx
rol eax, 0xa
add r8d, dword [r9 + r13]
xor edx, eax
add r8d, dword [rsp + r9 + 0x10]
mov eax, r10d
ror eax, 2
add r8d, r12d
xor edx, eax
mov ecx, edi
xor ecx, r10d
mov eax, edi
and eax, r10d
and ecx, esi
xor ecx, eax
mov r12d, r14d
add edx, ecx
mov r14d, ebp
mov ebp, ebx
add r9, 4
lea ebx, [r8 + r15]
mov r15d, esi
mov esi, edi
mov edi, r10d
lea r10d, [rdx + r8]
cmp r9, 0x100
jb 0x180034130
add dword [r11], r10d
add dword [r11 + 4], edi
add dword [r11 + 8], esi
add dword [r11 + 0xc], r15d
add dword [r11 + 0x10], ebx
add dword [r11 + 0x14], ebp
add dword [r11 + 0x18], r14d
add dword [r11 + 0x1c], r12d
mov eax, dword [r11]
mov dword [r11], eax
mov eax, dword [r11 + 4]
mov dword [r11 + 4], eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800344d0
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x4f]
sub rsp, 0x90
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r9
mov rbx, r8
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
xor esi, esi
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rsi
lea r8d, [rax + 0x20]
lea rdx, [0x18008ad00]
lea rcx, [rbp - 1]
call fcn.1800525f0
nop
mov r8, qword [rbp + 0x5f]
mov rdx, qword [rbp + 0x57]
lea rcx, [rbp - 0x29]
call fcn.180034b60
lea rcx, [rbp - 0x29]
call fcn.180042320
lea r8, [rbp - 1]
mov rdx, rsi
cmp rbx, rdi
je 0x180034589
mov ecx, 3
sub cl, dl
shl cl, 3
mov eax, dword [r8]
shr eax, cl
mov byte [rbx], al
inc rbx
inc rdx
cmp rdx, 4
jb 0x180034567
add r8, 4
lea rax, [rbp + 0x1f]
cmp r8, rax
jne 0x180034564
lea rcx, [rbp - 0x29]
call fcn.1800243f0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret

Function at 0x180037b20
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1800c5bf0], eax
inc eax
cmp eax, 1
jne 0x180037b6d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1800c5bf4], eax
test dil, dil
je 0x180037b80
xor eax, eax
lock xadd dword [0x1800c5bf4], eax
test eax, eax
jne 0x180037ba4
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x20], eax
call fcn.180050f80
lea rdx, str.winsock
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.1800420a0
int3
Function at 0x18003d7f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rdi, r9
mov rbp, rdx
mov r14, rcx
mov esi, r15d
cmp rcx, 0xffffffffffffffff
je 0x18003d92d
test r8b, r8b
je 0x18003d87f
test byte [rdx], 8
je 0x18003d87f
mov dword [rsp + 0x40], r15d
call fcn.180050f80
or byte [rbp], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x80
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.180050f80
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x18003d87f
call fcn.180050f80
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
call fcn.180050f80
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x18003d92d
call fcn.180050f80
cmp qword [rdi + 8], rax
jne 0x18003d8c8
cmp dword [rdi], 0x2733
je 0x18003d8db
call fcn.180050f80
cmp qword [rdi + 8], rax
jne 0x18003d929
cmp dword [rdi], 0x4d5
jne 0x18003d929
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbp], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
call fcn.180050f80
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x18003d944
mov dword [rsp + 0x30], r15d
call fcn.180050f80
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800406c0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180040704
mov dword [rsp + 0x20], 0x2719
call fcn.180050f80
mov qword [rsp + 0x28], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x180040758
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.180050f80
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x180040756
mov dword [rsp + 0x20], esi
call fcn.180050f80
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180043940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rsi, rdx
mov qword [rsp + 0x30], 0
mov rdi, rcx
lea rdx, str.SoftwareMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x30]
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180043a18
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x800
call fcn.180050fe0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x3c], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DownloadPath
mov dword [rsp + 0x38], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180043a18
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800439f3
lea rax, [rsi - 1]
mov rcx, rdi
cmp rax, r8
lea rdx, [rsp + 0x40]
cmovb r8, rax
call fcn.180064e6c
mov bl, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180043a28
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180043fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x398]
sub rsp, 0x490
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx + 0x18], SafeArrayGetLBound
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 0x10
jb 0x18004400a
mov rax, qword [rcx]
jmp 0x18004400d
mov rax, rdi
mov byte [rax], bl
mov r8d, 6
lea rdx, str.unknow
call fcn.1800025c0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], SafeArrayGetLBound
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
mov r8d, 0x24
lea rdx, [0x18008c9d8]
lea rcx, [rsp + 0x58]
call fcn.1800025c0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1800440f8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x80]
call fcn.180050fe0
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], 0x400
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800440f8
cmp byte [rbp - 0x80], al
je 0x1800440e9
lea rax, [rbp - 0x80]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800440e0
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800025c0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180044109
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x180044161
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x18004415c
test cl, 0x1f
je 0x18004412f
call fcn.18005c7f4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004413e
call fcn.18005c7f4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004414d
call fcn.18005c7f4
int3
cmp rcx, 0x27
jbe 0x180044159
call fcn.18005c7f4
int3
mov rcx, rax
call fcn.18004b054
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.18004b0f0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180045310
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov dword [rsp + 0x48], 1
call fcn.180050f80
mov rbx, qword [rbx + 8]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x44], eax
lea r8d, [rax + 1]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.180050f80
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x180045394
cmp eax, 0x4d2
jne 0x180045399
call fcn.180050f80
test ebx, ebx
jne 0x1800453a2
call fcn.180050f80
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x60
pop rbx
ret

Function at 0x1800453c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.180050fe0
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x180045472
mov edx, 0x5c
mov qword [rsp + 0x140], rbx
lea rcx, [rsp + 0x20]
call fcn.180053728
mov rbx, rax
test rax, rax
je 0x18004546e
lea rdx, str.iexplore.exe
lea rcx, [rax + 1]
call fcn.180064ef0
test eax, eax
je 0x18004546e
lea rcx, str.process_is__s__not_start_bho
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
mov rbx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x148
ret
mov al, 1
jmp 0x18004544e
mov al, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x148
ret

Function at 0x180045490
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1800c5bf8], eax
test eax, eax
je 0x180045507
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x40
pop rbx
ret
mov rdx, qword [rbx + 8]
lea rcx, [fcn.180038600]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x40
pop rbx
ret
Function at 0x180045f00
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180045f4c
mov dword [rsp + 0x30], 0x2719
call fcn.180050f80
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180045fe6
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov qword [rsp + 0x258], rbx
mov dword [rsp + 0x250], 1
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x250]
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.180050f80
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
js 0x180045fdc
mov dword [rsp + 0x30], 0
call fcn.180050f80
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18004b0f0
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
ret

Function at 0x180046010
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov rax, qword [0x1800ba0e0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, r8
movzx r14d, dl
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180046067
mov dword [rsp + 0x30], 0x2719
call fcn.180050f80
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x18004614f
mov qword [rsp + 0x2b8], rsi
xor ecx, ecx
mov qword [rsp + 0x270], r15
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
and r14b, 1
lea rax, [rsp + 0x40]
lea ecx, [rbx + 1]
cmove rax, r15
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.180050f80
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x180046124
test r14b, r14b
je 0x18004610b
mov dword [rsp + 0x30], 0x2733
call fcn.180050f80
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
jmp 0x18004613a
mov dword [rsp + 0x30], r15d
call fcn.180050f80
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
jmp 0x18004613a
jle 0x18004613d
mov dword [rsp + 0x30], r15d
call fcn.180050f80
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov r15, qword [rsp + 0x270]
mov eax, esi
mov rsi, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.18004b0f0
add rsp, 0x278
pop r14
pop rdi
pop rbx
pop rbp
ret