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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x1400547ab
nop
mov rcx, qword [0x1400bfdd8]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400547a5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x1400547c5
add ebx, esi
cmp ebx, edi
jl 0x140054770
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x1400547b0

Function at 0x140060900
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400a2440]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14006094a
call fcn.14004c5f8
mov dword [rax], recv
call fcn.14004c5d8
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140032fd4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004ddd0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140060955
lea eax, [rbx + 1]
jmp 0x140060937
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140060935
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140060937

Function at 0x140065e18
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140033e04
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140065eb9
cmp ebx, dword [rsp + 0x30]
je 0x140065eb2
test esi, esi
je 0x140065eb2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140065e8d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140065e9a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140065e77
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140065e9e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140065ebb
mov eax, 1
jmp 0x140065ebb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140067974
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, [0x140093fd8]
mov rcx, r14
mov rdi, rax
xor ebp, ebp
call qword [sym.imp.USER32.dll_GetPropW]
lea r12d, [rbx + 9]
mov rsi, rax
test rax, rax
je 0x140067a25
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140067a25
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
jne 0x140067a25
mov rcx, qword [0x1400a4490]
lea rdx, [rsi - 1]
call fcn.14000bd28
mov rbx, rax
lea ebp, [r12 - 8]
cmp dword [rax + 0x20], 0
jle 0x140067a25
mov rcx, qword [rax + 8]
xor edx, edx
movsxd rax, dword [rax + 0x20]
add rcx, 4
cmp word [rcx - 2], r12w
jne 0x140067a15
mov r8d, 0xfa01
cmp word [rcx], r8w
je 0x140067a23
inc rdx
add rcx, 6
cmp rdx, rax
jge 0x140067a25
jmp 0x140067a02
xor ebp, ebp
mov sil, 0x80
test rdi, rdi
je 0x140067af5
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x140067af5
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140067af5
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140067af5
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140067af5
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test ebp, ebp
jne 0x140067af5
lea r8d, [rbp + 5]
lea rdx, str.RichE
lea rcx, [rsp + 0x20]
call fcn.14005f01c
test eax, eax
je 0x140067ac5
lea r8d, [rbp + 4]
lea rdx, str.RICHE
lea rcx, [rsp + 0x20]
call fcn.14005f01c
test eax, eax
jne 0x140067ae0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xb
jae 0x140067b5c
lea rdx, str.Scintilla
lea rcx, [rsp + 0x20]
call fcn.140073e48
test eax, eax
je 0x140067b5c
test r14, r14
je 0x140067b37
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140067b2a
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140067b2a
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x140067b37
mov edx, 1
mov rcx, r14
call fcn.140067b78
test rdi, rdi
je 0x140067b51
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
jne 0x140067b5c
test rbx, rbx
je 0x140067b5c
mov rax, qword [rbx + 0x10]
jmp 0x140067b5e
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r12
pop rdi
ret
Function at 0x140069a4c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140069a62
mov al, 1
jmp 0x140069ac2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140069a73
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140069ac0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140060148
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140069ac0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140069ac0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140069ac0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140069ac2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14006e010
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14006d2a0
mov r11d, eax
lea edx, [rax*4]
movsxd r9, edx
test edx, edx
jle 0x14006e08d
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rcx, [rbx + 8]
nop
mov edx, dword [rcx - 8]
add r10, 4
mov eax, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rcx - 8], eax
lea rcx, [rcx + 0x10]
mov eax, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rcx - 0x14]
mov dword [rcx - 0x14], eax
mov eax, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rcx - 0x10]
mov dword [rcx - 0x10], eax
mov eax, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rcx - 0xc]
mov dword [rcx - 0xc], eax
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x14006e040
cmp r11d, 1
jle 0x14006e249
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
add rbx, 4
nop dword [rax + rax]
mov r9d, dword [rbx + 0x10]
lea rbx, [rbx + 0x10]
mov edx, dword [rbx - 4]
movzx eax, byte [rbx - 3]
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x897a0]
movzx eax, byte [rdi + rax*4 + 0x88ba0]
xor r8d, dword [rdi + rax*4 + 0x88fa0]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
movzx eax, byte [rbx - 2]
xor r8d, dword [rdi + rcx*4 + 0x89ba0]
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x893a0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x88ba0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x893a0]
movzx eax, byte [rdi + rcx*4 + 0x88ba0]
xor r8d, dword [rdi + rax*4 + 0x897a0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
movzx eax, r9b
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0x88fa0]
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x89ba0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx], r8d
movzx edx, byte [rdi + rcx*4 + 0x88ba0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x893a0]
movzx eax, byte [rdi + rcx*4 + 0x88ba0]
xor r8d, dword [rdi + rax*4 + 0x897a0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
movzx eax, r9b
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0x88fa0]
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x89ba0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x88ba0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x893a0]
movzx eax, byte [rdi + rcx*4 + 0x88ba0]
xor r8d, dword [rdi + rax*4 + 0x897a0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x88fa0]
movzx ecx, byte [rdi + rax*4 + 0x88ba0]
xor r8d, dword [rdi + rcx*4 + 0x89ba0]
mov dword [rbx + 8], r8d
sub r10, 1
jne 0x14006e0b0
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x140075278
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400752a8
xor eax, eax
jmp 0x14007536b
mov rbp, rbx
cmp word [rax], si
je 0x1400752cd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400752b4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400752b0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140061964
movsxd r14, eax
test eax, eax
jne 0x14007530b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400752a1
mov rcx, r14
call fcn.140033474
mov rdi, rax
test rax, rax
jne 0x140075324
xor ecx, ecx
call fcn.140033438
jmp 0x140075300
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140061964
test eax, eax
jne 0x140075355
mov rcx, rdi
call fcn.140033438
jmp 0x14007535f
xor ecx, ecx
call fcn.140033438
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140075388
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14007540f
mov rsi, rbx
cmp word [rax], bp
je 0x1400753ce
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400753b8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400753b4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140033474
mov rdi, rax
test rax, rax
je 0x1400753fc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000b440
mov rbp, rdi
xor ecx, ecx
call fcn.140033438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400785d8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140036bb8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140078662
cmp byte [rbp - 0x21], r15b
je 0x14007865d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140078698
call fcn.14003459c
test eax, eax
jne 0x140078684
cmp byte [rbp - 0x21], r15b
je 0x14007867c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140078698
cmp byte [rbp - 0x21], r15b
je 0x140078695
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140060eb8
test eax, eax
jne 0x140078738
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140036bb8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400786d7
cmp byte [rbp - 0x21], r15b
je 0x14007870c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007870c
call fcn.14003459c
test eax, eax
jne 0x1400786f8
cmp byte [rbp - 0x21], r15b
je 0x1400786f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007870c
cmp byte [rbp - 0x21], r15b
je 0x140078709
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140060eb8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140078738
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007873b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140078749
mov rcx, rdi
call fcn.140033438
cmp byte [rbp + 0x3f], r15b
je 0x140078758
mov rcx, qword [rbp + 0x27]
call fcn.140033438
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140078964
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14004fb2c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14004fb2c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140078ab4
cmp rax, 0xffffffffffffffff
je 0x140078ab4
xor edi, edi
test rbp, rbp
jle 0x140078a5f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400333c0
mov rbx, rax
test rax, rax
jne 0x1400789ec
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140078a55
mov edx, 0x8000
mov ecx, r14d
call fcn.1400787e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140069fe4
cmp eax, 0xffffffff
je 0x140078a35
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400789fc
mov edx, r15d
mov ecx, r14d
call fcn.1400787e8
jmp 0x140078a55
cmp byte [rsi + 0x38], dil
je 0x140078a4c
cmp dword [rsi + 0x34], 5
jne 0x140078a4c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140078a55
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140033438
jmp 0x140078ac8
jns 0x140078ac8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14004fb2c
cmp rax, 0xffffffffffffffff
jne 0x140078a80
cmp byte [rsi + 0x30], dil
je 0x140078ac8
mov edi, dword [rsi + 0x2c]
jmp 0x140078ac8
mov ecx, r14d
call fcn.140060148
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140078ac8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140078ac8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140078ac1
mov eax, dword [rsi + 0x2c]
jmp 0x140078ac6
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14004fb2c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001180
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x20], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
jmp 0x1400011da
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x30], 0
je 0x14000122b
cmp qword [rsp + 0x20], 0
jne 0x14000122b
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x30], rax
jne 0x14000120a
jmp 0x1400011cd
xor r9d, r9d
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.140001500
mov qword [rsp + 0x20], rax
jmp 0x1400011cd
cmp qword [rsp + 0x20], 0
jne 0x14000128d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1400012a0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140001284
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x20]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x18]
nop
jmp 0x14000128d
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x20]
add rsp, 0x68
ret
Function at 0x1400012a0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0xffffffff
mov dword [rsp + 0x20], 0
jmp 0x1400012d6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xe8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14000130e
cmp dword [rsp + 0x20], 0x40
jae 0x14000130e
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0xe8]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x80], al
jmp 0x1400012cc
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x80], 0
mov eax, dword [rsp + 0x20]
sub eax, 4
mov eax, eax
movsx eax, byte [rsp + rax + 0x80]
cmp eax, 0x2e
je 0x14000139e
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x80], 0x2e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x80], 0x64
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x80], 0x6c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x80], 0x6c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x80], 0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
jmp 0x1400013d7
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1400014ac
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x30], 0
je 0x1400014ac
cmp qword [rsp + 0x38], 0
jne 0x1400014ac
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140001454
jmp 0x1400013ca
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call section..text
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400014a7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x1400013ca
cmp qword [rsp + 0x38], 0
jne 0x1400014ec
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
mov rax, qword [rsp + 0xe0]
call qword [rax + 0x10]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
mov rax, qword [rsp + 0xe0]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x38]
add rsp, 0xd8
ret
Function at 0x140001c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
jmp 0x140001c75
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x30], 0
je 0x140001cad
cmp qword [rsp + 0x28], 0
jne 0x140001cad
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140001860
mov qword [rsp + 0x28], rax
jmp 0x140001c68
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1400eabb0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400eabfa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400eabfa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400eabfa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400eabfa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400eabfa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400eabfc
xor al, al
add rsp, 0x28
ret

Function at 0x1400ee010
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400ee07f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ee07f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ee07f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ee07f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ee07f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ee07f
cmp dword [rcx + 0xf8], 0
je 0x1400ee07f
mov ecx, ebx
call fcn.1400ee130
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400edf0c
nop
cmp dword [rbp + 0x20], 0
je 0x1400ee0cd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ee0d8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400ee010

Function at 0x1400ee214
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400ee010
Function at 0x1400f0c70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400f0cf7
mov rsi, rbx
cmp word [rax], bp
je 0x1400f0cb6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400f0ca0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400f0c9c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400f1690
mov rdi, rax
test rax, rax
je 0x1400f0ce4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400f65e0
mov rbp, rdi
xor ecx, ecx
call fcn.1400ef938
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret