joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443770
Capabilities:
Clear file content

Disassembly:
push rbp
push rbx
sub rsp, 0x78
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xa0], r8
lea rcx, [rbp + 0xa0]
call fcn.0040bf00
nop
mov al, 1
mov byte [rbp + 0x5f], al
mov bl, 1
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0xffffffffffffffff
jne 0x443811
mov ecx, 0x64
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0xa0]
call fcn.0042f780
mov rcx, qword [rbp + 0x68]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rax
jmp 0x44389d
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x50]
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x44383b
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
call sub.kernel32.dll_SetEndOfFile
test eax, eax
jne 0x4438b0
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
call sub.kernel32.dll_CloseHandle
mov ecx, 0x64
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xa0]
call fcn.0042f780
mov rcx, qword [rbp + 0x60]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rax
add bl, 1
cmp bl, 0xb
jne 0x4437ac
nop
xor eax, eax
mov byte [rbp + 0x5f], al
nop
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.0040be70
lea rcx, [rbp + 0xa0]
call fcn.0040bd90
movzx rax, byte [rbp + 0x5f]
lea rsp, [rbp + 0x78]
pop rbx
pop rbp
ret
Function at 0x4439c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x28]
add dword [rax], 1
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x28]
mov edx, dword [rax]
call fcn.00430990
mov eax, 1
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx]
movsxd rdx, eax
lea rcx, [rcx + rdx]
mov rdx, qword [rbp + 0x20]
mov rdx, qword [rdx]
movzx rdx, byte [rdx]
xor byte [rcx], dl
add eax, 1
cmp eax, 0x10
jne 0x4439f4
nop
xor eax, eax
movsxd r9, eax
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx]
movzx rdx, byte [rcx + r9]
mov ecx, edx
shl ecx, 4
movzx rcx, cl
shr ecx, 4
movzx r8, cl
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx]
movzx rcx, byte [rcx + r8]
mov r10, qword [rbp + 0x20]
mov r10, qword [r10]
mov byte [r10 + r8], dl
mov rdx, qword [rbp + 0x20]
mov rdx, qword [rdx]
mov byte [rdx + r9], cl
add eax, 1
cmp eax, 0x10
jne 0x443a1a
nop
xor eax, eax
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx]
movsxd rdx, eax
lea rcx, [rcx + rdx]
mov rdx, qword [rbp + 0x20]
mov rdx, qword [rdx]
movzx rdx, byte [rdx + 0xf]
xor byte [rcx], dl
add eax, 1
cmp eax, 0xf
jne 0x443a66
nop
mov rax, qword [rbp + 0x38]
movzx rcx, byte [rax + 3]
shl ecx, 6
movzx rcx, cl
shr ecx, 6
xor eax, eax
mov rdx, qword [rbp + 0x20]
mov rdx, qword [rdx]
movsxd r8, eax
lea rdx, [rdx + r8]
mov r8, qword [rbp + 0x38]
movzx r9, cl
movzx r8, byte [r8 + r9]
xor byte [rdx], r8b
add eax, 1
cmp eax, 0x10
jne 0x443aa0
nop
xor eax, eax
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx]
movsxd rdx, eax
lea rcx, [rcx + rdx]
mov rdx, qword [rbp + 0x38]
mov r8d, eax
and r8d, 0x80000003
jns 0x443af3
sub r8d, 1
or r8d, 0xfffffffc
add r8d, 1
movsxd r8, r8d
movzx rdx, byte [rdx + r8]
xor byte [rcx], dl
add eax, 1
cmp eax, 0x10
jne 0x443ac9
nop
nop
lea rcx, [rbp + 0x38]
mov rdx, qword [0x0042ee20]
call fcn.00410600
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x4442e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov dword [rbp + 0x5c], r8d
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0xd0]
call fcn.0040bf00
nop
mov al, 1
mov byte [rbp + 0x6f], al
mov bl, 1
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0xffffffffffffffff
jne 0x444393
mov ecx, 0x64
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xd0]
call fcn.0042f780
mov rcx, qword [rbp + 0x78]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rax
jmp 0x44444f
mov dword [rbp + 0x8c], 0
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x50]
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x4443ed
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x5c]
lea r9, [rbp + 0x8c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x4443ed
mov eax, dword [rbp + 0x5c]
cmp dword [rbp + 0x8c], eax
je 0x444462
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
call sub.kernel32.dll_CloseHandle
mov ecx, 0x64
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0xd0]
call fcn.0042f780
mov rcx, qword [rbp + 0x70]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rax
add bl, 1
cmp bl, 0xb
jne 0x44432e
nop
xor eax, eax
mov byte [rbp + 0x6f], al
nop
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040be70
lea rcx, [rbp + 0xd0]
call fcn.0040bd90
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x444680
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov dword [rbp + 0x5c], r8d
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0xd0]
call fcn.0040bf00
nop
mov al, 1
mov byte [rbp + 0x6f], al
mov bl, 1
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0xffffffffffffffff
jne 0x444733
mov ecx, 0x64
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xd0]
call fcn.0042f780
mov rcx, qword [rbp + 0x78]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rax
jmp 0x4447ef
mov dword [rbp + 0x8c], 0
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x50]
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x44478d
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x5c]
lea r9, [rbp + 0x8c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x44478d
mov eax, dword [rbp + 0x5c]
cmp dword [rbp + 0x8c], eax
je 0x444802
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
call sub.kernel32.dll_CloseHandle
mov ecx, 0x64
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0xd0]
call fcn.0042f780
mov rcx, qword [rbp + 0x70]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rax
add bl, 1
cmp bl, 0xb
jne 0x4446ce
nop
xor eax, eax
mov byte [rbp + 0x6f], al
nop
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040be70
lea rcx, [rbp + 0xd0]
call fcn.0040bd90
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x444b80
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov dword [rbp + 0x48], r9d
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0xb0], r8
lea rcx, [rbp + 0xa8]
call fcn.0040bf00
lea rcx, [rbp + 0xb0]
call fcn.0040bf00
nop
mov al, 1
mov byte [rbp + 0x4f], al
mov eax, dword [rbp + 0x48]
cmp eax, 0xffffffff
jne 0x444c61
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb0]
call fcn.0040d230
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
call fcn.0042f780
mov rcx, qword [rbp + 0x88]
call fcn.0040d180
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x48]
cmp eax, 0xffffffff
jne 0x444c61
mov eax, 0x80
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x48]
and eax, 1
cmp eax, 1
jne 0x444d2c
mov eax, dword [rbp + 0x48]
and eax, 0xfffffffe
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x48]
test eax, eax
jne 0x444c88
mov eax, 0x80
mov dword [rbp + 0x48], eax
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb0]
call fcn.0040d230
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
call fcn.0042f780
mov rcx, qword [rbp + 0x78]
call fcn.0040d180
mov rcx, rax
mov edx, dword [rbp + 0x48]
call sub.kernel32.dll_SetFileAttributesW
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb0]
call fcn.0040d230
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.0042f780
mov rcx, qword [rbp + 0x68]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x40]
mov qword [rcx], rax
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0xffffffffffffffff
jne 0x444d9c
jmp 0x444d96
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb0]
call fcn.0040d230
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.0042f780
mov rcx, qword [rbp + 0x58]
call fcn.0040d180
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x40]
mov qword [rcx], rax
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0xffffffffffffffff
jne 0x444d9c
xor eax, eax
mov byte [rbp + 0x4f], al
nop
lea rcx, [rbp + 0x50]
mov edx, 8
call fcn.0040be70
lea rcx, [rbp + 0xa8]
mov edx, 2
call fcn.0040be70
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x44e2d0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x28
mov cx, 0x101
mov rax, qword [0x00463fc0]
lea rdx, [rax + 0x148]
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x44e2fd
mov rax, qword [0x00463fc0]
mov byte [rax + 0x12c], 1
add rsp, 0x28
ret

Function at 0x44f330
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x70], rcx
lea rcx, [rbp + 0x70]
call fcn.0040bf00
nop
or rax, 0xffffffffffffffff
mov qword [rbp + 0x20], rax
mov bl, 0xa
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
call fcn.0044f150
mov rcx, qword [rbp + 0x28]
call fcn.0040d180
mov rcx, rax
lea rdx, [rbp + 0x48]
lea r8, [rbp + 0x38]
lea r9, [rbp + 0x40]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x44f391
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x20], rax
jmp 0x44f3a4
mov ecx, 0x64
call sub.kernel32.dll_Sleep
sub bl, 1
test bl, bl
jne 0x44f359
nop
nop
lea rcx, [rbp + 0x28]
call fcn.0040bd90
lea rcx, [rbp + 0x70]
call fcn.0040bd90
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x44f5a0
Capabilities:
Delete file
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbp, rsp
movdqa xmmword [rbp + 0x70], xmm6
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0xb0], rcx
lea rcx, [rbp + 0xb0]
call fcn.0040bf00
nop
mov rax, qword [0x00463fc0]
cmp byte [rax + 0x134], 0
je 0x44f61a
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0xb0]
call fcn.0040d820
mov rcx, qword [rbp + 0x48]
xor edx, edx
call fcn.00439060
mov rcx, qword [rbp + 0xb0]
call fcn.0044f330
mov rbx, rax
test rbx, rbx
jg 0x44f65e
mov rax, qword [0x00463fc0]
cmp byte [rax + 0x134], 0
je 0x44f804
lea rcx, [0x0044f8b8]
xor edx, edx
call fcn.00439060
xor ecx, ecx
xor edx, edx
call fcn.00439060
jmp 0x44f804
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0xb0]
call fcn.0044f400
test al, al
jne 0x44f6a2
mov rax, qword [0x00463fc0]
cmp byte [rax + 0x134], 0
je 0x44f804
lea rcx, [0x0044f954]
xor edx, edx
call fcn.00439060
xor ecx, ecx
xor edx, edx
call fcn.00439060
jmp 0x44f804
lea rcx, [rbp + 0x60]
mov rdx, qword [0x0042ee20]
call fcn.00410600
lea rcx, [rbp + 0x60]
mov rdx, qword [0x0042ee20]
mov r8d, 1
mov r9d, 0x100000
call fcn.00410430
xor esi, esi
mov dil, 1
lea rcx, [0x0044f9f0]
xor edx, edx
call fcn.00438e40
jmp 0x44f79a
mov rcx, qword [rbp + 0x68]
mov rdx, rsi
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov r8d, 0x100000
lea r9, [rbp + 0x5c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
add rsi, 0x100000
mov rax, qword [0x00463fc0]
cmp byte [rax + 0x134], 0
je 0x44f79a
cmp rsi, rbx
jle 0x44f737
mov rsi, rbx
cvtsi2sd xmm6, rsi
cvtsi2sd xmm0, rbx
divsd xmm6, xmm0
mulsd xmm6, qword [0x0044f850]
jmp 0x44f78c
movzx rax, dil
mov ecx, 0xa
xor edx, edx
div ecx
test edx, edx
jne 0x44f77a
lea rcx, [rbp + 0x40]
movzx rdx, dil
call fcn.004225b0
mov rcx, qword [rbp + 0x40]
xor edx, edx
call fcn.00438e40
jmp 0x44f788
lea rcx, [0x0044fa00]
xor edx, edx
call fcn.00438e40
add dil, 1
movzx rax, dil
cvtsi2sd xmm0, eax
comisd xmm6, xmm0
jae 0x44f74f
cmp rsi, rbx
jl 0x44f6e6
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0xb0]
lea r8, [0x0044fa08]
call fcn.0040d230
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
call fcn.0042f780
mov rcx, qword [rbp + 0x38]
call fcn.0040d180
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
mov rax, qword [0x00463fc0]
cmp byte [rax + 0x134], 0
je 0x44f803
xor ecx, ecx
xor edx, edx
call fcn.00439060
xor ecx, ecx
xor edx, edx
call fcn.00439060
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040be70
lea rcx, [rbp + 0x40]
mov edx, 2
call fcn.0040bdd0
lea rcx, [rbp + 0x60]
mov rdx, qword [0x0042ee20]
call fcn.00410600
lea rcx, [rbp + 0xb0]
call fcn.0040bd90
movdqa xmm6, xmmword [rbp + 0x70]
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x44fcc0
Capabilities:
Terminate process

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x2b0
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x60], 0
nop
mov ecx, 2
xor edx, edx
call fcn.00438870
mov rbx, rax
mov dword [rbp + 0x78], 0x238
mov rcx, rbx
lea rdx, [rbp + 0x78]
call fcn.004388a0
jmp 0x44fe80
xor eax, eax
mov rcx, qword [0x00463fc0]
mov rcx, qword [rcx + 0x48]
mov r13d, dword [rcx + 0x10]
sub r13d, 1
mov esi, eax
cmp esi, r13d
jg 0x44fe73
sub r13d, eax
add r13d, 1
movsxd rdi, esi
lea rcx, [rbp + 0x60]
mov rax, qword [0x00463fc0]
mov rax, qword [rax + 0x48]
mov rax, qword [rax + 8]
mov rdx, qword [rax + rdi*8]
call fcn.0040d850
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.004220f0
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0xa4]
mov r8d, 0x104
call fcn.0040d110
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.004220f0
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x58]
call fcn.0040d640
test eax, eax
je 0x44fe46
lea rcx, [rbp + 0x40]
mov rax, qword [0x00463fc0]
mov rax, qword [rax + 0x48]
mov rax, qword [rax + 8]
mov rdx, qword [rax + rdi*8]
call fcn.0040d850
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
call fcn.004220f0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0xa4]
mov r8d, 0x104
call fcn.0040d7b0
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
call fcn.00422b70
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
call fcn.0040d850
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x20]
call fcn.004220f0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x38]
call fcn.0040d640
test eax, eax
jne 0x44fe63
mov ecx, 1
xor edx, edx
mov r8d, dword [rbp + 0x80]
call sub.kernel32.dll_OpenProcess
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_TerminateProcess
add esi, 1
sub r13d, 1
test r13d, r13d
jne 0x44fd6f
nop
mov rcx, rbx
lea rdx, [rbp + 0x78]
call fcn.004388d0
test eax, eax
jne 0x44fd48
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x20]
call fcn.0040bd90
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040bdd0
lea rcx, [rbp + 0x38]
mov edx, 7
call fcn.0040be70
lea rsp, [rbp + 0x2b0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x401879
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
call fcn.00401018
mov rax, rsp
shr rax, 4
jae 0x401889
push 0
sub rsp, 0x80
mov ebx, 2
mov ecx, 0x17
test dword [rbp + 0x10], 1
cmovne ebx, ecx
mov edi, 1
mov ecx, 2
mov esi, 6
mov edx, 0x11
test dword [rbp + 0x10], 2
cmovne edi, ecx
cmovne esi, edx
mov r8d, esi
mov edx, edi
mov ecx, ebx
call qword [sym.imp.WS2_32.DLL_socket]
inc rax
test rax, rax
je 0x401964
dec rax
mov rdx, rax
mov rsi, 0x10
sub rsp, 0x10
test dword [rbp + 0x10], 1
je 0x401900
sub rsp, 0x10
add rsi, 0x10
mov rdi, rsp
xor eax, eax
mov ecx, esi
rep stosb byte [rdi], al
mov rdi, rsp
mov word [rdi], bx
mov eax, dword [rbp + 0x18]
xchg ah, al
mov word [rdi + 2], ax
mov rbx, rdx
mov rax, rsp
shr rax, 4
jae 0x401926
push 0
sub rsp, 0x80
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.DLL_bind]
inc eax
test eax, eax
je 0x40196c
test dword [rbp + 0x10], 2
jne 0x401961
mov rdx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WS2_32.DLL_listen]
inc eax
test eax, eax
je 0x40196c
mov rax, rbx
call fcn.00401030
ret 0x10
mov rcx, rbx
call qword [sym.imp.WS2_32.DLL_closesocket]
xor eax, eax
jmp 0x401964

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

