joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b2b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x90], edi
mov eax, dword [rcx + 0x78]
test eax, eax
jns 0x14005b2e8
call fcn.14002bb40
movzx eax, al
mov dword [rsi + 0x78], eax
test eax, eax
jle 0x14005b427
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 5
jl 0x14005b3b1
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov r14, rax
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1400219c0
mov rsi, rax
mov dword [rsp + 0x90], 1
cmp qword [rax + 0x18], 0x10
jb 0x14005b370
mov rsi, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400219c0
nop
mov edi, 3
mov dword [rsp + 0x90], edi
cmp qword [rax + 0x18], 0x10
jb 0x14005b394
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.DuplicateHandler:_TryRemoveProcessedFile_for__s_r_ndone_file:__s
mov edx, 5
mov rcx, r14
call fcn.14001e890
nop
test dil, 2
je 0x14005b3c5
and edi, 0xfffffffd
lea rcx, [rsp + 0x30]
call fcn.140009080
nop
test dil, 1
je 0x14005b3d5
lea rcx, [rsp + 0x50]
call fcn.140009080
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005b3e2
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14005b3fc
xor edx, edx
mov rcx, rbx
call fcn.140054760
movzx edi, al
jmp 0x14005b3ff
mov dil, 1
cmp qword [rbx + 0x18], 8
jb 0x14005b409
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14005b421
xor edx, edx
mov rcx, rbp
call fcn.140054760
movzx eax, dil
jmp 0x14005b429
xor al, al
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140072760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx edi, r8b
mov rax, rdx
mov rsi, rcx
cmp qword [rdx + 0x10], 0
jne 0x140072793
xor al, al
jmp 0x14007288d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140022570
nop
test dil, dil
je 0x1400727ea
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400727ea
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400727e2
test al, 0x10
jne 0x1400727ea
xor dil, dil
jmp 0x14007287f
lea rbx, [rsi + 0x40]
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bpl
test eax, eax
jne 0x140072826
mov eax, dword [rbx + 0x10]
test eax, eax
jne 0x140072821
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rbx + 8], rax
mov eax, dword [rsi + 0x50]
inc eax
mov dword [rbx + 0x10], eax
mov byte [rsp + 0x28], bpl
lea rcx, [rsi + 0x30]
test dil, dil
je 0x140072849
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.14005c940
movzx edi, byte [rax + 8]
jmp 0x14007285a
lea rdx, [rsp + 0x40]
call fcn.140074b20
test rax, rax
setne dil
test bpl, bpl
je 0x14007287f
xor eax, eax
sub dword [rbx + 0x10], 1
jns 0x14007286c
mov dword [rbx + 0x10], eax
jmp 0x140072871
cmp dword [rsi + 0x50], eax
jne 0x140072875
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
lea rcx, [rsp + 0x40]
call fcn.140008e70
movzx eax, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140074020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.14005c8b0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x40
call fcn.1400f9588
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete sil
test eax, eax
jne 0x1400740ae
mov eax, dword [rbx + 0x10]
test eax, eax
jne 0x1400740a9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x50]
inc eax
mov dword [rbx + 0x10], eax
mov byte [rsp + 0x28], sil
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140074a60
nop
test sil, sil
je 0x1400740e6
xor eax, eax
sub dword [rbx + 0x10], 1
jns 0x1400740d4
mov dword [rbx + 0x10], eax
jmp 0x1400740d9
cmp dword [rdi + 0x50], eax
jne 0x1400740dd
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rcx]
cmp byte [rbx + 0x19], 0
jne 0x1400741ae
nop dword [rax + rax]
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x14007410f
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140074149
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x140074129
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074149
test al, 0x10
je 0x140074149
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14005c940
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140074178
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140074173
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140074173
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140074160
mov rbx, rax
jmp 0x14007419f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14007419f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140074190
cmp byte [rbx + 0x19], 0
je 0x140074100
mov rcx, qword [rsp + 0x30]
mov esi, dword [rbp + 8]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x1400741fa
nop dword [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002ee00
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140008e70
mov edx, 0x40
mov rcx, rbx
call fcn.1400f9580
cmp byte [rdi + 0x19], 0
je 0x1400741c0
mov rcx, qword [rsp + 0x30]
mov edx, 0x40
call fcn.1400f9580
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140082450
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140082488
cmp eax, 0x80010106
je 0x14008248f
xor al, al
jmp 0x14008260b
mov dword [r14], 1
lea rsi, [r14 + 8]
mov qword [rsp + 0x20], rsi
lea r9, [0x14014b1e8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14014b1d8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400824c8
call qword [sym.imp.ole32.dll_CoUninitialize]
xor ebx, ebx
mov dword [r14], ebx
xor al, al
jmp 0x14008260b
mov rbp, qword [rsi]
mov rax, qword [rbp]
mov r12, qword [rax + 0x18]
lea r15, [r14 + 0x10]
mov ecx, 0x18
call fcn.1400f9588
mov rdi, rax
mov qword [rsp + 0x88], rax
xor ebx, ebx
test rax, rax
je 0x14008251b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call fcn.1400f9230
mov qword [rdi], rax
jmp 0x14008251e
mov rdi, rbx
mov qword [rsp + 0x88], rdi
test rdi, rdi
je 0x140082624
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rbp
call r12
mov ebp, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x140082597
mov rcx, qword [rdi]
test rcx, rcx
je 0x140082578
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008258a
call fcn.1400f9580
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400f9580
test ebp, ebp
jns 0x1400825a8
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400825fc
mov qword [rsi], rbx
jmp 0x1400825f5
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r15]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140082609
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400825ea
mov qword [rsi], rbx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [r15]
test rcx, rcx
je 0x1400825fc
mov qword [r15], rbx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [r14], ebx
xor al, al
jmp 0x14008260b
mov al, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.1400f9220
int3
Function at 0x140086930
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r9
mov rdi, r8
cmp qword [rdx + 0x10], 0
je 0x140086a93
cmp qword [rdx + 0x18], 8
jb 0x140086962
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140086a93
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140086990
mov rdx, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140086a88
cmp dword [rsp + 0x3c], 1
jne 0x140086a88
xorps xmm0, xmm0
xor eax, eax
mov ebx, dword [rsp + 0x38]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x140086a0f
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140009010
mov qword [rsp + 0x40], rax
lea r8, [rbx + rbx]
lea rbx, [r8 + rax]
mov qword [rsp + 0x50], rbx
xor edx, edx
mov rcx, rax
call fcn.1400fc160
mov qword [rsp + 0x48], rbx
cmp qword [rdi + 0x18], 8
jb 0x140086a19
mov rdi, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140086a58
xor bl, bl
jmp 0x140086a79
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140086a64
mov rcx, rsi
call fcn.140008ee0
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.140008e10
movzx eax, bl
jmp 0x140086a95
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008f080
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rdx, str.ui.json
lea rcx, [rsp + 0x30]
call fcn.14004f980
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140008e70
cmp ebx, 1
je 0x14008f0fe
xor ecx, ecx
call fcn.140027000
lea r9, str.UserInfoManager
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
mov r8d, 1
lea rdx, [0x140044840]
mov rcx, rax
call fcn.1400272d0
test rax, rax
je 0x14008f0fe
mov rcx, rax
call fcn.1400967a0
xor ecx, ecx
call fcn.140027000
lea r9, str.UserInfoManager
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
xor r8d, r8d
lea rdx, [0x140044840]
mov rcx, rax
call fcn.1400272d0
mov rcx, rax
mov rbx, rax
call fcn.140096250
lea rdx, [rbx + 0x38]
cmp rdi, rdx
je 0x14008f150
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x14008f148
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1400090e0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
setne bl
test rcx, rcx
jne 0x14008f172
lea r8d, [rcx + 7]
mov rcx, rdi
lea rdx, str.UnNamed
call fcn.1400090e0
movzx eax, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140091f60
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 8], rax
mov rax, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rbp - 0x70], r14
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], r14b
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140091c20
nop
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, qword [rbp - 0x70]
mov qword [rbp - 8], rax
lea rax, [0x140165898]
mov qword [rbp], rax
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov dword [rsp + 0x20], 1
lea rdi, [rbp - 0x10]
nop dword [rax + rax]
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r14w
lea rdx, [0x14015892f]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140092055
lea rcx, [rbp - 0x50]
call fcn.1400090e0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x50]
call fcn.14001b490
nop
lea rcx, [rbp - 0x50]
call fcn.140009080
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140024500
nop
lea r8, str..json
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140024880
nop
cmp rbx, rax
je 0x1400920c9
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400920bd
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140008ee0
nop
lea rcx, [rsp + 0x50]
call fcn.140008e70
nop
lea rcx, [rsp + 0x70]
call fcn.140008e70
nop
lea rcx, [rsp + 0x28]
call fcn.140008e70
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400920f6
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140092112
add rdi, 8
lea rax, [rbp + 8]
cmp rdi, rax
jne 0x140092010
lea rcx, [rbp - 0x30]
call fcn.140009080
nop
lea rcx, [rbp - 0x70]
call fcn.140009080
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a3340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rbx, rdx
mov rdi, rcx
call fcn.1400a31a0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a3374
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400a34c8
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a3390
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a33a3
test al, 0x10
jne 0x1400a34c8
lea rax, [0x1400a62d0]
mov qword [rbp - 0x61], rax
lea rax, [0x1400a62f0]
mov qword [rbp - 0x59], rax
lea rax, [0x1400a6370]
mov qword [rbp - 0x41], rax
lea rax, [0x1400a6380]
mov qword [rbp - 0x39], rax
xor esi, esi
mov qword [rbp - 0x31], rsi
lea rax, [0x1400a3280]
mov qword [rbp - 0x69], rax
lea rax, [0x1400a3310]
mov qword [rbp - 0x51], rax
lea rax, [0x1400a3320]
mov qword [rbp - 0x49], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a3403
mov rcx, qword [rbx]
movaps xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 9], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movaps xmmword [rbp + 7], xmm1
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp + 0x17], xmm0
movaps xmm1, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x27], xmm1
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], rsi
lea rdx, [rbp - 9]
call fcn.1400a4470
mov qword [rdi + 8], rax
test rax, rax
je 0x1400a34c8
cmp qword [rbx + 0x18], 8
jb 0x1400a344b
mov rbx, qword [rbx]
mov qword [rbp - 0x29], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], si
jne 0x1400a3470
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140008ee0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140024330
nop
lea rcx, [rdi + 0x38]
cmp rcx, rax
je 0x1400a34b5
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400a34ac
mov rax, qword [rax]
mov rdx, rax
call fcn.140008ee0
nop
lea rcx, [rbp - 0x69]
call fcn.140008e70
nop
lea rcx, [rbp - 0x29]
call fcn.140008e70
cmp qword [rdi + 8], 0
setne al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400b8cb0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1401173d8
cdqe
add rsp, 0x28
ret

