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

Disassembly:
cmp edx, 0x1f
jne 0x140097d28
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140097be5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140097be5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140097be5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140097c1c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140097c72
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140097c72
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140097c72
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140097c72
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140097c72
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140097630
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140097cd4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140073db0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140097a00
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140097d20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140073db0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140099490
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14014a080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140099525
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140099586
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140073db0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ac630
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140099641
sub ecx, 1
je 0x1400996b4
sub ecx, 1
je 0x1400995f0
cmp ecx, 1
je 0x1400995d3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14013a128]
call fcn.140073db0
jmp 0x1400996b4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400991c0
test eax, eax
je 0x1400996b4
jmp 0x14009955a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400996b4
sub rax, rsi
cmp rax, rbp
jae 0x1400996b4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140073f30
jmp 0x1400996b4
cmp r8d, 4
jle 0x1400996b4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400996b4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140073cd0
mov esi, eax
test eax, eax
je 0x140099693
mov edx, 5
mov rcx, rbx
call fcn.14009a180
mov eax, esi
jmp 0x14009955a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400825b0
mov rcx, r14
call fcn.140082890
test eax, eax
je 0x140099558
mov edx, 5
mov rcx, rbx
call fcn.14009a180
mov eax, Ordinal_45
jmp 0x14009955a
Function at 0x1400ac450
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400ac492
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400ac4d9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400ac532
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400ac4f0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400ac573
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400be462]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400be463]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400ac540
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400ad608
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ad652
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ad652
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ad652
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ad652
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ad652
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ad654
xor al, al
add rsp, 0x28
ret
Function at 0x14000f680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
mov r14, r8
xor ecx, ecx
mov qword [r8], 0
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000f791
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000f791
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebp
mov rdx, rdi
mov rcx, rax
call fcn.140063c90
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x14000f76b
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rbp
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], eax
jmp 0x14000f76d
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
jmp 0x14000f793
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000fc10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x1400bd080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14000fc80
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400021c0
mov dword [rsp + 0x30], 1
mov r8d, 0xd
lea rdx, str.FLiNGTrainer
mov rcx, rbx
call fcn.140001100
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400457c0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140020520
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400bd080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400c27b8]
mov rbx, rax
test rax, rax
jne 0x1400206a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140010680
nop
lea r8, [0x1400c2ba0]
cmp qword [0x1400c2bb8], 8
cmovae r8, qword [0x1400c2ba0]
mov r9, qword [0x1400c2bb0]
mov rcx, rax
call fcn.14000b780
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400c2980]
cmp qword [0x1400c2998], 8
cmovae r8, qword [0x1400c2980]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002064a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020645
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206eb
call fcn.1400457e4
movdqa xmm0, xmmword [0x1400a6b60]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002069e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020699
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400206e5
call fcn.1400457e4
xor al, al
jmp 0x1400206c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400457c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140066d2c
nop
call fcn.140066d2c
nop
int3
Function at 0x14003c17c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
xor r10d, r10d
sar r8, 1
movabs rax, 0xcbf29ce484222325
add r8, r8
mov r9, rdx
lea rcx, [r8 + rdx]
cmp rdx, rcx
cmova r8, r10
test r8, r8
je 0x14003c1c8
movzx ecx, byte [r9]
movabs r10, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, rdx
imul rax, r10
cmp rcx, r8
jne 0x14003c1a5
ret

Function at 0x140043a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
mov r10, r8
sub r10, rdx
movabs rax, 0xcbf29ce484222325
cmp rdx, r8
mov r9, rdx
cmova r10, rcx
test r10, r10
je 0x140043a44
movzx ecx, byte [r9]
movabs r8, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, rdx
imul rax, r8
cmp rcx, r10
jne 0x140043a21
ret

Function at 0x1400492ac
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400492bf
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400498cc
lea rdx, [0x1400ba288]
lea rcx, [rsp + 0x20]
call fcn.140064290
int3

Function at 0x140053b48
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400c1670]
xor edx, edx
jmp fcn.1400492ac

Function at 0x1400544e0
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400c1670]
jmp fcn.1400492ac

Function at 0x14006012c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400601e8]
mov r9, qword [r9 + 8]
jmp fcn.140051500

Function at 0x1400601c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400601f8]
mov r9, qword [r9 + 8]
jmp fcn.140051500
Function at 0x14018f000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.14018f0d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rcx
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
push rsi
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14018f037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14018f02d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x14018f0cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14018f0cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x14018f0ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x14018f081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x14018f072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x14018f021
Function at 0x1400010a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r10d, dword [rsp + 0x68]
mov r8d, ecx
xor r8d, 0x17c3
mov esi, r9d
mov eax, r8d
mov edi, ecx
xor eax, 0x173
lea r11d, [r10 - 0x1e18]
mov ebx, r11d
cmp r11d, eax
jg 0x140001284
mov eax, r11d
xor eax, 0x10ee
cmp ebx, eax
je 0x1400012a2
mov r10, qword [rsp + 0x60]
lea rax, [0x140047fe0]
add ebx, 0x1f34
xor r14d, r14d
mov qword [r10 + 0x90], rax
mov ecx, dword [r10 + 0x138]
sub ecx, dword [r10 + 0x128]
mov rdx, qword [section..data]
mov rax, qword [rdx + 0x90]
mov r9d, dword [r14 + rax]
add r14, 4
mov eax, dword [0x14003b034]
add eax, 0xd5863
add ecx, eax
mov dword [0x14003b034], ecx
mov eax, dword [r10 + 0x104]
or dword [rdx + 0x138], eax
imul r9d, dword [r10 + 0x34]
mov eax, dword [r10 + 0x5c]
add dword [r10 + 0x38], eax
mov ecx, dword [r10 + 0x54]
mov rdx, qword [section..data]
inc ecx
mov eax, dword [rdx + 0xf4]
imul eax, ecx
mov dword [rdx + 0xf4], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 4]
sub dword [r10 + 0x54], ecx
mov eax, dword [r10 + 0x40]
mov ecx, dword [0x14003b0fc]
sub eax, 0x6b655
imul ecx, eax
mov eax, dword [0x14003b014]
mov dword [0x14003b0fc], ecx
mov rcx, qword [section..data]
or dword [rcx + 0x128], eax
mov eax, dword [0x14003b0b0]
mov ecx, dword [r10 + 0x5c]
add eax, 0xffc82492
mov rdx, qword [section..data]
add ecx, eax
xor dword [rdx + 0x3c], ecx
mov edx, r9d
movsxd rcx, dword [r10 + 0x74]
mov rax, qword [r10 + 0xd8]
shr edx, 0x18
mov byte [rcx + rax], dl
mov edx, r9d
inc dword [r10 + 0x74]
mov rax, qword [section..data]
shr edx, 0x10
movsxd rcx, dword [rax + 0x74]
mov rax, qword [r10 + 0xd8]
mov byte [rcx + rax], dl
mov edx, r9d
mov rax, qword [section..data]
shr edx, 8
inc dword [rax + 0x74]
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x74]
mov rax, qword [0x14003b0e8]
mov byte [rcx + rax], dl
mov rax, qword [section..data]
inc dword [rax + 0x74]
movsxd rcx, dword [0x14003b084]
mov rax, qword [r10 + 0xd8]
mov byte [rcx + rax], r9b
inc dword [0x14003b084]
cmp r14, 0x11f10
jl 0x140001110
lea eax, [rsi + 0x3c7]
xor r8d, 0xab2
lea r9d, [r11 + 0xd13]
mov dword [rsp + 0x20], eax
lea ecx, [rdi - 0x2c7]
lea rdx, [0x14003b010]
call fcn.14001acfc
jmp 0x1400012a2
mov rdx, qword [rsp + 0x60]
lea ecx, [r10 + 0xfda]
and ecx, r10d
mov eax, dword [rdx + 0xd0]
imul eax, ecx
mov dword [rdx + 0xd0], eax
mov rsi, qword [rsp + 0x48]
lea eax, [rbx - 0x11a6]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140001560
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r15d, dword [rsp + 0x80]
lea ebp, [rdx - 0x499]
add r15d, 0xfffffee4
lea eax, [rdx + 0x36e]
mov rsi, r8
mov r14d, edx
cmp ebp, eax
je 0x14000164b
mov eax, dword [r8 + 0x154]
mov ecx, dword [r8 + 0x40]
add ecx, 0x19a981
imul eax, ecx
mov ecx, dword [r8 + 0x98]
mov dword [r8 + 0x154], eax
mov eax, 0xfff021fc
xor ecx, dword [0x14003b0fc]
sub eax, ecx
add dword [r8 + 0x70], eax
mov rdx, qword [section..data]
mov eax, dword [0x14003b098]
cmp dword [rdx + 0x70], eax
jbe 0x140001608
mov eax, dword [r8 + 0xd0]
xor eax, dword [r8 + 0x88]
add eax, 0x809d8
xor dword [rdx + 0x10c], eax
mov rdx, qword [section..data]
jmp 0x140001615
mov eax, dword [r8 + 0x150]
xor dword [0x14003b048], eax
mov ecx, dword [r8 + 0x120]
cmp dword [0x14003b0d8], ecx
jne 0x140001636
mov eax, dword [r8 + 0x1c]
sub eax, 0x1f902
add dword [r8 + 0x68], eax
jmp 0x140001726
add ecx, 0x55eb1
add ecx, dword [r8 + 0x110]
add dword [rdx + 0x68], ecx
jmp 0x140001726
mov eax, dword [r8 + 0x114]
and eax, dword [r8 + 0xec]
mov rdx, qword [section..data]
add eax, dword [0x14003b07c]
cmp dword [rdx + 0x138], eax
jae 0x140001726
mov eax, dword [rdx + 0x150]
imul eax, dword [r8 + 0x38]
imul eax, eax, 0x1f34
cmp dword [0x14003b148], eax
je 0x140001726
mov edi, dword [rdx + 0x44]
mov eax, 0x12ab
mov r9d, dword [rdx + 0xc8]
mov ecx, dword [r8 + 0x100]
mov r11d, dword [r8 + 0x30]
sub r11d, dword [r8 + 0x154]
add r9d, dword [r8 + 0x12c]
mov ebx, dword [r8 + 0x4c]
mov r10d, dword [r8 + 0x50]
sub ebx, r15d
add edi, dword [0x14003b120]
mov r8d, r14d
mov edx, dword [rsi + 0x13c]
and r10d, eax
xor r9d, dword [0x14003b04c]
or r14d, eax
imul eax, r14d, 0x14f1
and edx, 0x1056
sub r8d, ecx
sub edx, ecx
or rdi, 0x10c0
xor ebx, 0x1ab2
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r11d
movsxd rcx, eax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [rsi + 0x5c]
imul ecx, r15d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rbx, qword [rsp + 0x60]
xor ebp, 0x65a
mov rsi, qword [rsp + 0x70]
mov eax, ebp
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140004514
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov ecx, dword [rsp + 0x28]
xor edx, 0x19d4
mov r11d, dword [rsp + 0x30]
xor ecx, 0x69c
xor r11d, 0xce8
mov r10, r8
lea eax, [rdx + 0x1105]
cmp ecx, eax
je 0x1400046a7
mov eax, dword [r8 + 0xb0]
cmp dword [0x14003b098], eax
je 0x140004565
lea rax, [0x14003b170]
mov qword [r8 + 0x90], rax
jmp 0x140004571
mov eax, dword [0x14003b130]
xor dword [0x14003b02c], eax
xor ebx, ebx
mov eax, dword [0x14003b14c]
mov ecx, dword [r10 + 0x128]
add eax, 0xffffffc0
imul ecx, eax
mov dword [r10 + 0x128], ecx
mov eax, dword [0x14003b124]
mov ecx, dword [r10 + 0x120]
xor ecx, dword [0x14003b014]
xor ecx, 1
imul eax, ecx
mov dword [0x14003b124], eax
mov rax, qword [0x14003b0a0]
movsxd rcx, dword [r10 + 0x74]
mov r9d, dword [rbx + rax]
add rbx, 4
imul r9d, dword [r10 + 0x34]
mov rax, qword [0x14003b0e8]
mov edx, r9d
mov r8d, r9d
shr edx, 0x18
mov byte [rcx + rax], dl
inc dword [r10 + 0x74]
mov rax, qword [section..data]
movsxd rdx, dword [r10 + 0x74]
shr r8d, 0x10
mov rcx, qword [rax + 0xd8]
mov byte [rdx + rcx], r8b
mov edx, r9d
inc dword [r10 + 0x74]
mov rcx, qword [section..data]
mov eax, dword [r10 + 0x154]
shr edx, 8
or dword [rcx + 0xf4], eax
mov ecx, dword [0x14003b078]
mov eax, dword [r10 + 0xb0]
xor ecx, 0x146751
imul eax, ecx
mov dword [r10 + 0xb0], eax
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x74]
mov rax, qword [0x14003b0e8]
mov byte [rcx + rax], dl
mov rax, qword [section..data]
inc dword [rax + 0x74]
movsxd rcx, dword [r10 + 0x74]
mov rax, qword [0x14003b0e8]
mov byte [rcx + rax], r9b
inc dword [r10 + 0x74]
mov ecx, dword [r10 + 0x40]
mov rdx, qword [section..data]
xor ecx, 0x6b657
mov eax, dword [rdx + 0x1c]
imul eax, ecx
mov dword [rdx + 0x1c], eax
mov eax, dword [0x14003b034]
imul eax, dword [r10 + 0xb0]
mov dword [0x14003b034], eax
cmp rbx, 0x6d8
jl 0x140004573
mov dword [r10 + 0x34], 0x172
jmp 0x1400046e4
mov r8d, dword [r8 + 0xfc]
mov r9d, ecx
sub r8d, edx
mov eax, r8d
and eax, ecx
cmp ecx, eax
jae 0x1400046e4
mov rax, qword [section..data]
mov edx, dword [rax + 0xb0]
xor edx, dword [r10 + 0x40]
xor edx, 0x1e18
add ecx, edx
mov eax, r8d
and eax, ecx
add r9d, 3
cmp r9d, eax
jb 0x1400046d4
mov rbx, qword [rsp + 8]
lea eax, [r11 - 0xa8b]
ret