Disassembly:
call fcn.00401018
mov rax, rsp
shr rax, 4
jae 0x401cdf
push 0
sub rsp, 0x80
mov rbx, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
jmp 0x401cfb
push 1
call fcn.00401810
xor r9d, r9d
mov r8d, dword [rdi]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.DLL_send]
test eax, eax
je 0x401d28
inc eax
test eax, eax
jne 0x401d8e
mov ecx, 3
test dword [rbp + 0x18], 1
cmovne eax, ecx
jne 0x401d94
call qword [sym.imp.WS2_32.DLL_WSAGetLastError]
cmp eax, 0x2747
je 0x401cf4
mov ecx, 1
cmp eax, 0x271e
cmove eax, ecx
je 0x401d94
cmp eax, 0x2734
je 0x401d69
cmp eax, 0x2733
je 0x401d69
cmp eax, 0x2751
je 0x401d69
cmp eax, 0x2714
je 0x401d69
mov eax, 2
jmp 0x401d94
push 0x1e
call fcn.00401810
test dword [rbp + 0x18], 8
je 0x401cf4
sub dword [rbp + 0x20], 0x1e
jae 0x401cf4
mov eax, 4
jmp 0x401d94
dec eax
mov dword [rdi], eax
xor eax, eax
call fcn.00401030
ret 0x28
Function at 0x401d9c
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
call fcn.00401018
mov rax, rsp
shr rax, 4
jae 0x401dac
push 0
sub rsp, 0x80
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x30]
mov esi, dword [rbp + 0x18]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov r12d, eax
xor r13d, r13d
xor eax, eax
mov ecx, esi
and ecx, 2
cmovne r13d, eax
jmp 0x401dde
push 1
call fcn.00401810
mov ecx, esi
and ecx, 2
mov eax, dword [rdi]
jne 0x401dea
sub eax, r13d
mov r9d, ecx
mov r8d, eax
mov rdx, qword [rbp + 0x28]
mov rcx, rbx
call qword [sym.imp.WS2_32.DLL_recv]
test eax, eax
je 0x401e1b
inc eax
test eax, eax
jne 0x401e47
mov ecx, 3
test esi, 1
cmovne eax, ecx
jne 0x401ea5
call qword [sym.imp.WS2_32.DLL_WSAGetLastError]
push rax
push 1
call fcn.00401810
pop rax
cmp eax, 0x2733
je 0x401e80
mov ecx, 2
cmp eax, 0x2749
cmove eax, ecx
je 0x401ea5
mov eax, 3
jmp 0x401ea5
dec eax
test esi, 4
je 0x401e5b
test eax, eax
je 0x401e80
mov dword [rdi], eax
xor eax, eax
jmp 0x401ea5
xor ecx, ecx
test esi, 2
cmovne r13d, eax
jne 0x401e6c
add r13d, eax
cmp r13d, dword [rdi]
cmove eax, ecx
je 0x401ea5
test esi, 2
jne 0x401e80
add qword [rbp + 0x28], rax
mov edx, dword [rbp + 0x20]
test edx, edx
je 0x401dd7
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, r12d
cmp eax, dword [rbp + 0x20]
jb 0x401dd7
mov eax, 4
mov dword [rdi], r13d
call fcn.00401030
ret 0x28

Function at 0x14000190c
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001109c
Function at 0x140006f60
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x140011600
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14001163d
test rdx, rdx
je 0x14001163d
mov rax, qword [rax]
cmp rax, r9
jne 0x140011620
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret