joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403d90b0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.1403c1db0
test rax, rax
je 0x1403d91f0
mov rdx, 0xffffffffffffffff
mov rcx, rax
lea r14, [rsp + 0x40]
mov r15d, 0x4e
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov rdi, r14
lea r12, [rsi + 0x28]
lea rbp, [rsp + 0x3e]
mov r13, rax
xor eax, eax
mov word [rsp + 0x40], ax
nop
mov rax, r12
mov rbx, rdi
sub rax, rsi
cmp word [rdi], 0
je 0x1403d912e
nop
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1403d9120
test rax, rax
je 0x140436bcc
mov rcx, rbx
add rsi, 1
add rdi, 2
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, rbp
mov byte [rsp + 0x3e], r15b
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x3f], 0
call sub.msvcrt.dll_mbstowcs
movzx r15d, byte [rsi]
test r15b, r15b
jne 0x1403d9110
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [0x140485538]
mov rsi, qword [rax + 0x1f0]
mov rax, qword [0x14044bbd0]
mov rbx, qword [rax + 0x1c0]
test rdx, rdx
je 0x1403d9248
mov r8, rbx
mov rcx, rsi
call fcn.1403c4850
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.1403d6030
sub qword [rbx], 1
jne 0x1403d91d9
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x140484e08]
lea rsi, [0x140484e08]
test bl, bl
je 0x1403d9210
mov rax, qword [0x140484e10]
lea rsi, [0x140484e10]
test rax, rax
jne 0x1403d91d9
cmp byte [0x140485022], 0
jne 0x1403d9226
movzx ecx, bl
call fcn.1403a2870
mov rdx, 0xffffffffffffffff
lea rcx, [0x140484e20]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x1403d9275
add qword [rax], 1
jmp 0x1403d91d9
mov rdx, qword [0x1404854b0]
mov rdi, qword [rax + 0x1b0]
test rdx, rdx
je 0x1403d9280
mov r8, rdi
mov rcx, rsi
call fcn.1403c4850
mov qword [0x140485538], rax
mov rdx, rax
jmp 0x1403d91a3
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x14044436e]
call qword [sym.imp.python310.dll_PyImport_ImportModule]
mov qword [0x1404854b0], rax
mov rdx, rax
test rax, rax
je 0x140436bcc
jmp 0x1403d925b
Function at 0x14041b430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x140484df1], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x14041b4b8
lea rdx, [0x140447912]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14041b520
mov rbx, qword [0x140484ca8]
jmp 0x14041b475
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14041b470
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14040a670
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x140484ca8], rax
mov ebx, dword [rax]
mov qword [0x140484ca8], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x140484ca8], rdx
call fcn.14041a560
cmp eax, ebx
jne 0x14041b5a7
mov byte [0x140484df1], 1
jmp 0x14041b44c
cmp byte [0x140484df0], 0
jne 0x14041b463
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x140485728], rax
call rbx
mov qword [0x140485720], rax
call rbx
mov qword [0x140485718], rax
call rbx
mov qword [0x140485710], rax
call rbx
mov qword [0x140485708], rax
call rbx
mov qword [0x140485700], rax
call rbx
mov qword [0x1404856f8], rax
call rbx
mov byte [0x140484df0], 1
mov qword [0x1404856f0], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x140484ca0], rax
jmp 0x14041b463
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1404248e0
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 fcn.140436070
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140436070
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1404255b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140485be8]
test eax, eax
je 0x14042564a
lea rax, [0x140485bc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140485bf0]
mov qword [rbp - 8], rax
jmp 0x14042562e
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 0x140425622
cmp qword [rbp - 0x10], 0
je 0x140425622
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 0x1404255e8
lea rax, [0x140485bc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14042564b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140425750
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 0x140425778
mov eax, 0
jmp 0x1404257c6
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 0x1404257a1
mov eax, 0
jmp 0x1404257c6
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 0x1404257c1
mov eax, 0
jmp 0x1404257c6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1404257cc
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 0x14042584a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140425841
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 0x140425841
mov rax, qword [rbp - 8]
jmp 0x14042585f
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 0x140425814
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002c00
Capabilities:
Create process on windows
Execute command

Disassembly:
push rbx
sub rsp, 0x40
xor edx, edx
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameall_program__ProgramFiles_BlueStacks_nxtHD_Player.exe_
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameall_program__ProgramFiles_BlueStacksHD_Player.exe_
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameall_program__ProgramFiles_BlueStacks_msi2HD_Player.exe_
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameall_program__ProgramFiles_BlueStacks_msi5HD_Player.exe_
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameall_program__ProgramData_BlueStacks_msi5HD_Player.exe_
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameall_program__ProgramFiles_x86__SmartGaGaProjectTitanEngineProjectTitan.exe_
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14007be00]
call fcn.14000d980
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x34]
mov r9d, 0x1f4
mov edx, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], Ordinal_301
call qword [sym.imp.USER32.dll_MoveWindow]
lea rcx, [0x140071de8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [0x14007bd90], 0
call fcn.1400021e0
mov dword [0x14007bd90], 1
call fcn.1400021e0
mov dword [0x14007bd90], 2
call fcn.1400021e0
mov dword [0x14007bd90], 3
call fcn.1400021e0
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x140003c60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 7], r9b
je 0x140003c94
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140003c80
mov byte [r8 + 7], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 6]
cmp r8, rax
jne 0x140003cb7
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x140003ce0
mov qword [rsp + 0x30], 6
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], r9b
nop
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140003bf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140003d2e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140060be0
mov rax, rbx
add rsp, 0x50
pop rbx
ret

Function at 0x140003d40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 9], r9b
je 0x140003d74
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x140003d60
mov byte [r8 + 9], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 8]
cmp r8, rax
jne 0x140003d97
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x140003dc0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], r9b
nop word [rax + rax]
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140003bf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140003e0e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140060be0
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x140003e20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x140003e64
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140003e50
mov byte [r8 + 6], r9b
mov qword [rbp - 0x38], r9
lea rax, [r8 + 5]
cmp r8, rax
jne 0x140003e83
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
jmp 0x140003ea5
mov qword [rbp - 0x28], 5
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xa], 0
je 0x140003ec3
mov rcx, r9
nop
lea eax, [rcx - 0x75]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x140003eb0
mov byte [rdx + 0xa], 0
mov qword [rbp - 0x58], r9
lea rax, [rdx + 9]
cmp rdx, rax
jne 0x140003ee2
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
jmp 0x140003f10
mov qword [rbp - 0x48], 9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
nop word [rax + rax]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.140009140
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140003f64
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140060be0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140003fa2
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140060be0
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x140003fc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 0xa], r9b
je 0x140003ff4
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x140003fe0
mov byte [r8 + 0xa], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 9]
cmp r8, rax
jne 0x140004017
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x140004042
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x29], r9b
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140003bf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140004090
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000408b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000408b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140060be0
mov rax, rbx
add rsp, 0x50
pop rbx
ret

Function at 0x14000b7c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x14000b7e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x75]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x14000b7d0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x14000b7f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x14000b813
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x75]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x14000b800
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x140027cb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x140027d0e
mov dl, 1
call fcn.140018690
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140018690
mov eax, ebx
jmp 0x140027d52
cmp ebx, 2
ja 0x140027d50
mov r9, qword [rdi + 0x668]
lea rdx, [0x140067e08]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140027d70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x14007b080]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x140027db3
cmp qword [rcx + 0x678], 0
je 0x140027e90
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140016730
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140027de1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x140027e28
cmp byte [rdi + 0x1597], 0
jne 0x140027e28
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140027e10
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x140027e88
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140027ee3
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140027ea9
mov dl, 1
mov rcx, rdi
call fcn.140018690
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140018690
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140060fa0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x140067e08]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140027e88
call fcn.140061138
int3
Function at 0x140027ef0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140028056
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14007b080]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x14002803e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140016730
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140027fb1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140027f70
cmp byte [rax + rcx - 1], 0xa
jne 0x140027f98
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x140027fac
lea r8, [0x140067e28]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140016630
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140027fb6
cmp qword [rdi + 0x718], 0
je 0x140027ffe
mov dl, 1
mov rcx, rdi
call fcn.140018690
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140018690
jmp 0x140028036
mov r9, qword [rdi + 0x668]
lea rcx, [0x140067e08]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140060fa0
add rsp, 0x860
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x140028132
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400282d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x14007b080]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14, qword [rsp + 0x1a0]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x508]
mov rbp, qword [rsi + rcx*8 + 0x4c0]
add rbx, rax
mov rax, qword [rsi + 0x698]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1400283d7
lea rax, [0x140028180]
cmp qword [rsi + rcx*8 + 0x4e8], rax
jne 0x1400283d7
cmp qword [rbx], r13
je 0x14002835e
test rdi, rdi
je 0x1400283d7
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.140037850
cmp eax, 0xffffffff
je 0x1400283d7
test al, 1
je 0x1400283d7
mov rax, qword [rbx]
test rax, rax
jne 0x1400283b0
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x1400283d3
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1400283d7
add qword [rbx + 0x10], rcx
jmp 0x1400283d7
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x140028444
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140028410
mov dword [r14], 0x51
mov rax, r13
jmp 0x140028447
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140012ee0
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140027d70
mov rcx, qword [rsi]
mov dword [rcx + 0x11b0], ebx
mov dword [r14], Ordinal_60
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140060fa0
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x558], 0
je 0x140028afd
call fcn.140021c80
test eax, eax
jne 0x140028b23
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x4c0]
cmp rcx, 0xffffffffffffffff
je 0x140028af6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x140028af6
mov al, 1
add rsp, 0x28
ret