Function at 0x1400be6f0
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 + 0x700], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1400be74e
mov dl, 1
call fcn.1400b99c0
mov rax, qword [rdi + 0x658]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x700]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1400b99c0
mov eax, ebx
jmp 0x1400be790
cmp ebx, 2
ja 0x1400be78e
mov r9, qword [rdi + 0x650]
lea rdx, [0x14013fd70]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140107d14
mov r9, qword [rdi + 0x650]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.140107d14
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 0x1400be7b0
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 [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf6e], 0
mov rdi, rcx
jne 0x1400be7f3
cmp qword [rcx + 0x660], 0
je 0x1400be8d0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400c1bf0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400be821
mov rcx, qword [rdi + 0x660]
test rcx, rcx
je 0x1400be868
cmp byte [rdi + 0x16d3], 0
jne 0x1400be868
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 0x1400be850
mov byte [rdi + 0x16d3], 1
cmp byte [rdi + 0xf6e], 0
je 0x1400be8c8
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1400be921
cmp qword [rdi + 0x700], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1400be8e9
mov dl, 1
mov rcx, rdi
call fcn.1400b99c0
mov rax, qword [rdi + 0x658]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x700]
xor edx, edx
mov rcx, rdi
call fcn.1400b99c0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x650]
lea rcx, [0x14013fd70]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140107d14
mov r9, qword [rdi + 0x650]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140107d14
jmp 0x1400be8c8
call fcn.1400f9950
int3
Function at 0x1400be930
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400bea94
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 [0x14018a090]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf6e], 0
mov rdi, rcx
je 0x1400bea7c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400c1bf0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1400be9f1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400be9b0
cmp byte [rax + rcx - 1], 0xa
jne 0x1400be9d8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1400be9ec
lea r8, [0x14013fd90]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1400c1ad0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400be9f6
cmp qword [rdi + 0x700], 0
je 0x1400bea3e
mov dl, 1
mov rcx, rdi
call fcn.1400b99c0
mov rax, qword [rdi + 0x658]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x700]
xor edx, edx
mov rcx, rdi
call fcn.1400b99c0
jmp 0x1400bea74
mov r9, qword [rdi + 0x650]
lea rcx, [0x14013fd70]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140107d14
mov r9, qword [rdi + 0x650]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140107d14
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400f9560
add rsp, 0x860
pop rdi
ret

Function at 0x1400beb30
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 0x1400beb72
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
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