joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180096660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rdi, [r8 - 1]
mov rsi, r9
mov r15, rdi
mov r13, r8
sar r15, 1
mov rbp, rdx
mov r14, rcx
mov r12, rdx
mov rbx, rdx
cmp rdx, r15
jge 0x180096705
lea rbx, [rbx*2 + 2]
xor edx, edx
imul rdi, rbx, 0xb8
lea rcx, [r14 - 0xb0]
add rcx, rdi
call fcn.18001cc60
lea rcx, [r14 + 8]
xor edx, edx
add rcx, rdi
movzx esi, ax
call fcn.18001cc60
cmp ax, si
jae 0x1800966db
dec rbx
imul rdx, rbx, 0xb8
imul rcx, rbp, 0xb8
add rdx, r14
add rcx, r14
call fcn.180096e80
mov rbp, rbx
cmp rbx, r15
jl 0x1800966a2
mov rsi, qword [rsp + 0x68]
lea rdi, [r13 - 1]
cmp rbx, r15
jne 0x180096733
test r13b, 1
jne 0x180096733
imul rax, r13, 0xb8
imul rcx, rbp, 0xb8
lea rdx, [r14 - 0xb8]
add rdx, rax
add rcx, r14
call fcn.180096e80
mov rbp, rdi
cmp r12, rbp
jge 0x180096788
lea r15, [rsi + 8]
nop dword [rax]
lea rdi, [rbp - 1]
xor edx, edx
sar rdi, 1
imul rsi, rdi, 0xb8
add rsi, r14
lea rcx, [rsi + 8]
call fcn.18001cc60
xor edx, edx
mov rcx, r15
movzx ebx, ax
call fcn.18001cc60
cmp bx, ax
jae 0x180096788
imul rcx, rbp, 0xb8
mov rdx, rsi
add rcx, r14
call fcn.180096e80
mov rbp, rdi
cmp r12, rdi
jl 0x180096740
mov rdx, qword [rsp + 0x68]
imul rcx, rbp, 0xb8
add rcx, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.180096e80

Function at 0x1800976c0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rdx
call fcn.180097be0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800976f7
xor al, al
jmp 0x180097806
xor edx, edx
lea rcx, [rsp + 0xb0]
mov r8d, 0x1ff
call fcn.18027b320
xor eax, eax
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x4c], rax
mov edx, 0x2d1400
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb0]
mov dword [rsp + 0x28], 0x1ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1800977fb
lea rax, str.UNKNOWN
mov qword [rsp + 0x60], rax
lea rax, str.SCSI
mov qword [rsp + 0x68], rax
lea rax, str.ATAPI
mov qword [rsp + 0x70], rax
lea rax, [0x1802de098]
mov qword [rsp + 0x78], rax
lea rax, str.IEEE_1394
mov qword [rsp + 0x80], rax
lea rax, [0x1802de0b8]
mov qword [rsp + 0x88], rax
lea rax, str.FIBRE
mov qword [rsp + 0x90], rax
lea rax, [0x1802de0d0]
mov qword [rsp + 0x98], rax
lea rax, str.RAID
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xc8]
cmp al, 8
jae 0x1800977fb
movzx edx, al
mov rcx, rdi
mov rdx, qword [rsp + rdx*8 + 0x60]
call fcn.18001c7f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180277e00
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2c0
pop rdi
ret
Function at 0x180097840
Capabilities:
Get storage device properties

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1800d15c0
test al, al
je 0x180097a8b
lea rcx, [rsp + 0x48]
call fcn.18001c640
nop
lea r14, [rbx + 0x70]
xor edx, edx
mov rcx, r14
call fcn.18001cc60
movzx ecx, ax
call fcn.180097be0
mov rdi, rax
xor r15d, r15d
lea ebx, [r15 + 1]
cmp rax, 0xffffffffffffffff
je 0x1800979d5
xor edx, edx
mov r8d, 0x1ff
lea rcx, [rbp - 0x30]
call fcn.18027b320
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x6c], r15
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1ff
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 0xc]
lea r8, [rsp + 0x68]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180097998
lea rax, str.UNKNOWN
mov qword [rbp - 0x80], rax
lea rax, str.SCSI
mov qword [rbp - 0x78], rax
lea rax, str.ATAPI
mov qword [rbp - 0x70], rax
lea rax, [0x1802de098]
mov qword [rbp - 0x68], rax
lea rax, str.IEEE_1394
mov qword [rbp - 0x60], rax
lea rax, [0x1802de0b8]
mov qword [rbp - 0x58], rax
lea rax, str.FIBRE
mov qword [rbp - 0x50], rax
lea rax, [0x1802de0d0]
mov qword [rbp - 0x48], rax
lea rax, str.RAID
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x18]
cmp al, 8
jae 0x180097998
movzx edx, al
mov rdx, qword [rbp + rdx*8 - 0x80]
lea rcx, [rsp + 0x48]
call fcn.18001c7f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x48]
call fcn.18001cd10
mov r8, rsi
sub r8, rax
nop dword [rax]
nop word [rax + rax]
movzx edx, word [rax]
mov word [r8 + rax + 0x620], dx
lea rax, [rax + 2]
test dx, dx
jne 0x1800979c0
xor edx, edx
mov rcx, r14
call fcn.18001cc60
movzx ecx, ax
call fcn.180097be0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180097a7b
xor edx, edx
mov r8d, 0x1ff
lea rcx, [rbp - 0x30]
call fcn.18027b320
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x6c], r15
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1ff
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x68]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180097a72
mov rcx, qword [rbp - 0x18]
lea eax, [rcx - 2]
test al, 0xf6
jne 0x180097a6f
cmp cl, 0xa
je 0x180097a6f
mov ebx, r15d
cmp byte [rbp - 0x1c], 1
setne bl
add ebx, 2
jmp 0x180097a72
mov ebx, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsi + 0xc50], ebx
lea rcx, [rsp + 0x48]
call fcn.18001c780
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180277e00
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180097ac0
Capabilities:
Get disk information via ioctl

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov rax, rdx
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
mov edx, 0x2d1080
mov ebx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
cmovne ebx, dword [rsp + 0x4c]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180277e00
add rsp, 0x60
pop rbx
ret
Function at 0x180097f70
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebx, 1
call fcn.180097be0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18009803e
xor edx, edx
mov qword [rsp + 0x288], rsi
mov r8d, 0x1ff
lea rcx, [rsp + 0x60]
call fcn.18027b320
xor esi, esi
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0xb]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x1ff
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov dword [rsp + 0x40], esi
mov rcx, rdi
mov qword [rsp + 0x4c], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18009802d
mov rcx, qword [rsp + 0x78]
lea eax, [rcx - 2]
test al, 0xf6
jne 0x18009802b
cmp cl, 0xa
je 0x18009802b
cmp byte [rsp + 0x74], 1
mov ebx, esi
setne bl
add ebx, 2
jmp 0x18009802d
mov ebx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x288]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180277e00
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret

Function at 0x1800a27d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 8]
xor edi, edi
add dword [rcx + 0x28], eax
mov rsi, rdx
mov rbx, rcx
nop dword [rax]
mov rcx, rbx
call fcn.1800bb750
test al, al
jne 0x1800a28da
mov edx, dword [rbx + 0x24]
mov r8, qword [rsi + 8]
mov eax, dword [rbx + 0x3c]
lea rcx, [r8 + rdx]
cmp rcx, rax
ja 0x1800a28da
cmp byte [rbx + 0x40], 0
je 0x1800a28ec
mov rax, qword [rsi]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x10]
imul rax, r8
mov qword [rsp + 0x38], rax
movzx eax, byte [rbx + 0x88]
mov r10, qword [rcx]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], al
call qword [r10 + 0x120]
test al, al
jne 0x1800a28ec
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180042690
mov rcx, qword [rbx + 8]
call fcn.1800713c0
test al, al
jne 0x1800a28b2
test byte [rsp + 0x51], 0xfb
je 0x1800a28b2
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [rax + 0x50]
test al, al
jne 0x1800a27f0
inc edi
cmp edi, 0x64
jl 0x1800a27f0
mov eax, 0x8e
jmp 0x1800a28cf
mov ecx, 0xa
call fcn.18003dda0
inc edi
cmp edi, 0x2710
jl 0x1800a27f0
mov eax, 0x8d
mov dword [rbx + 0x44], eax
mov qword [rbx + 0x50], 0
xor al, al
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov eax, dword [rsi + 8]
add dword [rbx + 0x24], eax
mov al, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800b4f80
Capabilities:
Encode data using xor

Disassembly:
mov r9d, edx
xor eax, eax
add r9, rcx
cmp edx, r8d
ja 0x1800b4fc0
sub r8d, edx
lea r11, [0x1803c3580]
lea r10d, [r8 + 1]
nop dword [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov ecx, eax
xor rdx, rcx
shr ecx, 8
movzx r8d, dl
mov eax, dword [r11 + r8*4]
xor eax, ecx
sub r10, 1
jne 0x1800b4fa0
ret

Function at 0x1800dbfb0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 0xc]
mov r8d, 0x248
lea rdx, [0x1802e2a40]
movzx ecx, byte [rdx]
lea rdx, [rdx + 4]
xor byte [rax], cl
lea rax, [rax + 4]
movzx ecx, byte [rdx - 3]
xor byte [rax - 3], cl
movzx ecx, byte [rdx - 2]
xor byte [rax - 2], cl
movzx ecx, byte [rdx - 1]
xor byte [rax - 1], cl
sub r8d, 1
jns 0x1800b54f1
xor eax, eax
ret
jmp 0x1800b54e0

Function at 0x1800dbfc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp - 0x20], 0x46464952
movsd xmm0, qword [rbp - 0x20]
mov dword [rbp - 0x18], 0x45564157
mov eax, dword [rbp - 0x18]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
mov eax, reloc.WS2_32.dll_recv
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x20], 0x20746d66
mov dword [rbp - 0x18], 0x20001
mov dword [rbp - 0x14], 0xac44
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbp + 0x10], 0x61746164
mov rax, qword [rbp + 0x10]
mov dword [rbp - 0xc], 0x100004
mov dword [rbp - 0x10], 0x2b110
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rcx + 0xc], xmm0
mov qword [rcx + 0x24], rax
mov rax, rcx
movsd qword [rcx + 0x1c], xmm1
add rsp, 0x20
pop rbp
ret

Function at 0x1800e8ab0
Capabilities:
Check http status code

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800e8b94
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1800e8b94
lea rdx, [0x1802c5dd8]
lea rcx, [rsp + 0x28]
call fcn.18001c5f0
nop
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x18]
test al, al
je 0x1800e8bb5
lea rcx, [rsp + 0x28]
call fcn.1800e93b0
cmp eax, 0xc8
setne cl
mov byte [rbx + 0x68], cl
jl 0x1800e8b73
cmp eax, 0xc9
jle 0x1800e8b40
cmp eax, 0x1b0
je 0x1800e8b52
cmp eax, 0x1b1
je 0x1800e8bf7
cmp eax, 0x1b2
jne 0x1800e8b73
jmp 0x1800e8bd6
lea rcx, [rsp + 0x28]
call fcn.18001c780
mov al, 1
add rsp, 0x40
pop rbx
ret
mov edx, reloc.WS2_32.dll_send
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
nop
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
nop
mov edx, 3
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3
mov edx, socket
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3
mov edx, socket
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3
Function at 0x1800e9500
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1f0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rax, vtable.WinSockServer.0
mov qword [rcx], rax
mov word [rcx + 8], 0
mov qword [rcx + 0x10], 0xffffffffffffffff
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800e9578
mov byte [rbx + 8], 1
mov rax, rbx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.180277e00
add rsp, 0x1f0
pop rbx
ret
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x20]
call fcn.18027b5f8
int3
Function at 0x1800e96c0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp byte [rcx + 8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1800e97e7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
jne 0x1800e9806
xor eax, eax
mov dword [rbp - 0x2c], 2
xorps xmm0, xmm0
mov qword [rbp + 0x20], rax
xorps xmm1, xmm1
mov dword [rbp - 0x30], eax
mov rcx, rdi
mov dword [rbp - 0x28], 1
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x24], 6
movdqu xmmword [rbp - 0x10], xmm1
call fcn.18001cc90
mov rdi, rax
mov rax, qword [0x1803d0810]
test rax, rax
jne 0x1800e9743
xor ecx, ecx
call fcn.1800ea120
mov qword [0x1803d0810], rax
lea r9, [rbp + 0x20]
mov rcx, rdi
lea r8, [rbp - 0x30]
lea rdx, str.8880
call rax
mov ecx, eax
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSASetLastError]
test edi, edi
je 0x1800e9789
lea rcx, [rbp + 0x10]
cmp edi, 0x2af9
je 0x1800e985b
lea eax, [rdi - 0x2afa]
cmp eax, 1
ja 0x1800e9840
jmp 0x1800e9825
mov rdi, qword [rbp + 0x20]
mov r8d, dword [rdi + 0xc]
mov edx, dword [rdi + 8]
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x1800e9876
mov ecx, 0x22b0
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1800e989e
mov rdi, qword [rsp + 0x78]
mov al, 1
mov byte [rbx + 9], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
mov edx, 0xa
lea rcx, [rbp + 0x10]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x10]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
mov edx, reloc.WS2_32.dll_inet_addr
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
mov edx, ntohs
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
mov rcx, qword [rbp + 0x20]
call fcn.1800e9a70
mov edx, ntohs
lea rcx, [rbp + 0x10]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [rbp + 0x10]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rbp + 0x10]
call fcn.18027b5f8
int3
Function at 0x1800e98d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbx, rdx
xor r9d, r9d
mov r8d, 0x100000
lea rdi, [0x1803d0820]
mov rdx, rdi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1800e9980
test eax, eax
je 0x1800e99a1
cmp eax, 0x100000
jge 0x1800e9959
movsxd rcx, eax
cmp rcx, 0x100000
jae 0x1800e997a
mov byte [rcx + rdi], 0
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.18001d5f0
nop
mov rdx, rax
mov rcx, rbx
call fcn.18001c7b0
nop
lea rcx, [rsp + 0x28]
call fcn.18001c780
mov al, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov edx, send
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3
call fcn.18027832c
int3
mov edx, ntohs
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3
mov edx, send
lea rcx, [rsp + 0x50]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x50]
call fcn.18027b5f8
int3

Function at 0x1800e99d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rcx, rdx
call fcn.18001dc50
mov rbx, 0xffffffffffffffff
mov rdi, rax
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800e9a00
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1800e9a20
cdqe
cmp rbx, rax
jne 0x1800e9a42
mov rbx, qword [rsp + 0x38]
mov al, 1
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.1800e4d00
lea rdx, [0x1803bb678]
lea rcx, [rsp + 0x30]
call fcn.18027b5f8
int3
Function at 0x1800ea120
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x280
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x1803d0808], 0
lea rax, [0x1800e9af0]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rax
movzx ebp, cx
lea rax, [0x1800e9ee0]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.1800e9aa0]
mov qword [rsp + 0x48], rax
jne 0x1800ea2ec
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800ea2e2
lea r8, [rsp + 0x160]
mov qword [rsp + 0x290], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.180294644
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1802946a4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1800ea214
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800ea274
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.180294644
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1802946a4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1800ea2da
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800ea274
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1800ea2da
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x1800ea2c9
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x1800ea283
mov rax, qword [rsp + 0x28]
mov qword [0x1803c3c88], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1803c3c98], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.1800e9aa0], rax
jmp 0x1800ea2d2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x1803d0808], 1
movzx eax, bp
lea rcx, str.getaddrinfo
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180277e00
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret
Function at 0x1800ea320
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x870
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r12, qword [rsp + 0x8c8]
mov rbx, rcx
mov dword [rsp + 0x24], r8d
xor ebp, ebp
mov dword [rsp + 0x28], edx
mov r8d, 0x401
mov qword [rsp + 0x30], rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x20], r9w
mov r15d, ebp
call fcn.18027b320
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x401
call fcn.18027b320
mov r9d, 0x400
lea rcx, [rsp + 0x40]
mov r8, rbx
lea r13, [rsp + 0x40]
lea rsi, [rsp + 0x450]
lea edx, [r9 + 1]
call fcn.18029471c
mov rcx, rbx
mov qword [r12], rbp
mov rdi, r12
mov byte [rsi], bpl
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x1800ea4e3
cmp word [rax + 0x10], 2
jne 0x1800ea437
cmp word [rax + 0x12], 4
jne 0x1800ea437
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x1800ea432
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call fcn.1800ea550
mov qword [rdi], rax
test rax, rax
je 0x1800ea4ae
add rbx, 8
lea rdi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x1800ea400
mov rbx, qword [rsp + 0x30]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rsi
lea edx, [r9 + 1]
call fcn.18029471c
cmp qword [r12], rbp
jne 0x1800ea4b5
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], bpl
jne 0x1800ea460
test rax, rax
je 0x1800ea4fd
mov r8, rsi
mov rax, r13
sub r8, r13
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800ea493
inc rax
test ecx, ecx
jne 0x1800ea480
test edx, edx
je 0x1800ea4fd
inc r15d
cmp r15d, 0x10
je 0x1800ea4fd
mov rax, r13
mov r13, rsi
mov rsi, rax
jmp 0x1800ea3c0
mov ebp, 8
jmp 0x1800ea510
cmp dword [rsp + 0x8c0], ebp
je 0x1800ea510
mov rcx, rsi
call fcn.1800ea5f0
mov rcx, rax
mov rax, qword [r12]
mov qword [rax + 0x18], rcx
mov ecx, 8
mov rax, qword [r12]
cmp qword [rax + 0x18], rbp
cmove ebp, ecx
jmp 0x1800ea510
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x1800ea50b
sub ecx, 1
je 0x1800ea504
sub ecx, 1
jne 0x1800ea50b
mov ebp, 0x2afb
jmp 0x1800ea510
mov ebp, 0x2afa
jmp 0x1800ea510
mov ebp, 0x2af9
mov eax, ebp
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.180277e00
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret