joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400067a4
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], select
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x34], eax
jmp 0x140006800
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x34], eax
jl 0x14000689f
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x38], 0
jmp 0x14000682a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jge 0x140006862
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140006860
jmp 0x140006862
jmp 0x140006820
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jne 0x140006876
mov eax, 0xffffffff
jmp 0x14000692a
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400067f0
cmp dword [rsp + 0x34], 0
jle 0x140006913
mov dword [rsp + 0x3c], 0
jmp 0x1400068ba
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jge 0x1400068f2
xor r9d, r9d
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x1400068f0
jmp 0x1400068f2
jmp 0x1400068b0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jne 0x140006903
mov eax, 0xffffffff
jmp 0x14000692a
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x20], eax
jne 0x140006925
mov eax, dword [rsp + 0x20]
jmp 0x14000692a
mov eax, 0xffffffff
add rsp, 0x48
ret

Function at 0x140006d64
Capabilities:
Initialize winsock library

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400221d8]
xor rax, rbp
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140006db5
mov eax, dword [rsp]
mov eax, 0x1a0
sub rsp, rax
lea rax, [rsp + 0x20]
mov ecx, dword [rax]
mov qword [rbp], rax
movzx eax, byte [rbp + 0x48]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rbp + 0x40]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
mov rdx, qword [rbp]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rbp + 0x30]
mov dword [rcx], eax
mov rax, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x10]
xor rcx, rbp
call fcn.14000cb80
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140007110
Capabilities:
Create thread
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x58], 0x598
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x21c], 0
jne 0x140007150
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x23c], ecx
jmp 0x14000717e
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x58]
cmp dword [rax + 0x21c], ecx
jbe 0x140007168
xor eax, eax
jmp 0x14000736c
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x21c]
mov dword [rax + 0x23c], ecx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x8c], 0
mov rcx, qword [rsp + 0x70]
call fcn.140007374
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 5
mov edx, 1
mov rcx, rax
call fcn.140006eac
mov dword [rsp + 0x54], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140006e70
lea rcx, [0x140027508]
call fcn.140006c70
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
jne 0x14000720b
lea rcx, [0x140027508]
call fcn.140006c70
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov dword [rsp + 0x50], 0x40000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov r8d, 0x1001
mov edx, 0xffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x50], 0x40000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov r8d, 0x1002
mov edx, 0xffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
movzx r8d, word [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140007494
test eax, eax
je 0x140007300
mov rax, qword [rsp + 0x70]
add rax, 0x80
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
lea r8, [0x1400077c0]
xor edx, edx
xor ecx, ecx
call fcn.14000d5a8
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x78], 0
je 0x1400072e2
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x70]
add rax, 0x40
mov rcx, rax
call fcn.140007044
jmp 0x1400072fe
mov r9d, 0x65f
lea r8, [0x14001e018]
mov edx, 8
mov rcx, qword [rsp + 0x70]
call fcn.1400087f4
jmp 0x14000731f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, str.CUdpSocket::Start
mov edx, 0xb
mov rcx, qword [rsp + 0x70]
call fcn.1400087f4
cmp dword [rsp + 0x54], 0
jne 0x140007368
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 5
xor edx, edx
mov rcx, rax
call fcn.140006eac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x70]
call fcn.140008404
mov ecx, dword [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret
Function at 0x140007aec
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140007b35
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x2733
jne 0x140007b35
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x68]
lea rcx, str._C_CNNID:__Iu__send_0_bytes__detect_package__n
call fcn.140005ba0
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140008020
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
cmp eax, 1
je 0x1400081bf
xor r9d, r9d
mov r8d, 0x598
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0xa0]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140008153
cmp dword [rsp + 0x30], 0x10
jne 0x1400080be
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x14001e008]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa0]
call fcn.1400145e0
test eax, eax
jne 0x1400080be
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 5
mov edx, 1
mov rcx, rax
call fcn.140006eac
xor eax, eax
jmp 0x1400081c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x50]
add rax, 0x268
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x244]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x250]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0xa0]
mov rcx, rax
call fcn.140009880
cmp eax, 2
jne 0x140008151
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x68]
lea rcx, str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.140005ba0
mov ecx, 0x4c7
call fcn.140006d38
mov rcx, qword [rsp + 0x50]
add rcx, 0x48
mov dword [rsp + 0x20], 1
mov r9d, eax
mov r8d, 4
mov edx, 1
call fcn.140006eac
xor eax, eax
jmp 0x1400081c4
jmp 0x1400081ba
cmp dword [rsp + 0x30], 0xffffffff
jne 0x1400081ba
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x2733
jne 0x140008172
jmp 0x1400081bf
cmp dword [rsp + 0x34], 0x2744
je 0x140008186
cmp dword [rsp + 0x34], 0x2746
jne 0x14000818d
jmp 0x140008029
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x34]
mov r8d, 4
mov edx, 1
mov rcx, rax
call fcn.140006eac
xor eax, eax
jmp 0x1400081c4
jmp 0x140008029
mov eax, 1
add rsp, 0x48
ret
Function at 0x1400081cc
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
xor eax, eax
cmp eax, 1
je 0x140008391
mov rcx, qword [rsp + 0x80]
call fcn.14000839c
mov rcx, qword [rsp + 0x80]
add rcx, 0xb8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140009960
lea rcx, [rsp + 0x30]
call fcn.140009920
movzx eax, al
test eax, eax
je 0x140008376
lea rcx, [rsp + 0x30]
call fcn.140009950
mov rcx, rax
call fcn.1400017ac
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x30]
call fcn.140009950
mov rcx, rax
call fcn.140006d28
xor r9d, r9d
mov ecx, dword [rsp + 0x64]
mov r8d, ecx
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x1400082bd
mov rax, qword [rsp + 0x80]
add rax, 0x1b8
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001b30
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x218]
sub eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x218], eax
lea rcx, [rsp + 0x48]
call fcn.140001b64
jmp 0x140008374
cmp dword [rsp + 0x40], 0xffffffff
jne 0x140008374
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x2733
jne 0x140008330
mov rax, qword [rsp + 0x80]
add rax, 0x1b8
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001b30
lea rcx, [rsp + 0x30]
call fcn.1400098f4
mov rcx, qword [rsp + 0x80]
add rcx, 0x1e0
mov rdx, rax
call fcn.1400094c8
lea rcx, [rsp + 0x58]
call fcn.140001b64
lea rcx, [rsp + 0x30]
call fcn.140009990
jmp 0x140008391
mov rax, qword [rsp + 0x80]
add rax, 0x48
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x50]
mov r8d, 3
mov edx, 1
mov rcx, rax
call fcn.140006eac
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x30]
call fcn.140009990
mov eax, dword [rsp + 0x60]
jmp 0x140008396
jmp 0x140008382
lea rcx, [rsp + 0x30]
call fcn.140009990
jmp 0x140008391
lea rcx, [rsp + 0x30]
call fcn.140009990
jmp 0x1400081d5
mov eax, 1
add rsp, 0x78
ret

Function at 0x1400086bc
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.1400070bc
test eax, eax
jne 0x1400086d5
jmp 0x14000870b
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x54], 0
je 0x1400086ff
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x14001e008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1400070e0
add rsp, 0x28
ret
Function at 0x140008b5c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x14001e1e8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
lea rdx, [0x14001e208]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rdx, str.CUdpSocket::Connect
lea rcx, [0x14001db8c]
call fcn.140005ba0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x1c]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x38], 0xca
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x39], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x8c]
cmp eax, 3
je 0x140008c3f
mov rcx, qword [rsp + 0x80]
call fcn.140008404
mov word [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140007110
mov dword [rsp + 0x44], eax
mov edx, 0x1770
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140008ca1
cmp dword [rsp + 0x64], 0x102
je 0x140008cfc
cmp dword [rsp + 0x64], 0xffffffff
je 0x140008d0d
jmp 0x140008d1e
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov ecx, 1
xchg dword [rax], ecx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x80]
lea r8, [0x140008d2c]
xor edx, edx
xor ecx, ecx
call fcn.14000d5a8
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x360], rax
mov al, 1
jmp 0x140008d24
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x140008d24
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x140008d24
xor al, al
jmp 0x140008d24
add rsp, 0x70
pop rdi
ret

Function at 0x14000a848
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x14000a61c]
xor edx, edx
xor ecx, ecx
call fcn.14000d5a8
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x30], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x40]
call fcn.1400056b0
add rsp, 0x38
ret
Function at 0x14000c528
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
call fcn.14000bd50
lea rcx, [0x14001dba0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x14001db90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000c1e0]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x30]
mov qword [0x1400274f0], rax
mov edx, 0xffffffff
mov rcx, qword [0x1400274f0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400274f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x48
ret

Function at 0x14000db57
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400221d8]
jne 0x14000cb9a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cb96
repz ret
ror rcx, 0x10
jmp 0x14000dab0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400242b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400243a8]
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 0x14000db35
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, [0x1400242b0]
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 0x14000db57
mov rax, qword [rsp + 0x88]
mov qword [0x1400243a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140024348], rax
mov rax, qword [0x1400243a8]
mov qword [0x140024220], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140024330], rax
mov dword [0x140024210], 0xc0000409
mov dword [0x140024214], 1
mov rax, qword [0x1400221d8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400221e0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400242a8], eax
mov ecx, 1
call fcn.140010cb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001b5c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400242a8], 0
jne 0x14000dbde
mov ecx, 1
call fcn.140010cb0
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 0x14000e210
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000e080
Function at 0x140011178
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400221d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000f8dc
xor ebx, ebx
cmp qword [0x140025320], rbx
mov rdi, rax
jne 0x14001128b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140011362
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011362
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140025320], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140025328], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140025330], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140025340], rax
test rax, rax
je 0x140011282
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140025338], rax
jmp 0x140011292
mov rax, qword [0x140025338]
jmp 0x140011299
mov rax, qword [0x140025338]
mov r11, qword [0x140025340]
cmp rax, rdi
je 0x140011300
cmp r11, rdi
je 0x140011300
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140025340]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140011300
test rax, rax
je 0x140011300
call rsi
test rax, rax
je 0x1400112fa
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400112fa
test byte [rsp + 0x40], 1
jne 0x140011300
bts ebp, 0x15
jmp 0x140011340
mov rcx, qword [0x140025328]
cmp rcx, rdi
je 0x140011340
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011340
call rax
mov rbx, rax
test rax, rax
je 0x140011340
mov rcx, qword [0x140025330]
cmp rcx, rdi
je 0x140011340
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011340
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140025320]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011362
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140011364
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000cb80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400110e1
Capabilities:
Create thread

Disassembly:
jmp 0x140012530
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14002a244]
call fcn.140011483
call fcn.14001134d
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400112bc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140011438]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400111bd]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400112ad]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140011073]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400111a9]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400114f6]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x14001f170], 0x708
jl 0x140012700
jmp 0x140012702
jmp 0x1400126f2
xor eax, eax
jmp 0x140012708
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400112a3
Capabilities:
Terminate process

Disassembly:
jmp 0x140014800
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011339
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015b90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015bb0
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015bc3
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015bed
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015c01
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015c13
xor al, al
jmp 0x140015c31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015c2f
xor al, al
jmp 0x140015c31
mov al, 1
add rsp, 0x38
ret
Function at 0x14102d06c
Capabilities:
Encode data using xor

Disassembly:
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14102d095
pop rbp
sub rbp, 0x29
sub rbp, 0x102d06c
jmp 0x14102d0f5
sub rsp, 0x20
jmp 0x14102d105
mov rax, 0x102d06c
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0x7e969cb
xor byte [rax], dl
inc rax
dec rcx
jne 0x14102d124
jmp 0x14102d13b
add dword [rdx + 0x22], 0x40
test ebx, 0x4a83cbcb
or al, bl
retf 0xcbcb