joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008fb00
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r15, rdx
mov dword [rbp + 0x40], 1
mov rbx, rcx
mov qword [rbp + 0x48], 1
mov rcx, r15
lea rdx, [rbp + 0x48]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov rax, qword [rbp + 0x48]
mov ecx, 0x400
test rax, rax
cmove rax, rcx
cmp dword [rbp + 0x40], 0
mov qword [rbp + 0x48], rax
je 0x14008fc05
test rax, rax
jne 0x14008fb62
xor edi, edi
jmp 0x14008fb71
mov rcx, rax
call fcn.1400251f8
mov rdi, rax
mov rax, qword [rbp + 0x48]
lea r9, [rbp + 0x40]
mov r8d, eax
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14008fc13
mov ecx, dword [rbp + 0x40]
test ecx, ecx
je 0x14008fbfb
mov esi, ecx
test rdi, rdi
je 0x14008fbe8
test ecx, ecx
je 0x14008fbe8
and qword [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
and qword [rbp - 8], 0
lea rcx, [rbx + 0x70]
call fcn.140090030
xor edx, edx
xor ecx, ecx
call fcn.1400251b4
mov rax, qword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rcx, qword [rax + rcx*8 - 8]
mov qword [rcx], rdi
mov rcx, qword [rbx + 0x80]
mov rax, qword [rbx + 0x78]
mov rcx, qword [rax + rcx*8 - 8]
mov qword [rcx + 8], rsi
mov ecx, dword [rbp + 0x40]
mov eax, ecx
add qword [rbx + 0x10], rax
test ecx, ecx
je 0x14008fc05
mov rax, qword [rbp + 0x48]
jmp 0x14008fb59
xor edx, edx
mov rcx, rdi
call fcn.1400251b4
cmp qword [rbx + 0x10], 0
jne 0x14008fc2d
mov edx, SafeArrayDestroyDescriptor
jmp 0x14008fc22
xor edx, edx
mov rcx, rdi
call fcn.1400251b4
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
xor r9d, r9d
mov r8d, 0xdeadbeef
jmp 0x14008fc35
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.14008fc50
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008fdd0
Capabilities:
Parse url

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rbx, rdx
lea rcx, [rbp - 0x39]
xor edx, edx
mov rsi, r8
lea r8d, [rdx + 0x68]
call fcn.1400267d0
mov r14d, 1
mov dword [rbp - 0x39], 0xf0
mov rcx, rbx
mov dword [rbp - 9], r14d
mov dword [rbp - 0x19], r14d
mov dword [rbp - 0x29], r14d
mov dword [rbp + 0x27], r14d
mov dword [rbp + 0x17], r14d
mov dword [rbp + 7], r14d
call fcn.1400292e8
mov rdx, rax
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x14008ff36
mov r9d, dword [rbp - 0x29]
xor r8d, r8d
mov rdx, qword [rbp - 0x31]
mov rcx, rsi
call fcn.14000960c
mov r9d, dword [rbp - 0x19]
lea rcx, [rsi + 0x20]
mov rdx, qword [rbp - 0x21]
xor r8d, r8d
call fcn.14000960c
mov r9d, dword [rbp - 9]
lea rcx, [rsi + 0x40]
mov rdx, qword [rbp - 0x11]
xor r8d, r8d
call fcn.14000960c
mov r9d, dword [rbp + 7]
lea rcx, [rsi + 0x60]
mov rdx, qword [rbp - 1]
xor r8d, r8d
call fcn.14000960c
mov r9d, dword [rbp + 0x17]
lea rdi, [rsi + 0x80]
mov rdx, qword [rbp + 0xf]
mov rcx, rdi
xor r8d, r8d
call fcn.14000960c
mov r9d, dword [rbp + 0x27]
lea rbx, [rsi + 0xa0]
mov rdx, qword [rbp + 0x1f]
mov rcx, rbx
xor r8d, r8d
call fcn.14000960c
mov r8, rbx
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.14006d1f4
mov rdx, rax
lea rcx, [rsi + 0xc0]
call fcn.14000449c
lea rcx, [rbp + 0x37]
call fcn.1400054ac
mov ecx, dword [rbp - 0x25]
movzx eax, word [rbp - 0x15]
mov dword [rsi + 0xe4], ecx
mov word [rsi + 0xe8], ax
sub ecx, r14d
je 0x14008ff2c
cmp ecx, r14d
je 0x14008ff20
mov dword [rsi + 0xe0], 3
jmp 0x14008ff33
mov dword [rsi + 0xe0], 2
jmp 0x14008ff33
mov dword [rsi + 0xe0], r14d
mov al, r14b
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14008ff54
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x188], 0
mov rbx, rcx
je 0x14008ffbb
test dl, dl
je 0x14008ffbb
mov rcx, qword [rcx + 0x190]
test rcx, rcx
je 0x14008ff84
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x190], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r8, rbx
lea rcx, [0x140090004]
xor edx, edx
mov qword [rbx + 0x190], rax
call fcn.140032404
cmp dword [rbx + 0x20], 0
sete al
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.14008ec08
Function at 0x140096094
Capabilities:
Hash data with crc32

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
mov esi, dword [rsp + 0x30]
lea r14, [0x1400dae40]
mov ebp, r9d
mov edi, r8d
imul ebp, dword [rsp + 0x30]
mov eax, r9d
shl eax, 2
or r10d, 0xffffffff
movsxd rbx, eax
add rdi, rdx
add rbx, rdx
mov r11, rdx
mov r9, rdx
shl ebp, 2
shl esi, 2
movzx eax, byte [r11 + 2]
movzx ecx, r10b
xor rcx, rax
shr r10d, 8
movzx eax, byte [r11 + 1]
mov edx, dword [r14 + rcx*4]
xor edx, r10d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11]
add r11, rbp
mov r8d, dword [r14 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov r10d, dword [r14 + rcx*4]
xor r10d, r8d
cmp r11, rdi
jb 0x140096130
mov eax, esi
add r9, rax
mov r11, r9
cmp r9, rbx
jb 0x1400960de
mov rbx, qword [rsp + 0x10]
not r10d
mov rbp, qword [rsp + 0x18]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov eax, r10d
cvtsi2sd xmm0, rax
pop r14
ret
Function at 0x140097008
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
mov r13d, 2
lea rcx, [rax - 0x48]
mov word [rdx], r13w
mov ebp, r9d
mov r15, r8
mov r14, rdx
call fcn.140005418
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1400973d4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea rcx, [rsp + 0x20]
mov r12d, eax
call fcn.1400054ac
cmp r12d, 0xffffffff
jne 0x1400970d1
mov rdi, qword [r15 + 8]
lea rbx, str.255.255.255.255
mov rcx, rbx
call fcn.1400292e8
cmp rdi, rax
jne 0x1400970ac
test rdi, rdi
je 0x1400970a6
mov rax, qword [r15]
sub rax, rbx
movzx ecx, word [rax + rbx]
movzx edx, word [rbx]
cmp cx, dx
jne 0x1400970c8
add rbx, r13
sub rdi, 1
jne 0x140097091
xor eax, eax
test eax, eax
je 0x1400970d1
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
call fcn.140001de4
mov dword [rax + 0x1c], 1
jmp 0x140097109
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1400970a8
lea ecx, [rbp - 1]
mov dword [r14 + 4], r12d
cmp ecx, 0xfffe
ja 0x1400970f2
movzx ecx, bp
call qword [sym.imp.WSOCK32.dll_htons]
mov word [r14 + 2], ax
mov al, 1
jmp 0x140097114
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
call fcn.140001de4
mov dword [rax + 0x1c], r13d
call fcn.140001de4
mov byte [rax + 0x20], 0
xor al, al
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140097134
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
and dword [r8], 0
mov r14, rdx
mov qword [r8 + 8], rdx
mov eax, 0x10624dd3
inc dword [r8]
mov rdi, rcx
imul r9d
xor ecx, ecx
mov rsi, r8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x50], edx
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x54], eax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
cmp byte [rsp + 0x60], cl
je 0x14009719e
xor edx, edx
jmp 0x1400971a4
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WSOCK32.dll_select]
mov ebx, eax
test eax, eax
jne 0x1400971d2
cmp byte [rsp + 0x60], al
je 0x140097228
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
call fcn.140001de4
mov dword [rax + 0x1c], 0x274c
jmp 0x14009721f
jle 0x1400971ff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
jne 0x140097228
lea ebx, [rax - 2]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
call fcn.140001de4
mov dword [rax + 0x1c], ebx
jmp 0x14009721f
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rdi]
mov r8d, eax
movsxd rcx, dword [rcx + 4]
add rcx, 8
add rcx, rdi
call fcn.140001de4
mov dword [rax + 0x1c], r8d
call fcn.140001de4
mov byte [rax + 0x20], 0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14009c3a8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f88]
mov eax, 0x2060
call fcn.140049520
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x20]
call fcn.1400053cc
xor r12d, r12d
mov rcx, r15
mov esi, r12d
call fcn.1400090d0
mov rax, qword [r15 + 8]
mov r14b, r12b
mov rdi, qword [rax]
movzx eax, word [rdi]
test ax, ax
je 0x14009c53b
mov ebx, r12d
lea r13d, [r12 + 0x25]
inc esi
inc rbx
cmp ax, r13w
jne 0x14009c4e0
cmp word [rdi + rbx*2], r13w
jne 0x14009c435
mov edx, r13d
lea rcx, [rsp + 0x20]
call fcn.140006ca0
jmp 0x14009c4d6
lea rdx, [0x1400b7438]
lea rcx, [rsp + 0x40]
call fcn.14000c6d0
jmp 0x14009c45f
test ax, ax
je 0x14009c469
movzx edx, ax
lea rcx, [rsp + 0x40]
call fcn.140006ca0
inc esi
inc rbx
movzx eax, word [rdi + rbx*2]
cmp ax, r13w
jne 0x14009c448
cmp word [rdi + rbx*2], r12w
je 0x14009c4fc
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
mov word [rsp + 0x60], r12w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14009c49b
lea rdx, [rsp + 0x60]
jmp 0x14009c4c2
lea rdx, [0x1400df064]
lea rcx, [rsp + 0x20]
call fcn.140003f78
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140004274
lea rdx, [0x1400df064]
lea rcx, [rsp + 0x20]
call fcn.140003f78
lea rcx, [rsp + 0x40]
call fcn.1400054ac
inc esi
mov r14b, 1
inc rbx
jmp 0x14009c4ed
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140006ca0
movzx eax, word [rdi + rbx*2]
test ax, ax
jne 0x14009c40d
jmp 0x14009c529
lea rdx, [0x1400df064]
mov r14b, 1
lea rcx, [rsp + 0x20]
call fcn.140003f78
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140004274
lea rcx, [rsp + 0x40]
call fcn.1400054ac
test r14b, r14b
je 0x14009c53b
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.14000a1e4
lea rcx, [rsp + 0x20]
call fcn.1400054ac
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400a282c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
lea rax, [rsp + 0x40]
mov dword [rbp + 0x190], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x190]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
mov r14d, edx
and qword [rsp + 0x20], 0
xor edx, edx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400a298b
mov edi, r14d
or edi, 0x20019
lea rax, [rbp + 0x198]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a29b0
mov rcx, qword [rbp + 0x198]
mov edx, r14d
call fcn.1400a282c
mov rcx, qword [rbp + 0x198]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1400a29b0
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
and qword [rsp + 0x58], 0
call fcn.1400a2330
test al, al
je 0x1400a2921
lea rcx, [rsp + 0x48]
call fcn.1400a0f00
xor r9d, r9d
lea rdx, [rsp + 0x60]
mov r8d, r14d
mov rcx, rsi
call rax
jmp 0x1400a292f
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x1400a29a5
test rcx, rcx
je 0x1400a2943
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x190], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x190]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400a289d
mov al, 1
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rcx, rcx
je 0x1400a29b0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x1400a298d
Function at 0x1400b1168
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
lea rbp, [0x1400f40a0]
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x68]
call fcn.1400267d0
xor edx, edx
lea rdi, [0x1400f4108]
mov rcx, rdi
lea r8d, [rdx + 0x18]
call fcn.1400267d0
mov qword [rsp + 0x48], rdi
mov eax, 1
mov qword [rsp + 0x40], rbp
xor edi, edi
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_RegisterActiveObject
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [0x1400f40a0], 0x68
mov dword [0x1400f40dc], eax
mov word [0x1400f40e0], ax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400b1204
mov rcx, qword [0x1400f4108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b1694
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov r14, r9
mov rax, r8
mov rsi, rdx
cmp word [r8], r12w
je 0x1400b181f
mov qword [r11 - 0x68], r12
xor r9d, r9d
mov dword [r11 - 0x70], r12d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b1720
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
lea ecx, [r12 + 2]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
jne 0x1400b1727
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400b185a
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], r12
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400b1720
lea r8, [rbp - 0x28]
mov edx, 1
mov rcx, r15
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
lea r9, [0x1400ba948]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x30], r12
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400b1720
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp + 0x40]
lea r8, [rbp - 0x20]
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [r14]
mov rcx, qword [rbp + 0x50]
test r8d, r8d
jne 0x1400b17f4
mov r8d, r12d
cmp dword [rcx], r12d
jne 0x1400b17f4
mov eax, dword [rbp - 0x1c]
mov dword [r14], eax
mov eax, dword [rbp - 0x18]
mov dword [rcx], eax
mov r8d, dword [r14]
mov r9d, dword [rcx]
xor edx, edx
mov rcx, qword [rbp + 0x40]
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rbp + 0x40]
jmp 0x1400b1826
mov r9, r12
mov qword [rbp + 0x40], r12
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400b183c
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rbp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov rcx, rbx
mov qword [rsi + 0xc0], r9
mov edx, 0x172
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400b2350
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
lea rcx, [0x1400f1cf0]
mov r14d, r9d
mov rsi, r8
mov rdi, rdx
call fcn.14001e754
movsxd rcx, eax
mov rax, qword [0x1400f1d90]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp rsi, rdi
jne 0x1400b23d4
cmp qword [rbx + 0x2d0], 0
je 0x1400b2438
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
and qword [rsp + 0x28], 0
mov rcx, qword [rbx + 0x2d0]
mov qword [rsp + 0x20], rdi
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov r9d, dword [rsp + 0x54]
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x1400b245a
mov rdx, rsi
call fcn.14001e450
cmp eax, 0xffffffff
je 0x1400b2438
movsxd rbp, eax
mov rax, qword [0x1400f1db8]
mov rcx, qword [rax + rbp*8]
mov rdx, qword [rcx]
mov cl, byte [rdx + 0xfc]
lea eax, [rcx - 0xe]
cmp al, 2
jbe 0x1400b2438
cmp cl, 0x13
je 0x1400b2438
cmp qword [rdx + 0x18], 0
je 0x1400b2438
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [0x1400f1db8]
and qword [rsp + 0x28], 0
mov rcx, qword [rax + rbp*8]
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
jmp 0x1400b23bd
movzx r9d, word [rsp + 0x70]
mov r8, rsi
shl r9, 0x10
mov edx, 0x7b
movzx eax, r14w
mov rcx, rdi
or r9, rax
call qword [sym.imp.USER32.dll_DefDlgProcW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140b21190
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140b2119d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140b211ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140b21195
lea eax, [rcx + 1]
jmp 0x140b211bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140b211ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140b211b4
sub eax, 3
jb 0x140b211ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140b2123d
sar eax, 1
movsxd rbp, eax
jb 0x140b21224
jmp 0x140b211fc
add ebx, ebx
jne 0x140b211fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140b21224
inc ecx
add ebx, ebx
jne 0x140b2120a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140b21224
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140b2121d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140b2120c
add ecx, 2
jmp 0x140b21229
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140b21152
jmp 0x140b2119d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xb18000]
mov eax, dword [rdi]
or eax, eax
je 0x140b212a9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb22330]
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 0x140b2124d
jns 0x140b21282
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140b2128c
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 0x140b212a3
mov qword [rbx], rax
add rbx, 8
jmp 0x140b2126d
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 0x140b212ed
cmp al, 0xef
ja 0x140b212d5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140b212b5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140b212c4
mov eax, dword [rdi]
add rdi, 4
jmp 0x140b212c4
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 + 0x277]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140b21341
sub rsp, 0xffffffffffffff80
jmp 0x140517a70
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.140190000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c