joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011154
Capabilities:
Create process on windows

Disassembly:
jmp 0x1400119b0
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1400240f8]
call fcn.140011429
lea rcx, str.EasyAntiCheat.exe
call fcn.1400111bd
test eax, eax
je 0x1400119e7
lea rcx, str.FortniteClient_Win64_Shipping_EAC.exe
call fcn.1400111bd
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.C:Program_FilesEpic_GamesFortniteFortniteGameBinariesWin64FortniteClient_Win64_Shipping_BE.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, str.BE_Succesfully_Executed
call fcn.14001144c
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400111bd
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400124f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x140024221]
call fcn.140011429
xor edx, edx
mov ecx, 2
call fcn.14001120d
mov qword [rbp + 8], rax
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400112a3
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
je 0x140012584
jmp 0x140012593
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x1400125b0
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400113d4
test eax, eax
jne 0x14001256d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ae90]
call fcn.1400113b1
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.140011221
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret

Function at 0x14001126c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013c40
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 0x14001130c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014f90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014fb0
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014fc3
xor al, al
jmp 0x140015031
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 0x140014fed
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015001
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015013
xor al, al
jmp 0x140015031
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001502f
xor al, al
jmp 0x140015031
mov al, 1
add rsp, 0x38
ret
Function at 0x1800013f0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov ebx, r9d
mov dword [rsp + 0x20], 0xf0000000
mov rdi, r8
lea rcx, [rsp + 0x30]
mov ebp, 1
xor r8d, r8d
mov r9d, ebp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180001440
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x180020af0]
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, __WSAFDIsSet
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x18000142e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x18000142e
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x18000142e
mov r9, qword [rsp + 0x38]
xor bl, bl
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
mov rcx, qword [rsp + 0x50]
test eax, eax
movzx ebx, bl
cmovne ebx, ebp
test rcx, rcx
je 0x1800014f2
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180001504
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbp, qword [rsp + 0x60]
movzx eax, bl
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180001520
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor r15d, r15d
mov rdi, r8
mov r14, rdx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000157b
xor al, al
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x78], rbp
mov rcx, rsi
mov qword [rsp + 0x40], r15
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebp, dword [rsp + 0x40]
mov ecx, 0x40
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [r14], rax
test rax, rax
jne 0x1800015b9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18000162e
mov qword [rsp + 0x70], rbx
mov ebx, ebp
mov dword [rdi], r15d
test ebp, ebp
jle 0x180001607
nop word [rax + rax]
mov rdx, qword [r14]
lea r9, [rsp + 0x88]
mov r8d, ebx
mov dword [rsp + 0x88], r15d
mov rcx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x180001607
add dword [rdi], eax
sub ebx, eax
test ebx, ebx
jg 0x1800015d0
mov rcx, rsi
mov rbx, qword [rsp + 0x70]
cmp dword [rdi], ebp
je 0x180001626
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x18000162e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret

Function at 0x180001650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edi, r8d
mov dword [rsp + 0x28], 0x80
mov rsi, rdx
mov dword [rsp + 0x68], 0
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x1800016ca
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
test eax, eax
jne 0x1800016dc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov al, 1
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180001b40
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov rsi, r8
mov rcx, qword [rcx]
mov rbp, rdx
test rcx, rcx
je 0x180001b71
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180001b80
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x180001b8f
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r14d, r14d
lea rcx, str.Mozilla_4.0__compatible__MSIE_6.1__Windows_NT_
cmp byte [rdi + 0x19c], r14b
mov eax, 0x84a03300
mov ebx, 0x84200200
mov qword [rdi], r14
cmovne ebx, eax
mov qword [rdi + 8], r14
xor r9d, r9d
mov qword [rdi + 0x10], r14
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rdi], rax
test rax, rax
jne 0x180001bda
xor eax, eax
jmp 0x180001d39
movzx r8d, word [rdi + 0x98]
lea rdx, [rdi + 0x18]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov dword [rsp + 0x30], r14d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rdi + 8], rax
test rax, rax
je 0x180001bd3
mov qword [rsp + 0x38], r14
lea r8, [rdi + 0x9c]
mov dword [rsp + 0x30], ebx
lea rdx, [0x18001c438]
mov qword [rsp + 0x28], r14
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x180001bd3
cmp byte [rdi + 0x19c], r14b
je 0x180001c71
mov r9d, 4
mov dword [rsp + 0x40], 0x3380
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [r9 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x180001bd3
cmp byte [rdi + 0x19d], r14b
je 0x180001cd9
or ecx, 0xffffffff
mov ebx, r14d
mov dword [rsp + 0x40], ecx
test ecx, ecx
je 0x180001cd5
lea eax, [rbx + 0x1000]
cmp dword [rsi], eax
jbe 0x180001cd5
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x40]
mov edx, ebx
mov r8d, 0x1000
add rdx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x40]
add ebx, ecx
test eax, eax
jne 0x180001ca3
mov dword [rsi], ebx
jmp 0x180001cdc
mov dword [rsi], r14d
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x44]
xor eax, eax
mov byte [rsp + 0x48], r14b
lea r8, [rsp + 0x48]
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov qword [rsp + 0x59], rax
lea edx, [rax + 0x13]
mov dword [rsp + 0x61], eax
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
mov dword [rsp + 0x44], 0x20
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
lea rcx, [rsp + 0x48]
call fcn.180008ffc
mov rcx, rdi
mov ebx, eax
call fcn.180001af0
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180003260
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180001e50
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea eax, [rdx - 1]
cmp eax, 1
ja 0x180001e7b
xor eax, eax
mov r9, r8
mov qword [rsp + 0x28], rax
lea r8, [0x180001d60]
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180002f10
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, r8d
mov rdi, rdx
xor r8d, r8d
mov ebp, 2
mov ecx, ebp
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
test rax, rax
jne 0x180002f54
xor eax, eax
jmp 0x180002fd5
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x180002f4d
xor eax, eax
mov word [rsp + 0x28], bp
movzx ecx, si
mov qword [rsp + 0x2a], rax
mov dword [rsp + 0x32], eax
mov word [rsp + 0x36], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2a], ax
mov r8d, reloc.WS2_32.dll_recv
mov rax, qword [rdi + 0x18]
lea rdx, [rsp + 0x28]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov rcx, rbx
mov dword [rsp + 0x2c], eax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x180002f4d
mov rdx, rbx
call fcn.1800031a0
mov ecx, 0x428
call fcn.180003284
lea rcx, vtable.Listener::Tcp.0
mov qword [rsp + 0x20], rax
mov qword [rax], rcx
mov qword [rax + 0x420], rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180003260
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [rcx + 0x420]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test eax, eax
jne 0x180003015
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
jns 0x18000302b
call fcn.1800090e0
cmp dword [rax], 4
jne 0x18000300c
call fcn.1800090e0
cmp dword [rax], 0x1c
je 0x18000300c
mov eax, ebx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x420]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edx, eax
lea ecx, [rax + 1]
or eax, 0xffffffff
cmp ecx, 1
cmova eax, edx
add rsp, 0x28
ret

Function at 0x1800030d0
Capabilities:
Get socket status

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rcx + 0x420]
lea r8, [rcx + 0x210]
xor ebx, ebx
mov r10, rcx
mov dword [rcx + 8], ebx
mov r9d, ebx
mov dword [r8], ebx
mov qword [rcx + 0x10], rax
inc dword [rcx + 8]
mov ecx, dword [r8]
test ecx, ecx
je 0x180003125
mov edx, dword [r10 + 0x420]
nop word [rax + rax]
mov eax, r9d
cmp qword [r10 + rax*8 + 0x218], rdx
je 0x180003125
inc r9d
cmp r9d, ecx
jb 0x180003110
cmp r9d, ecx
jne 0x180003144
cmp ecx, 0x40
jae 0x180003144
mov ecx, dword [r10 + 0x420]
mov eax, r9d
mov qword [r10 + rax*8 + 0x218], rcx
inc dword [r8]
mov ecx, dword [r10 + 0x420]
lea rax, [rsp + 0x40]
inc ecx
mov qword [rsp + 0x40], 0x12c
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, [r10 + 8]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x18000317d
call fcn.1800090e0
cmp dword [rax], 4
jne 0x180003181
test ebx, ebx
jne 0x18000318a
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1800031a0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov dword [rsp + 0x50], 1
mov rcx, rbx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x180003233
xor ecx, ecx
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov edx, 0x98000004
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 0xc]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov dword [rsp + 0x5c], 0x2bf20
mov dword [rsp + 0x60], 0x3e8
call qword [sym.imp.WS2_32.dll_WSAIoctl]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180003260
add rsp, 0x70
pop rbx
ret

Function at 0x180003c2c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180003cbd
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x180003cbd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180003cbd
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180003ca1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180003c9b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180003ca3
add rdx, 0x28
jmp 0x180003c80
xor edx, edx
test rdx, rdx
jne 0x180003cac
xor al, al
jmp 0x180003cc3
test dword [rdx + 0x24], 0x80000000
je 0x180003cb9
xor al, al
jmp 0x180003cc3
mov al, 1
jmp 0x180003cc3
xor al, al
jmp 0x180003cc3
add rsp, 0x18
ret
Function at 0x140856000
Capabilities:
Encode data using xor

Disassembly:
push rsi
push r14
push rbx
movabs rsi, 0x2e8f3c9cf98bd981
lea rbx, section.vffwa
mov r14d, 0x8545bc
jmp 0x140856020
xor byte [rbx], sil
rol rsi, 1
inc rbx
dec r14d
jne 0x140856020
jmp 0x140856038
pop rbx
pop r14
pop rsi
jmp loc.140853121
Function at 0x1413ca000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x1413ca00a
jmp 0x1413cc00f
jmp fcn.140d6b058
Function at 0x140003de0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003e14
cmp word [rcx], 0x5a4d
jne 0x140003e14
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003e14
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003e14
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003d20
test eax, eax
jne 0x140003e30
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003d90
test rax, rax
je 0x140003e25
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400045df
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400044e0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004480
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004944
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1409b0898]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1409b0894]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004992
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000498a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004a79
inc ebx
add rax, 0x28
jmp 0x14000496a
mov rcx, r12
call fcn.140005171
mov rbp, rax
test rax, rax
jne 0x1400049b1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400048e0
movsxd rbx, ebx
mov rax, qword [0x1409b0898]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000521f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1409b0898]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004a13
mov rax, qword [0x1409b0898]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400048e0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004a73
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004a73
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1409b0898]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400048e0
inc dword [0x1409b0894]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004ea0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1409b0900]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409b08e0]
test rbx, rbx
je 0x140004eec
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004ee6
test eax, eax
jne 0x140004ee6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004ebe
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400050a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400050c3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400050c3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400050c4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x1400050fe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x1400050f5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140005100
inc r8d
add rax, 0x28
jmp 0x1400050dc
xor eax, eax
ret

Function at 0x140005171
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409ac8f0]
mov r8, rcx
mov rcx, r9
call fcn.1400050a0
test eax, eax
je 0x14000519d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.1400050c4
xor eax, eax
add rsp, 0x28
ret
Function at 0x140025450
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cx
mov eax, ebx
cmp ebx, 0x11c
ja 0x14002552e
je 0x140025526
sub eax, 0x1d
cmp eax, 0x36
ja case.0x140025553.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x25624]
mov ecx, dword [rdx + rax*4 + 0x255d8]
add rcx, rdx
jmp rcx
mov al, 0xa0
add rsp, 0x20
pop rbx
ret
mov al, 0xa2
add rsp, 0x20
pop rbx
ret
mov al, 0xa4
add rsp, 0x20
pop rbx
ret
mov al, 0x6a
add rsp, 0x20
pop rbx
ret
mov al, 0x6d
add rsp, 0x20
pop rbx
ret
mov al, 0x6b
add rsp, 0x20
pop rbx
ret
mov al, 0x2e
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_ioctlsocket
add rsp, 0x20
pop rbx
ret
mov al, 0x2d
add rsp, 0x20
pop rbx
ret
mov al, 0x26
add rsp, 0x20
pop rbx
ret
mov al, 0x28
add rsp, 0x20
pop rbx
ret
mov al, 0x25
add rsp, 0x20
pop rbx
ret
mov al, 0x27
add rsp, 0x20
pop rbx
ret
mov al, 0x24
add rsp, 0x20
pop rbx
ret
mov al, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, 0x21
add rsp, 0x20
pop rbx
ret
mov al, SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_send
add rsp, 0x20
pop rbx
ret
mov al, 0xd
add rsp, 0x20
pop rbx
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x140025553.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x25684]
mov ecx, dword [rdx + rax*4 + 0x2565c]
add rcx, rdx
jmp rcx
mov al, 0xa1
add rsp, 0x20
pop rbx
ret
mov al, 0xa3
add rsp, 0x20
pop rbx
ret
mov al, 0xa5
add rsp, 0x20
pop rbx
ret
mov al, 0x5b
add rsp, 0x20
pop rbx
ret
mov al, 0x5c
add rsp, 0x20
pop rbx
ret
mov al, 0x90
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_WSAGetLastError
add rsp, 0x20
pop rbx
ret
mov al, 0x5d
add rsp, 0x20
pop rbx
ret
mov al, 0x2c
add rsp, 0x20
pop rbx
ret
bt bx, 8
jae 0x1400255bc
movzx ecx, bl
mov edx, 1
or ecx, 0xe000
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x1400255d0
movzx ecx, bl
mov edx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_MapVirtualKeyW]
add rsp, 0x20
pop rbx
ret
add byte [rsi], ch
sub al, 0x62
mov esp, 0x8e81f80f
scasd eax, dword [rdi]
invalid
invalid
hlt
rcl dword [0x102f0535b], 0xba
jg 0x1402115b9
ret
pop rcx
int 0xb2
retf 0xc980
adc esp, eax
and al, 0xf8
std
or byte [rbx], cl
mov edx, 0x10bd45cf
invalid
lahf
mov esp, 0x63027a16
invalid
retf
xlatb
cmp al, 0xc0
leave
or al, 0x7b
adc bh, 0x97
xchg ecx, eax
cmpsd dword [rsi], dword [rdi]
add bl, byte [rax - 0x53]
ret
invalid