joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800157d0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x18006e168]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], 0
mov word [rsp + 0x30], 0
call sub.MSVCR80.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rcx, rbx
lea rdx, [0x18005961c]
test eax, eax
je 0x180015836
lea rdx, [rsp + 0x30]
call fcn.180001510
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18003f5f0
add rsp, 0x250
pop rbx
ret

Function at 0x180015860
Capabilities:
Acquire debug privileges
Check os version

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x18006e168]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x1800706e4]
mov ebp, r8d
mov esi, edx
test eax, eax
mov edi, ecx
jne 0x1800158c5
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x11c
call sub.MSVCR80.dll_memset
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800159ac
mov eax, dword [rsp + 0x54]
mov dword [0x1800706e4], eax
cmp eax, 5
jbe 0x1800159ac
mov qword [rsp + 0x1b8], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1800158f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x180059798]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x18001592c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.LookupPrivilegeValue_error:__u_n
mov edx, eax
call sub.MSVCR80.dll_printf
jmp 0x180015999
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x44], rax
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea r9d, [rax + 0x10]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x180015980
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.AdjustTokenPrivileges_error:__u_n
mov edx, eax
call sub.MSVCR80.dll_printf
jmp 0x180015999
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x180015999
lea rcx, str.The_token_does_not_have_the_specified_privilege.__n
call sub.MSVCR80.dll_printf
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1b8]
mov r8d, ebp
mov edx, esi
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18003f5f0
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x180015b30
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, qword [rcx]
mov rbx, rcx
test r9, r9
je 0x180015ba8
cmp qword [r9 + 8], 0
je 0x180015ba8
lea rax, [r9 + 0x14]
lea r8, [0x1800159e0]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 4
call sub.MSVCR80.dll__beginthreadex
mov rcx, qword [rbx]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx]
cmp qword [rax + 0x18], 0
jne 0x180015bb0
mov qword [rax + 0x18], 0xffffffffffffffff
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x180015b9d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x18], 0xffffffffffffffff
mov byte [rbx + 0x10], 0
mov dword [rbx + 0x14], 0
xor al, al
add rsp, 0x30
pop rbx
ret
mov byte [rax + 0x10], 1
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x180015bfd
mov qword [rsp + 0x40], rdi
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x180015be6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x18], 0xffffffffffffffff
mov byte [rdi + 0x10], 0
mov dword [rdi + 0x14], 0
mov rax, qword [rbx]
mov rdi, qword [rsp + 0x40]
mov byte [rax + 0x10], 0
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18001b2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x18006e168]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x38], 0
mov rcx, rdx
call fcn.1800014c0
mov dword [rsp + 0x38], 1
mov word [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x52]
call sub.MSVCR80.dll_memset
mov dword [rsp + 0x30], 0x208
mov dword [rsp + 0x34], 1
mov rcx, rbx
call fcn.180003110
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18001b379
mov eax, dword [rsp + 0x30]
cmp eax, 0x104
ja 0x18001b35d
mov word [rsp + rax*2 + 0x50], 0
jmp 0x18001b367
mov word [rsp + 0x258], 0
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180004680
mov rax, rsi
jmp 0x18001b37c
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18003f5f0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x18001e4c0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 8
test rdx, rdx
mov r10, rdx
je 0x18001e5ed
test r8, r8
je 0x18001e5ed
test r9d, r9d
jle 0x18001e5ed
cmp r9d, 3
mov qword [rsp], rbx
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jl 0x18001e57e
mov eax, 0xaaaaaaab
mul r9d
shr edx, 1
mov eax, edx
mov r11d, edx
imul eax, eax, 0xfffffffd
add r9d, eax
nop
movzx eax, byte [r8]
add r10, 4
add r8, 3
shr rax, 2
movzx eax, byte [rax + rbx]
mov byte [r10 - 4], al
mov al, byte [r8 - 3]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [r8 - 2]
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rbx]
mov byte [r10 - 3], al
mov al, byte [r8 - 2]
and eax, 0xf
shl eax, 2
movsxd rcx, eax
movzx eax, byte [r8 - 1]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + rbx]
mov byte [r10 - 2], al
mov al, byte [r8 - 1]
and eax, 0x3f
sub r11, 1
movzx eax, byte [rax + rbx]
mov byte [r10 - 1], al
jne 0x18001e510
test r9d, r9d
jle 0x18001e5de
movzx eax, byte [r8]
shr rax, 2
movzx eax, byte [rax + rbx]
mov byte [r10], al
movzx ecx, byte [r8]
and cl, 3
shl cl, 4
cmp r9d, 1
jle 0x18001e5ac
movzx eax, byte [r8 + 1]
shr al, 4
or cl, al
cmp r9d, 2
movzx eax, cl
movzx eax, byte [rax + rbx]
mov byte [r10 + 1], al
jge 0x18001e5c1
mov al, 0x3d
jmp 0x18001e5d1
mov al, byte [r8 + 1]
and eax, 0xf
shl eax, 2
cdqe
movzx eax, byte [rax + rbx]
mov byte [r10 + 2], al
mov byte [r10 + 3], 0x3d
add r10, 4
mov rbx, qword [rsp]
mov byte [r10], 0
mov al, 1
add rsp, 8
ret
xor al, al
add rsp, 8
ret
Function at 0x18001ed00
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x18006e168]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov r12, rdx
mov rbp, rcx
mov qword [r11 - 0x38], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
mov byte [r11 - 0x30], dil
xor eax, eax
mov qword [r11 - 0x2f], rax
mov dword [r11 - 0x27], eax
mov word [r11 - 0x23], ax
mov byte [r11 - 0x21], al
mov rcx, rdx
call fcn.1800014b0
mov rsi, rax
mov rcx, r12
call fcn.180001490
mov rbx, rax
test rax, rax
je 0x18001ee3d
cmp esi, 1
jl 0x18001ee3d
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
xor edx, edx
lea r8d, [rdi + 0x58]
lea rcx, [rsp + 0x30]
call sub.MSVCR80.dll_memset
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x38], 0x67452301
mov dword [rsp + 0x3c], 0xefcdab89
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
lea ecx, [rsi*8]
test esi, esi
jle 0x18001ee2b
mov eax, esi
sar eax, 0x1d
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], ecx
cmp esi, 0x40
jl 0x18001ee17
mov edi, esi
shr rdi, 6
mov eax, edi
shl eax, 6
sub esi, eax
nop
nop
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18003a6f0
add rbx, 0x40
sub rdi, 1
jne 0x18001ee00
test esi, esi
je 0x18001ee2b
movsxd r8, esi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call sub.MSVCR80.dll_memcpy
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.18003af90
lea rdx, [rsp + 0x98]
mov rcx, rbp
call fcn.18001ec60
nop
mov rcx, r12
call fcn.180001430
mov rax, rbp
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18003f5f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180020ff0
Capabilities:
Create http request

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r12, rcx
bts edi, 0x1a
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x88], 0x1388
mov r9d, 4
lea r8, [rsp + 0x88]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x88], 3
mov r9d, 4
lea r8, [rsp + 0x88]
lea edx, [r9 - 1]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r11, qword [rsp + 0xa0]
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rsi
mov r8, rbp
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.180021120
movzx esi, al
test rbx, rbx
je 0x1800210e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, sil
jmp 0x1800210ea
mov al, sil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x180022360
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
lea r9d, [rax + 1]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1800223af
mov dword [rbx + 8], eax
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800223c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov r12, rcx
mov ecx, 0x400
mov rbp, r8
mov rbx, rdx
mov dword [rsp + 0x30], 1
xor sil, sil
call sub.MSVCR80.dll_malloc
xor edx, edx
mov r8d, 0x400
mov rcx, rax
mov rdi, rax
call sub.MSVCR80.dll_memset
mov rcx, qword [r12]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x78], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
test eax, eax
je 0x180022442
mov dword [r12 + 8], eax
call fcn.1800047c0
jmp 0x18002244d
mov rdx, rdi
mov sil, 1
call fcn.180004680
mov rcx, rdi
call sub.MSVCR80.dll_free
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov al, sil
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret

Function at 0x180022470
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x180022491
mov dword [rbx + 8], eax
xor al, al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x180028c30
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
movzx esi, dl
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsZoomed]
mov edi, 5
mov rcx, rbx
test eax, eax
lea r13d, [rdi - 4]
je 0x180028c75
lea edx, [rdi - 2]
jmp 0x180028c9f
call qword [sym.imp.USER32.dll_IsIconic]
mov rcx, rbx
test eax, eax
je 0x180028c89
mov edx, 9
jmp 0x180028c9f
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x180028ca5
mov edx, edi
test sil, sil
mov rcx, rbx
cmovne edx, r13d
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, r13d
mov ecx, eax
mov edx, ebp
mov r12d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsZoomed]
mov rcx, rbx
test eax, eax
je 0x180028ce4
mov edx, 3
jmp 0x180028d01
call qword [sym.imp.USER32.dll_IsIconic]
mov rcx, rbx
test eax, eax
je 0x180028cf8
mov edx, 9
jmp 0x180028d01
test sil, sil
cmovne edi, r13d
mov edx, edi
call qword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
mov dword [rsp + 0x30], 3
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 3
lea rdx, [rdi - 2]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r8d, r8d
mov edx, ebp
mov ecx, r12d
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
jmp qword [sym.imp.USER32.dll_AttachThreadInput]
Function at 0x18003c980
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x190
mov rax, qword [0x18006e168]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
lea rcx, [rsp + 0x60]
xor r12d, r12d
xor edx, edx
mov r8d, 0x114
mov esi, r12d
call sub.MSVCR80.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rcx, rbx
mov ebp, r12d
mov rdi, r12
call fcn.18003cb60
test rax, rax
je 0x18003ca34
nop
nop
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18003ca09
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
cmp rdi, rax
jb 0x18003ca0e
call sub.MSVCR80.dll__invalid_parameter_noinfo
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + rdi*8]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rbx
add ebp, 1
add rdi, 1
call fcn.18003cb60
mov r11, rax
mov eax, ebp
cmp rax, r11
jb 0x18003c9f0
mov rdi, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
call fcn.180003be0
cmp qword [rbx + 8], rdi
ja 0x18003ca4e
cmp rdi, qword [rbx + 0x10]
jbe 0x18003ca53
call sub.MSVCR80.dll__invalid_parameter_noinfo
mov qword [rsp + 0x28], rdi
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x30]
call fcn.180003be0
cmp qword [rbx + 8], rdi
ja 0x18003ca82
cmp rdi, qword [rbx + 0x10]
jbe 0x18003ca87
call sub.MSVCR80.dll__invalid_parameter_noinfo
cmp rbx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
je 0x18003caa8
call sub.MSVCR80.dll__invalid_parameter_noinfo
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
cmp rcx, r8
je 0x18003cadf
mov rax, qword [rbx + 0x10]
sub rax, r8
sar rax, 3
test rax, rax
lea rdx, [rax*8]
lea rdi, [rdx + rcx]
jle 0x18003cadb
mov r9, rdx
call sub.MSVCR80.dll_memmove_s
mov qword [rbx + 0x10], rdi
cmp dword [rsp + 0x70], 2
jne 0x18003cb00
mov rcx, rbx
call fcn.18003bdd0
mov rcx, rbx
call fcn.18003c390
mov rcx, rbx
call fcn.18003bba0
jmp 0x18003cb19
mov edi, r12d
test esi, esi
jne 0x18003cb19
mov rcx, rbx
call fcn.18003bfe0
add edi, 1
cmp edi, 0xa
mov esi, eax
jl 0x18003cb03
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x18003cb27
mov rax, r12
jmp 0x18003cb32
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
test rax, rax
setne al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.18003f5f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180040087
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18006e168]
jne 0x18003f60a
rol rcx, 0x10
test cx, 0xffff
jne 0x18003f606
repz ret
ror rcx, 0x10
jmp 0x18003ffe0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800700f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800701e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180040065
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1800700f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180040087
mov rax, qword [rsp + 0x88]
mov qword [0x1800701e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180070188], rax
mov rax, qword [0x1800701e8]
mov qword [0x180070060], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180070170], rax
mov dword [0x180070050], 0xc0000409
mov dword [0x180070054], 1
mov rax, qword [0x18006e168]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18006e170]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800700e8], eax
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180053ad8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800700e8], 0
jne 0x18004010e
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180040500
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 0x238
mov rcx, qword [rsp + 0x48]
call sub.MSVCR80.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180040555
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
jmp 0x18004055e
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x238
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1800405f7
mov rax, qword [rsp + 0x30]
add rax, 0x2c
mov qword [rsp + 0x38], rax
lea rdx, [0x180053de0]
mov rcx, qword [rsp + 0x38]
call fcn.18003d090
test rax, rax
je 0x1800405f5
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1800405f5
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18004057b
add rsp, 0x60
pop rdi
ret

Function at 0x180045710
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 1
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x180045787
mov eax, dword [rsp + 0x20]
and eax, 1
cmp eax, 1
jne 0x180045751
mov al, 1
jmp 0x180045789
mov eax, dword [rsp + 0x20]
and eax, 2
cmp eax, 2
jne 0x180045761
mov al, 1
jmp 0x180045789
mov eax, dword [rsp + 0x20]
and eax, 4
cmp eax, 4
jne 0x180045771
mov al, 1
jmp 0x180045789
mov eax, dword [rsp + 0x20]
and eax, 8
cmp eax, 8
jne 0x180045781
mov al, 1
jmp 0x180045789
xor al, al
jmp 0x180045789
xor al, al
add rsp, 0x38
ret
Function at 0x180046780
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
call fcn.1800014c0
nop
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov rcx, rax
call fcn.1800014c0
nop
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1800014c0
nop
mov rax, qword [rsp + 0x80]
add rax, 0x78
mov rcx, rax
call fcn.1800014c0
nop
mov rax, qword [rsp + 0x80]
add rax, 0xb8
mov rcx, rax
call fcn.180045560
nop
mov rax, qword [rsp + 0x80]
add rax, 0xe8
mov rcx, rax
call fcn.180004880
nop
mov rax, qword [rsp + 0x80]
add rax, 0xf8
mov rcx, rax
call fcn.180015c90
nop
mov rax, qword [rsp + 0x80]
mov qword [rax + 0xa0], 0
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x128], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x130], 0
mov rax, qword [rsp + 0x80]
mov word [rax + 0xe0], 0
mov rax, qword [rsp + 0x80]
mov word [rax + 0xe2], 0
mov rax, qword [rsp + 0x80]
mov word [rax + 0xe4], 0
mov rax, qword [rsp + 0x80]
mov word [rax + 0xe6], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0xb4], 0xfffffffe
mov rax, qword [rsp + 0x80]
add rax, 0xf8
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.180015d10
lea rcx, [rsp + 0x30]
call fcn.180052290
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180003110
mov r9, rax
xor r8d, r8d
mov rdx, qword [0x1800576b8]
mov rcx, qword [str.GUEST]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, eax
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0xa8], rax
lea rcx, [rsp + 0x30]
call fcn.180001570
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x144], 0
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x138], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x140], 0
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret