joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405db8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, [0x004508e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
mov rcx, qword [rdi + 8]
cmp rcx, rsi
je 0x405df9
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
cmp eax, esi
sete cl
cmp ecx, esi
jne 0x405f47
mov rcx, qword [0x004405a8]
cmp rcx, rsi
je 0x405dd9
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
cmp eax, esi
sete cl
cmp ecx, esi
je 0x405dd9
mov eax, dword [0x0043baf8]
sub eax, 1
je 0x405f05
sub eax, 4
je 0x405e43
cmp eax, 1
jne 0x405dd9
mov rax, qword [rdi + 8]
mov dword [0x0043baf0], esi
jmp 0x405f13
mov rbx, qword [0x0043bae8]
cmp rbx, rsi
je 0x405dd9
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x40], 0x103
je 0x405dd9
lea rcx, [0x00440770]
call fcn.00403b18
mov rcx, rbx
mov dword [0x0045092c], esi
mov qword [0x00440790], rsi
mov qword [0x00440798], rsi
mov qword [0x004407a0], rsi
mov qword [0x004407a8], rsi
mov qword [0x004407b0], rsi
mov qword [0x004407b8], rsi
mov qword [0x004407c0], rsi
mov qword [0x004407c8], rsi
mov qword [0x004407d0], rsi
mov qword [0x004407d8], rsi
mov qword [0x004407e0], rsi
mov qword [0x004407e8], rsi
mov qword [0x004407f0], rsi
mov dword [0x004407f8], esi
mov dword [0x004407fc], esi
mov dword [0x004508a8], esi
mov qword [0x0043bae8], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x00440594], esi
jmp 0x405dd9
mov rax, qword [rdi + 8]
mov dword [0x0043baf0], 1
lea r9, [0x0043bad8]
lea r8, [0x00406138]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov qword [0x0043bae0], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x0043bae8], rax
jmp 0x405dd9
lea rcx, [0x004508e0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x00440770]
call fcn.00403b18
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x405f74
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov qword [0x004405a8], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov qword [0x00440588], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov qword [0x00440580], rax
mov rax, qword [rbx + 0x20030]
lea r9, [0x0043bac8]
mov qword [0x0043bad0], rax
mov rax, qword [rbx + 0x20030]
lea r8, [0x00406138]
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x20078], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbx + 0x20070]
lea r8, [0x00406138]
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x20080], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x20088], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x4060d4
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x0043bae8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, qword [rbx + 0x20088]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x406104
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x0043bae8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x20088]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x406314
Capabilities:
Create service
Persist via run registry key
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
xor edi, edi
cmp dword [rcx + 8], 4
mov rbx, rcx
jl 0x4063f3
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
cmp rax, rdi
jne 0x40635d
mov rax, qword [rbx]
mov edx, 0x3eb
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x406475
mov rax, qword [rbx + 0x28]
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
lea rcx, [rbx + 0x10030]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
mov rcx, rsi
mov r9d, 0xf01ff
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp rax, rdi
jne 0x4063cc
mov rax, qword [rbx]
mov edx, 0x3eb
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, eax
jmp 0x4063d5
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdx, qword [rbx + 0x18]
lea rcx, str._s_service_installed._n
call fcn.004189d8
jmp 0x406473
lea r8, [rsp + 0x80]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, edi
jne 0x40645e
add rbx, 0x10030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x80]
lea rdx, str.DCDiskOptimizer
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406473
lea rdx, [0x00430880]
xor r9d, r9d
xor ecx, ecx
mov r8, rdx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x406488
Capabilities:
Delete registry value
Delete service
Persist via run registry key
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 8], 4
mov rbx, rcx
jl 0x4065bf
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x4064d4
mov rax, qword [rbx]
mov edx, 0x3eb
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x4065fb
mov rdx, qword [rbx + 0x18]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x40650c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r11, qword [rbx]
mov edx, 0x3ed
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
jmp 0x4065fb
lea r8, [rbx + 0x20038]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x406587
mov rdx, qword [rbx + 0x18]
lea rcx, str.Stopping__s_service._Please_wait.
call fcn.004189d8
jmp 0x40654c
cmp dword [rbx + 0x2003c], 3
jne 0x40656b
lea rcx, [0x00430294]
call fcn.004189d8
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbx + 0x20038]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x406537
cmp dword [rbx + 0x2003c], 1
lea rcx, str._stopped._n
je 0x406582
lea rcx, str._failed._n
call fcn.004189d8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rdx, qword [rbx + 0x18]
lea rcx, str._s_service_removed._n
test eax, eax
jne 0x4065a6
lea rcx, str.Cant_remove__s_service._n
call fcn.004189d8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4065f9
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4065f9
mov rcx, qword [rsp + 0x30]
lea rdx, str.DCDiskOptimizer
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x407ac0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x0043a0c0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x407b32
lea r8, [0x0042b190]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.00417990
test eax, eax
je 0x407b54
cmp eax, 0xc
je 0x407b2c
cmp eax, 0x16
je 0x407b26
cmp eax, 0x22
je 0x407b26
cmp eax, 0x50
je 0x407b54
call fcn.004070f4
int3
call fcn.004070f4
int3
call fcn.004070ac
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x407c77
call fcn.0041950c
mov edi, dword [rax]
call fcn.0041950c
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.00417a38
mov ebx, eax
call fcn.0041950c
cmp dword [rax], 0
je 0x407bdc
call fcn.0041950c
cmp dword [rax], 0
je 0x407be3
cmp dword [rax], 0xc
je 0x407bd1
cmp dword [rax], 0x16
je 0x407bc6
cmp dword [rax], 0x22
je 0x407bc6
cmp dword [rax], 0x50
je 0x407be3
mov ecx, 0x80004005
call fcn.00405858
int3
mov ecx, 0x80070057
call fcn.00405858
int3
mov ecx, 0x8007000e
call fcn.00405858
int3
call fcn.0041950c
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x407c77
cmp ebx, esi
jae 0x407c77
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], 0x70
call fcn.00419e00
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x407c62
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x407c62
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x407c6a
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x407c79
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.00417970
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret

Function at 0x40ee60
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.0040d964
mov rsi, rax
test rax, rax
je 0x40eedc
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x40eed7
cmp dword [rbx], 0x40
jb 0x40eed7
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x40eed7
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x40eee0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x41776c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x00400000], ax
jne 0x4177f5
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x4177b7
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x417805
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x4177cd
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x417805
cmp dword [rax + 0x84], 0xe
ja 0x4177e1
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x417805
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x417805
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x00400000]
mov ecx, 1
call fcn.0041b78c
test eax, eax
jne 0x417835
cmp dword [0x0043f568], 1
jne 0x417821
call fcn.0041aa0c
mov ecx, 0x1c
call fcn.0041a7e4
mov ecx, 0xff
call fcn.004196d4
call fcn.0041b708
test eax, eax
jne 0x417860
cmp dword [0x0043f568], 1
jne 0x41784c
call fcn.0041aa0c
mov ecx, 0x10
call fcn.0041a7e4
mov ecx, 0xff
call fcn.004196d4
call fcn.0041b3c0
nop
call fcn.0041b0d0
test eax, eax
jns 0x417879
mov ecx, 0x1b
call fcn.00419668
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x00451c48], rax
call fcn.0041b03c
mov qword [0x0043f560], rax
call fcn.0041af4c
test eax, eax
jns 0x4178a4
mov ecx, 8
call fcn.00419668
call fcn.0041ac7c
test eax, eax
jns 0x4178b7
mov ecx, 9
call fcn.00419668
mov ecx, 1
call fcn.00419774
test eax, eax
je 0x4178cc
mov ecx, eax
call fcn.00419668
call fcn.0041ac20
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.00405a40
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x417903
mov ecx, eax
call fcn.004199b0
call fcn.004199c8
jmp 0x417924
mov eax, edi
jmp 0x41792d
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.0041b7d8
add rsp, 0x28
jmp 0x41776c
Function at 0x4199b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.0041f488
nop
cmp dword [0x0043f5c8], 1
je 0x41995c
mov dword [0x0043f5c4], 1
mov byte [0x0043f5c0], r12b
test ebx, ebx
jne 0x419948
mov rcx, qword [0x00451c30]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x419935
mov rcx, qword [0x00451c28]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x4198d4
call fcn.0041b438
cmp qword [rdi], rax
jne 0x4198d4
jmp 0x4198ba
cmp rdi, rsi
jb 0x419935
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.0041b438
mov qword [rdi], rax
call rbx
mov rcx, qword [0x00451c30]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x00451c28]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x419913
cmp r13, rax
je 0x419933
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x4198ba
lea rdx, [0x0042a9e0]
lea rcx, [0x0042a9c8]
call fcn.00419704
lea rdx, [0x0042a9f0]
lea rcx, [0x0042a9e8]
call fcn.00419704
nop
test r12d, r12d
je 0x41996b
mov ecx, 8
call fcn.0041f388
test r12d, r12d
jne 0x419996
mov dword [0x0043f5c8], 1
lea ecx, [r12 + 8]
call fcn.0041f388
mov ecx, r15d
call fcn.00419698
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x419824

Function at 0x4199bc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x419824
Function at 0x41b933
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0043a0c0]
jne 0x41798a
rol rcx, 0x10
test cx, 0xffff
jne 0x417986
repz ret
ror rcx, 0x10
jmp 0x41b88c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0043fbb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x0043fca8]
mov qword [rsp + 0x58], r11
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 0x41b911
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, [0x0043fbb0]
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 0x41b933
mov rax, qword [rsp + 0x88]
mov qword [0x0043fca8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0043fc48], rax
mov rax, qword [0x0043fca8]
mov qword [0x0043fb20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0043fc30], rax
mov dword [0x0043fb10], 0xc0000409
mov dword [0x0043fb14], 1
mov rax, qword [0x0043a0c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0043a0c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0043fba8], eax
mov ecx, 1
call fcn.0041d564
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0042ea40]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0043fba8], 0
jne 0x41b9ba
mov ecx, 1
call fcn.0041d564
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 0x4213d4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.0041b438
xor ebx, ebx
mov rdi, rax
cmp qword [0x00440450], rbx
jne 0x4214da
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x4215af
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4215af
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x0042eba8]
mov rcx, rsi
mov qword [0x00440450], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x0042eb90]
mov rcx, rsi
mov qword [0x00440458], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x00440460], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x00440470], rax
test rax, rax
je 0x4214d1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x00440468], rax
jmp 0x4214e1
mov rax, qword [0x00440468]
jmp 0x4214e8
mov rax, qword [0x00440468]
mov r11, qword [0x00440470]
cmp rax, rdi
je 0x421550
cmp r11, rdi
je 0x421550
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x00440470]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x421550
test rax, rax
je 0x421550
call rsi
test rax, rax
je 0x42154a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x42154a
test byte [rsp + 0x38], 1
jne 0x421550
bts ebp, 0x15
jmp 0x42158e
mov rcx, qword [0x00440458]
cmp rcx, rdi
je 0x42158e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x42158e
call rax
mov rbx, rax
test rax, rax
je 0x42158e
mov rcx, qword [0x00440460]
cmp rcx, rdi
je 0x42158e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x42158e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x00440450]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x4215af
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x4215b1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140024900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140024924
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x1400249a5
mov byte [rsp], 0
jmp 0x14002493d
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x1400249a0
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x140024934
jmp 0x140024919
add rsp, 0x18
ret

Function at 0x140024d60
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x70]
mov qword [rax], 0
mov rax, qword [rsp + 0x78]
mov dword [rax], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jbe 0x140024e5f
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
add eax, 1
mov eax, eax
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1401fca8c
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
inc eax
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rcx]
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov r9, qword [rax]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x1400250e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov ecx, 0x98
call fcn.14006df5c
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002512c
mov rcx, qword [rsp + 0x50]
call fcn.14001f370
mov qword [rsp + 0x48], rax
jmp 0x140025135
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x118]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x128]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x120]
call fcn.1400061b0
xor r9d, r9d
mov r8, rax
lea rdx, [rsp + 0x80]
lea rcx, [0x14032af98]
call fcn.140026180
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400211f0
nop
lea rcx, [rsp + 0x80]
call fcn.140020590
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x130]
mov dword [rax + 0x90], ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x140040b40]
xor edx, edx
xor ecx, ecx
call fcn.1401fd224
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x138], 0
je 0x14002521e
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
jmp 0x140025229
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
je 0x14002523b
mov dword [rsp + 0x38], 1
jmp 0x140025243
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x120]
call fcn.140006170
mov eax, dword [rsp + 0x3c]
add rsp, 0x108
ret