joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401558d0
Capabilities:
Get common file path

Disassembly:
jmp 0x1401558d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14015591b
cmp dword [rsp + 0x24], 0x105
jbe 0x140155971
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004c9b
mov qword [rsp + 0x38], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x14029ef08]
mov rcx, qword [rsp + 0x270]
call fcn.14000375b
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
jmp 0x140155a03
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x140155984
mov rax, qword [rsp + 0x28]
movzx eax, word [rsp + rax*2 + 0x4e]
cmp eax, 0x5c
jne 0x1401559de
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x1401559bc
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov word [rsp + rax*2 + 0x4e], cx
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x270]
call fcn.14000375b
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140155a60
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140155a60
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, ntohl
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x140155afd
cmp qword [rsp + 0x28], 0
je 0x140155abf
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, ntohl
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
jmp 0x140155a9a
cmp dword [rsp + 0x30], 0
jge 0x140155b26
cmp qword [rsp + 0x28], 0
je 0x140155b1f
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140155c41
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140155b3f
xor eax, eax
jmp 0x140155c41
mov dword [rsp + 0x20], 0
jmp 0x140155b53
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140155c2c
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000457a
mov rcx, qword [rsp + 0x90]
call fcn.140001a82
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.140001a82
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140155c1d
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.1400025d1
mov rax, qword [rsp + 0x58]
jmp 0x140155c41
lea rcx, [rsp + 0x60]
call fcn.1400025d1
jmp 0x140155b49
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x88
ret
Function at 0x14017b000
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14017b000
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x14017b01f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x14017b027
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x1401870c0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x78], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140187158
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x14018718e
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2b8]
call fcn.1400025b8
mov rax, qword [rsp + 0x2b8]
jmp 0x140187243
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140187200
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x2b8]
call fcn.1400025b8
mov rax, qword [rsp + 0x2b8]
jmp 0x140187243
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2b8]
call fcn.140005763
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x2a8
ret

Function at 0x140189510
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x140189510
sub rsp, 0x28
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x28
ret

Function at 0x140189530
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x140189530
sub rsp, 0x88
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.140005f24
lea rdx, str.C:WindowsSystem32driversHyperHideDrv.sys
lea rcx, [rsp + 0x50]
call fcn.140008abc
mov rcx, rax
call fcn.140002298
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140008198
nop
lea rcx, [rsp + 0x30]
call fcn.140004557
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x30]
call fcn.140007a86
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401895a2
call fcn.140008df0
add rsp, 0x88
ret
Function at 0x14018aea0
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x14018aea0
sub rsp, 0x28
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x1403a3168]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018aec9
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a316c]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018aedf
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a3170]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018aef5
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a3174]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018af0b
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a3178]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018af21
mov al, 1
jmp 0x14018af37
call fcn.140002568
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
xor al, al
add rsp, 0x28
ret

Function at 0x14018af70
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14018af70
sub rsp, 0x4c8
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x70], 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x14018b050
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x14018b045
lea rdx, str.dbghelp.dll
lea rcx, [rsp + 0x28]
call fcn.140009061
mov rcx, rax
call fcn.1400073c9
mov rdx, rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14018b023
lea rdx, str.dbgcore.dll
lea rcx, [rsp + 0x48]
call fcn.140009061
mov rcx, rax
call fcn.1400073c9
mov rdx, rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14018b032
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14018b052
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14018afc7
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x4c8
ret
Function at 0x14018cdb0
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x14018cdb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea r8, [0x1402a0208]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x60]
call fcn.140007513
nop
lea rcx, [rsp + 0x60]
call fcn.140003800
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14018cfa2
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
je 0x14018cf34
lea rax, [rsp + 0xcc]
lea rcx, [0x1402a0214]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14018ce53
add rax, 2
test dx, dx
jne 0x14018ce3d
xor eax, eax
jmp 0x14018ce58
sbb eax, eax
or eax, 1
test eax, eax
je 0x14018cf32
lea rax, [rsp + 0xcc]
lea rcx, [0x1402a0218]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14018ce88
add rax, 2
test dx, dx
jne 0x14018ce72
xor eax, eax
jmp 0x14018ce8d
sbb eax, eax
or eax, 1
test eax, eax
je 0x14018cf32
lea r8, [0x1402a0220]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x40]
call fcn.140007513
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.1400055d8
nop
lea rcx, [rsp + 0x40]
call fcn.140007333
mov rdx, qword [rsp + 0x318]
lea rcx, [rsp + 0x80]
call fcn.140006f78
movzx eax, al
test eax, eax
je 0x14018cf25
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x80]
call fcn.140007333
nop
lea rcx, [rsp + 0x60]
call fcn.140007333
movzx eax, byte [rsp + 0x20]
jmp 0x14018cfb6
lea rcx, [rsp + 0x80]
call fcn.140007333
jmp 0x14018cf7c
lea rax, [rsp + 0xcc]
mov rcx, qword [rsp + 0x318]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14018cf5d
add rax, 2
test dx, dx
jne 0x14018cf47
xor eax, eax
jmp 0x14018cf62
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14018cf7c
mov byte [rsp + 0x21], 1
lea rcx, [rsp + 0x60]
call fcn.140007333
movzx eax, byte [rsp + 0x21]
jmp 0x14018cfb6
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14018ce19
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x60]
call fcn.140007333
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x308
ret
Function at 0x14018d080
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
jmp 0x14018d080
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov dword [rsp + 0x20], 8
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14000626c
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x58
ret

Function at 0x140193840
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140193840
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov ecx, 8
imul rcx, rcx, 1
mov rax, qword [rax + rcx + 8]
mov qword [rsp + 0x10], rax
xor eax, eax
mov ecx, 8
imul rcx, rcx, 0
add rax, rcx
mov rcx, qword [rsp + 0x10]
sub rcx, rax
mov rax, rcx
mov qword [rsp], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp]
lea rax, [rcx + rax + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp]
mov rax, qword [rax + 0x30]
add rax, 0x100000
mov rcx, qword [rsp + 0x18]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x28
ret
Function at 0x14019a550
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x14019a550
push rdi
sub rsp, 0x80
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.140008b9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1401874e0
mov rcx, rax
call fcn.1400065a0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14019a5b9
xor eax, eax
jmp 0x14019a62d
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x21]
call fcn.140187b50
mov rcx, rax
call fcn.140003206
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14019a600
xor eax, eax
jmp 0x14019a62d
lea r9, [rsp + 0x68]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14019a623
xor eax, eax
jmp 0x14019a62d
mov rax, qword [rsp + 0x28]
mov byte [rax], 0xc3
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x80
pop rdi
ret
Function at 0x1401abfd0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401abfd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov edx, Ordinal_26
mov rcx, qword [rsp + 0x88]
call fcn.14000191f
mov rcx, qword [rsp + 0x88]
call fcn.140001258
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000526d
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140008ce7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x1401ac060
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1401ac108
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jne 0x1401ac103
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.140005d49
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1401ac103
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140008913
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call fcn.1400019c9
jmp 0x1401ac045
mov rax, qword [rsp + 0x88]
add rsp, 0x78
ret
Function at 0x1401bf270
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401bf270
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x1401db570
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401db570
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 0x1401db5ce
mov dl, 1
call fcn.140006fe1
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.140006fe1
mov eax, ebx
jmp 0x1401db612
cmp ebx, 2
ja 0x1401db610
mov r9, qword [rdi + 0x668]
lea rdx, [0x1402a6e90]
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 0x1401db660
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401db660
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x1401db6a3
cmp qword [rcx + 0x678], 0
je 0x1401db780
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400039d1
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401db6d1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1401db718
cmp byte [rdi + 0x1597], 0
jne 0x1401db718
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 0x1401db700
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x1401db778
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1401db7d3
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1401db799
mov dl, 1
mov rcx, rdi
call fcn.140006fe1
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.140006fe1
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x1402a6e90]
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 0x1401db778
call fcn.14000646a
int3
Function at 0x1401db840
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401db840
test rcx, rcx
je 0x1401db9a6
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 [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1401db98e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400039d1
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1401db901
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1401db8c0
cmp byte [rax + rcx - 1], 0xa
jne 0x1401db8e8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1401db8fc
lea r8, [0x1402a6eb4]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140003035
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401db906
cmp qword [rdi + 0x718], 0
je 0x1401db94e
mov dl, 1
mov rcx, rdi
call fcn.140006fe1
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.140006fe1
jmp 0x1401db986
mov r9, qword [rdi + 0x668]
lea rcx, [0x1402a6e90]
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.1400048e5
add rsp, 0x860
pop rdi
ret

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

Disassembly:
jmp 0x1401dbab0
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 0x1401dbaf2
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