joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a25d0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1402c2098]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
jne 0x1400a25fb
call fcn.14019cb38
mov eax, dword [0x1402c2098]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x198], 1
je 0x1400a2622
mov ecx, dword [rsi + 0x1d30]
test ecx, ecx
je 0x1400a262f
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 1
lock xadd dword [rsi + 0x1d30], ecx
cmp ecx, 0x7fffffff
je 0x1400a268e
test rsi, rsi
je 0x1400a2691
lea rbx, [rax + 0x198]
call fcn.1400bef10
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.1400a0b80
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400a2e00
mov ecx, dword [0x1402c59b8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1d30]
jmp 0x1400a2624
int3
int3

Function at 0x1400a2ca0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xdb0], 0x8000
jne 0x1400a2dda
mov rsi, rcx
movzx eax, word [0x1402b57f8]
lea rax, [rax + rax*2]
shl eax, 4
cmp dword [rcx + rax + 0x60], 0x200
jne 0x1400a2ddd
lea rcx, [0x1402b57b0]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400a2d6b
cmp byte [0x1402c5a08], 0
jne 0x1400a2d30
cmp qword [0x1402cbf30], 0
jne 0x1400a2de3
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400a2de6
mov dword [0x1402c59b8], eax
mov dword [0x1402cbf38], eax
lea rax, [0x1400a2ad0]
mov qword [0x1402cbf30], rax
mov byte [0x1402c5a08], 1
lea rcx, [0x1402b57b0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x1402c5a10], rsi
jne 0x1400a2de0
add rsi, 0x48
lea rax, [0x1400a2df0]
mov qword [0x1402cbf40], rax
xor eax, eax
lea rcx, [0x1402c59c0]
jmp 0x1400a2da2
lea rcx, [0x1402b57b0]
call fcn.14001e950
cmp byte [0x1402c5a08], 0
jne 0x1400a2d30
jmp 0x1400a2cf2
xor edx, edx
mov byte [rax + rcx], dl
inc rax
add rsi, 0x30
cmp rax, 0x48
je 0x1400a2dd4
cmp qword [rsi], 0
je 0x1400a2d90
mov r8d, dword [rsi + 0x18]
mov dl, 0x80
cmp r8d, 0x81
jb 0x1400a2d92
mov dl, 0x40
cmp r8d, 0x101
jb 0x1400a2d92
cmp r8d, 0x201
setb dl
shl dl, 4
add dl, 0x10
jmp 0x1400a2d92
add rsp, 0x20
pop rsi
ret
int3
int3
int3
int3
int3
Function at 0x1400a9070
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, 1
lea rdx, [0x14028ee60]
cmp qword [0x1402c1800], rdx
jne 0x1400a909e
test rcx, rcx
je 0x1400a90e8
mov qword [0x1402c1800], rcx
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [fcn.1400581d0]
mov rcx, rsi
call qword [0x1402a4958]
xor esi, esi
lea rax, [0x140293db8]
mov qword [0x1402c1800], rax
mov rax, qword [fcn.1400581d0]
mov rcx, rsi
call qword [0x1402a4958]
jmp 0x1400a909c
mov rax, qword [fcn.1400581d0]
mov rcx, r14
jmp 0x1400a90b4
mov edi, 1
xor r14d, r14d
lea rbx, str.CURL_SSL_BACKEND
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov rax, qword [fcn.14009cb10]
mov edx, edi
mov rcx, r14
call qword [0x1402a4958]
test rax, rax
je 0x1400a90dc
mov rsi, rax
mov rcx, rbx
mov rdx, rax
mov r8d, edi
call r15
test eax, eax
je 0x1400a90aa
cmp eax, edi
je 0x1400a90aa
cmp eax, 0x8001
jae 0x1400a90aa
mov r14, rsi
cmp eax, edi
mov edi, eax
jae 0x1400a90fe
mov rdx, qword [str.schannel]
mov rcx, rsi
call fcn.1400af540
test eax, eax
je 0x1400a90bc
mov rax, qword [fcn.1400581d0]
lea rcx, [0x140293db8]
mov qword [0x1402c1800], rcx
jmp 0x1400a90d1
Function at 0x1400ae250
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x1400ae295
mov rsi, rcx
lea r8, [rsp + 0x2c]
mov dword [r8], 0xaaaaaaaa
movaps xmm0, xmmword [0x140272a70]
movaps xmmword [rsp + 0x30], xmm0
mov ecx, 2
mov rdx, rsi
call fcn.1400cdf90
test eax, eax
je 0x1400ae2b7
xor edx, edx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400ae2ae
call fcn.14019d280
int3
mov rax, rdx
add rsp, 0x50
pop rsi
ret
lea r8, [rsp + 0x30]
mov ecx, Ordinal_26
mov rdx, rsi
call fcn.1400cdf90
test eax, eax
jne 0x1400ae295
mov rcx, rsi
call fcn.1401bebc0
mov edx, 5
test rax, rax
je 0x1400ae297
lea r10, [rax + rsi]
dec r10
mov r8, 0xffffffffffffffff
xor ecx, ecx
cmp r10, rsi
jb 0x1400ae335
inc r8
lea r9, [r10 - 1]
cmp byte [r10], 0x2e
mov r10, r9
jne 0x1400ae2ef
mov rcx, r8
sub rcx, rax
cmp rcx, 0xffffffffffffffff
je 0x1400ae333
xor ecx, ecx
cmp r9, rsi
jb 0x1400ae335
lea r10, [r9 - 1]
inc r8
cmp byte [r9], 0x2e
mov r9, r10
jne 0x1400ae312
add r10, 2
mov rax, r8
mov rcx, r10
jmp 0x1400ae335
xor ecx, ecx
test rcx, rcx
cmovne rsi, rcx
test rax, rax
jle 0x1400ae297
add rax, rsi
mov ecx, 0x1505
mov rdx, rcx
shl rdx, 5
add rdx, rcx
movzx ecx, byte [rsi]
inc rsi
lea r8d, [rcx - 0x61]
lea r9d, [rcx - 0x20]
cmp r8b, 0x1a
movzx r8d, r9b
cmovae r8d, ecx
movzx ecx, r8b
xor rcx, rdx
cmp rsi, rax
jb 0x1400ae34d
movzx edx, cl
jmp 0x1400ae297
Function at 0x1400b0c60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rcx]
mov rcx, rbx
mov edx, 3
call fcn.1400c22b0
mov rax, qword [rsi + 0x698]
test byte [rax + 0x80], 0x10
jne 0x1400b0ee3
xor eax, eax
mov byte [rdi], al
mov byte [rsi + 0x66b], al
cmp qword [rbx + 0xd08], 0
je 0x1400b0cf4
mov rax, qword [fcn.1400581d0]
mov rcx, qword [rsi + 0x6e0]
call qword [0x1402a4958]
mov qword [rsi + 0x6e0], 0
mov rdx, qword [rbx + 0xd08]
lea rcx, str.User_Agent:__s_r_n
call fcn.1400c3d70
mov qword [rsi + 0x6e0], rax
test rax, rax
je 0x1400b0d2b
mov qword [rbx + 0x108], 0
cmp byte [0x1402c8640], 1
je 0x1400b0d35
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400b0d6e
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400b0ee8
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x38]
mov qword [r14], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
mov r8, qword [0x1402c8648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
movabs r14, 0xaaaaaaaa00000000
mov eax, eax
or rax, r14
mov qword [rsi + 0x490], rcx
mov qword [rsi + 0x498], rax
cmp qword [rsi + 0x4c0], 0xffffffffffffffff
je 0x1400b0e79
mov rcx, rbx
mov edx, 4
call fcn.1400c22b0
cmp byte [rsi + 0x558], 0
jne 0x1400b0dbc
mov rax, qword [rsi + 0x698]
test byte [rax + 0x7c], 0x30
je 0x1400b0dc9
mov rcx, rbx
mov edx, 5
call fcn.1400c22b0
mov bl, 1
mov byte [rsi + 0x652], bl
mov byte [rdi], bl
mov rdx, qword [rsi + 0x4c0]
mov rcx, rsi
call fcn.1400bbf20
mov rcx, qword [rsi]
cmp byte [rcx + 0xf1e], bl
jne 0x1400b0e4d
mov eax, dword [rsi + 0x2d0]
mov edx, dword [rsi + 0x3f0]
lea r9, [rsi + 0x2f8]
mov r8d, 0x398
cmp byte [rsi + 0x65b], 0
jne 0x1400b0e35
mov r8d, 0x3d0
cmp byte [rsi + 0x65a], 0
jne 0x1400b0e35
cmp byte [rsi + 0x657], 0
mov r10d, 0x378
mov r8d, 0x348
cmovne r8, r10
mov r8, qword [rsi + r8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str.Connected_to__s___s__port__ld___ld__n
call fcn.1400b6a70
cmp byte [0x1402c8640], 1
je 0x1400b0e95
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400b0ece
mov byte [rsi + 0x652], 0
mov rdx, qword [rsi + 0x2d8]
mov rcx, rsi
call fcn.1400bceb0
test eax, eax
jne 0x1400b0ee8
jmp 0x1400b0e4d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov r8, qword [0x1402c8648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov eax, eax
or rax, r14
mov qword [rsi + 0x490], rcx
mov qword [rsi + 0x498], rax
jmp 0x1400b0ee6
mov byte [rdi], 1
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400b0eff
call fcn.14019d280
int3
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400b62f0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1c8
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test cl, 2
je 0x1400b6372
lea rsi, [rsp + 0x28]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.1401d6710
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400b6361
mov esi, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400b6355
call fcn.14019d280
int3
mov eax, esi
add rsp, 0x1c8
pop rdi
pop rsi
ret
cmp word [rsp + 0x28], 0x202
je 0x1400b6372
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1400b6336
call fcn.1400f2e40
mov esi, eax
test eax, eax
jne 0x1400b633b
lea rcx, str.iphlpapi.dll
call fcn.1400b6460
mov qword [0x1402c8638], rax
test rax, rax
je 0x1400b63b1
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b63b1
mov qword [0x1402c8630], rax
lea rdi, [rsp + 0x34]
xor esi, esi
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1401d6710
movabs rax, 0x60000011c
mov qword [rdi - 0xc], rax
mov dword [rdi - 4], 0
mov dword [rdi + 4], 2
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 8
mov r8b, 1
call rdi
lea rcx, [rsp + 0x28]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
setne byte [0x1402c8640]
lea rcx, [0x1402c8648]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x1400b633b
Function at 0x1400b6460
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b64d2
mov rbx, rax
lea rdx, [0x14028fe68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x14028fe78]
mov rcx, rdi
call fcn.1401c03d4
test rax, rax
je 0x1400b64e4
test rsi, rsi
je 0x1400b6512
mov r9, qword [0x1402a4958]
mov rcx, rdi
xor edx, edx
mov r8d, 8
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp r9
xor r14d, r14d
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rsi, rsi
je 0x1400b653c
lea rdx, str.AddDllDirectory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b653c
mov r9, qword [0x1402a4958]
mov rcx, rdi
xor edx, edx
mov r8d, 0x800
jmp 0x1400b64c1
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r14d, r14d
mov rax, qword [fcn.1400581d0]
mov rcx, rbx
call qword [0x1402a4958]
jmp 0x1400b64d5
xor r14d, r14d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400b64d5
mov r15d, eax
mov rcx, rdi
call fcn.14019aed8
mov rdx, qword [fcn.14009cac0]
lea ecx, [r15 + 1]
add rcx, rax
add rcx, rcx
mov rax, rdx
call qword [0x1402a4958]
mov rbx, rax
test rax, rax
je 0x1400b6527
mov rcx, rbx
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400b6527
mov rcx, rbx
call fcn.14019aed8
lea rcx, [rbx + rax*2]
lea rdx, [0x140279d30]
call fcn.1401c0304
mov rcx, rbx
call fcn.14019aed8
lea rcx, [rbx + rax*2]
mov rdx, rdi
call fcn.1401c0304
mov rcx, rbx
test rsi, rsi
je 0x1400b65d7
xor edx, edx
mov r8d, 8
mov rax, rsi
call qword [0x1402a4958]
mov r14, rax
jmp 0x1400b652a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1400b65cf
Function at 0x1400b7140
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov r12, qword [rsp + 0x190]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x120], rax
movsxd rbp, edx
mov r14, qword [rcx + rbp*8 + 0x4c0]
mov rax, qword [rcx + 0x698]
test byte [rax + 0x7c], 3
je 0x1400b71a3
lea rax, [0x1400b7340]
cmp qword [rsi + rbp*8 + 0x4e8], rax
je 0x1400b7261
mov rcx, r14
mov rdx, rbx
mov r8d, edi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [r12], 0
cmp eax, 0xffffffff
je 0x1400b71f2
cdqe
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400b71de
call fcn.14019d280
int3
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400b720b
mov dword [r12], 0x51
xor eax, eax
jmp 0x1400b71c4
mov edi, eax
lea rbx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d6710
mov r8d, 0x100
mov ecx, edi
mov rdx, rbx
call fcn.1400d0910
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b6d70
mov rax, qword [rsi]
mov dword [rax + 0x11b0], edi
mov dword [r12], 0x37
mov rax, 0xffffffffffffffff
jmp 0x1400b71c4
shl rbp, 5
lea r13, [rsi + rbp]
add r13, 0x508
mov r15, qword [r13 + 8]
sub r15, qword [r13 + 0x10]
cmp qword [r13], 0
sete al
test r15, r15
setne cl
or cl, al
cmp cl, 1
jne 0x1400b71a3
mov rcx, r14
mov rdx, 0xffffffffffffffff
mov r8, 0xffffffffffffffff
xor r9d, r9d
call fcn.1400d6a80
cmp eax, 0xffffffff
sete cl
test al, 1
sete al
or al, cl
jne 0x1400b71a3
add rbp, rsi
add rbp, 0x518
mov rax, qword [r13]
test rax, rax
je 0x1400b72f9
mov rdx, qword [rbp]
add rdx, rax
mov rcx, r14
mov r8d, r15d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400b71a3
mov eax, eax
add qword [rbp], rax
jmp 0x1400b71a3
mov rax, qword [rsi]
movsxd rcx, dword [rax + 0xb70]
add rcx, rcx
mov qword [r13 + 8], rcx
mov rax, qword [fcn.14009cac0]
call qword [0x1402a4958]
mov qword [r13], rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
test rax, rax
je 0x1400b732f
mov r15, qword [r13 + 8]
xor edx, edx
jmp 0x1400b72d4
mov qword [r13 + 8], 0
jmp 0x1400b71a3
Function at 0x1400bcdc0
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 4
mov eax, dword [0x1402c8650]
cmp eax, 2
je 0x1400bce86
mov rsi, rcx
test eax, eax
jne 0x1400bce34
mov ecx, 6
xor edx, edx
mov r8d, 2
mov r9d, 3
call fcn.1400b65e0
test al, al
je 0x1400bce2a
mov dword [0x1402c8650], 2
jmp 0x1400bce86
mov dword [0x1402c8650], 1
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400bce65
cmp dword [rsp + 0x30], 0x4020
jg 0x1400bce86
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400bce9d
call fcn.14019d280
int3
add rsp, 0x40
pop rsi
ret
Function at 0x1400bdc70
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov qword [rsp + 0x20], r9
mov rsi, r8
mov r12, rdx
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rcx]
lea r15, [rsp + 0x30]
mov r8d, Ordinal_145
mov rcx, r15
mov dl, 0xaa
call fcn.1401d6710
test rsi, rsi
mov r14, rsi
cmove r14, r15
mov ebp, dword [r12 + 4]
mov dword [r14], ebp
xor r13d, r13d
cmp dword [rbx + 0x32c], 3
setne r13b
inc r13d
mov dword [r14 + 4], r13d
mov r15d, 0x11
cmp dword [rbx + 0x32c], 3
jne 0x1400bdcf6
mov r15d, dword [r12 + 0xc]
test rsi, rsi
mov rcx, rsi
lea rax, [rsp + 0x30]
cmove rcx, rax
mov dword [rcx + 8], r15d
mov eax, dword [r12 + 0x10]
mov r8d, Ordinal_133
cmp eax, 0x80
cmovb r8d, eax
mov dword [rcx + 0xc], r8d
add rcx, 0x10
mov rdx, qword [r12 + 0x20]
call fcn.1401d6070
mov rax, qword [rdi + 0x738]
test rax, rax
je 0x1400bddc1
test rdi, rdi
je 0x1400bddac
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
je 0x1400bdd90
mov byte [rcx + 0x18a], 1
mov rax, qword [rdi + 0x738]
mov rcx, qword [rdi + 0x740]
xor edx, edx
mov r8, r14
call qword [0x1402a4958]
mov rdx, qword [rsp + 0x20]
mov qword [rdx], rax
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
je 0x1400bdd9e
mov byte [rcx + 0x18a], 0
mov rax, qword [rdx]
jmp 0x1400bddd7
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
jne 0x1400bdd50
jmp 0x1400bdd5e
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
jne 0x1400bdd84
jmp 0x1400bddd7
mov rcx, qword [0x740]
xor edx, edx
mov r8, r14
call qword [0x1402a4958]
jmp 0x1400bddcf
mov ecx, ebp
mov edx, r13d
mov r8d, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
cmp rax, 0xffffffffffffffff
je 0x1400bde23
cmp dword [rbx + 0x32c], 5
jne 0x1400bde00
lea r8, [rsp + 0x2c]
mov dword [r8], 1
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [rbx + 0x328]
xor eax, eax
test ecx, ecx
je 0x1400bde28
cmp dword [r14], 0x17
jne 0x1400bde28
test rsi, rsi
lea rdx, [rsp + 0x30]
cmovne rdx, rsi
mov dword [rdx + 0x28], ecx
jmp 0x1400bde28
mov eax, 7
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400bde42
call fcn.14019d280
int3
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c8b10
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov dword [rsp + 0x20], 0xf0000040
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400c8b52
mov rcx, qword [rsi]
add rsi, 8
mov qword [rsp + 0x20], rsi
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
add rsp, 0x30
pop rsi
ret
Function at 0x1400ccd70
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov ebp, dword [rsp + 0xb0]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea r15, [rsp + 0x48]
mov qword [r15], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], edi
mov rcx, r8
xor edx, edx
mov r8, r9
call fcn.1401d6710
mov dword [rsp + 0x20], 0xf0000040
mov rcx, r15
xor edx, edx
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400cce9e
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400cce7c
mov rcx, qword [rsp + 0x40]
mov rdx, r14
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400cce7c
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400cce7c
mov eax, dword [rsp + 0x3c]
cmp rdi, rax
jb 0x1400cce7c
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov edx, 2
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400cce8c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400cce9e
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400cceb5
call fcn.14019d280
int3
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400ce3c0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x1402c8640], 1
je 0x1400ce412
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rbx, rcx, 0x10624dd3
shr rbx, 0x26
imul ecx, ebx, 0x3e8
sub eax, ecx
imul r14d, eax, 0x3e8
jmp 0x1400ce44e
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x28]
mov qword [rbx], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov rcx, qword [0x1402c8648]
cqo
idiv rcx
mov rbx, rax
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov r14, rax
mov rcx, rdi
mov rdx, rsi
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400ce47d
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400ce4a3
call fcn.14019d280
int3
movabs rbp, 0xffdf3b645a1cac09
movabs r12, 0xffbe76c8b4395813
mov r13d, 0x3e8
mov r15, qword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x1400ce539
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul edx, eax, 0x3e8
sub rcx, rbx
lea r8, [rcx + rbp]
mov eax, 1
cmp r8, r12
jb 0x1400ce466
imul rcx, rcx, 0x3e8
sub edx, r14d
movsxd rdx, edx
imul rdx, rdx, 0x10624dd3
mov r8, rdx
shr r8, 0x3f
sar rdx, 0x26
add edx, r8d
movsxd rdx, edx
add rdx, rcx
cmp rdx, r13
ja 0x1400ce466
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
mov rdx, rsi
mov r8d, 1
call r15
test eax, eax
jne 0x1400ce464
cmp byte [0x1402c8640], 1
jne 0x1400ce4b4
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x28]
mov r8, qword [0x1402c8648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov rdx, rax
jmp 0x1400ce4d5
Function at 0x1400d6940
Capabilities:
Get socket status

Disassembly:
push rsi
sub rsp, 0x40
mov r10, qword [rsp + 0x70]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, 0x7fffffff
cmp r10, 0x7fffffff
cmovl rax, r10
test rdx, rdx
je 0x1400d6a31
cmp dword [rdx], 0
je 0x1400d6a31
movabs r11, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], r11
xor r11d, r11d
test r10, r10
js 0x1400d6a24
mov esi, 0
je 0x1400d69bb
mov r10d, eax
imul r11, r10, 0x10624dd3
shr r11, 0x26
imul r10d, r11d, 0x3e8
sub eax, r10d
imul esi, eax, 0x3e8
lea r10, [rsp + 0x30]
mov dword [r10], r11d
mov dword [r10 + 4], esi
xor eax, eax
test r9, r9
je 0x1400d69d6
cmp dword [r9], 0
cmovne rax, r9
xor r9d, r9d
test r8, r8
je 0x1400d69e6
cmp dword [r8], 0
cmovne r9, r8
xor r8d, r8d
test rdx, rdx
je 0x1400d69f5
cmp dword [rdx], 0
cmovne r8, rdx
inc ecx
mov qword [rsp + 0x20], r10
mov rdx, r8
mov r8, r9
mov r9, rax
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400d6a29
call fcn.14019d280
int3
xor r10d, r10d
jmp 0x1400d69c7
mov eax, esi
add rsp, 0x40
pop rsi
ret
test r8, r8
je 0x1400d6a40
cmp dword [r8], 0
jne 0x1400d697b
test r9, r9
je 0x1400d6a4f
cmp dword [r9], 0
jne 0x1400d697b
xor esi, esi
test eax, eax
je 0x1400d6a0d
js 0x1400d6a61
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d6a0d
mov ecx, 0x2726
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov esi, 0xffffffff
jmp 0x1400d6a0d