joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400988d0
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x90
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
test r8, r8
je 0x140098926
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + rcx]
mov byte [r9 + rax*2], dl
mov byte [r9 + rax*2 + 1], 0
inc rax
cmp rax, rdi
jb 0x140098910
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x5c]
call fcn.14020fde0
lea r8, [rdi + rdi]
mov dword [rsp + 0x20], 0x67452301
mov rdx, rbx
mov dword [rsp + 0x24], 0xefcdab89
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
call fcn.1400bd560
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400bd690
xor eax, eax
mov rcx, rbx
mov dword [rsi + 0x10], eax
mov byte [rsi + 0x14], al
call qword [fcn.1402196e8]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret

Function at 0x140098b70
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x90
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x5c]
call fcn.14020fde0
or rax, 0xffffffffffffffff
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140098bd0
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14009c7d0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14009c920
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401ef4e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400a19d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
mov eax, 0x468
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov rbx, rcx
test rcx, rcx
jne 0x1400a1a03
xor eax, eax
jmp 0x1400a1bbc
lea rdx, [rsp + 0x20]
call fcn.14022516c
test eax, eax
js 0x1400a19fc
mov rax, qword [0x14036bc48]
mov qword [rsp + 0x498], r14
mov qword [rsp + 0x460], r15
lea r15, [0x140332138]
test rax, rax
jne 0x1400a1a73
cmp qword [0x14036be78], rbp
je 0x1400a1a69
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x1400a1a69
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x1400a1a73
call fcn.1400c1e20
mov rax, r15
mov qword [0x14036bc48], rax
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400a1a8c
xorps xmm2, xmm2
lea rcx, [rsp + 0x20]
mov edx, Ordinal_50
call r8
lea rdx, [0x14031bd7c]
mov rcx, rbx
call fcn.140219988
mov r14, rax
test rax, rax
je 0x1400a1baa
mov eax, 0x2000
mov qword [rsp + 0x488], rsi
mov qword [rsp + 0x490], rdi
test word [rsp + 0x26], ax
je 0x1400a1ad4
xor r9d, r9d
xor edx, edx
mov rcx, r14
lea r8d, [r9 + 4]
call fcn.14022a728
mov ebx, 0x400
nop dword [rax]
mov edi, 0x400
test ebx, ebx
jle 0x1400a1aee
cmp ebx, edi
cmovl edi, ebx
movsxd r8, edi
lea rcx, [rsp + 0x50]
mov r9, r14
mov edx, 1
call fcn.140219d04
mov rsi, rax
test eax, eax
jle 0x1400a1b83
mov rcx, qword [0x14036bc48]
test rcx, rcx
jne 0x1400a1b55
cmp qword [0x14036be78], rcx
je 0x1400a1b4b
lea edx, [rcx + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
test rax, rax
je 0x1400a1b4b
mov rcx, qword [rax + 0x38]
mov qword [0x14036bc48], rcx
test rcx, rcx
jne 0x1400a1b55
mov rcx, rax
call fcn.1400c1e20
mov rcx, r15
mov qword [0x14036bc48], rcx
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400a1b6f
movd xmm2, esi
lea rcx, [rsp + 0x50]
cvtdq2pd xmm2, xmm2
mov edx, edi
call rax
add ebp, esi
test ebx, ebx
jle 0x1400a1ae0
sub ebx, edi
test ebx, ebx
jg 0x1400a1ae0
mov rcx, r14
call fcn.140219a18
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.1400011e0
mov rdi, qword [rsp + 0x490]
mov rsi, qword [rsp + 0x488]
mov r15, qword [rsp + 0x460]
mov eax, ebp
mov r14, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0x468
pop rbp
pop rbx
ret
Function at 0x1400be380
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401ef830
sub rsp, rax
mov ecx, 0xe0
mov esi, r8d
mov rdi, rdx
call qword [fcn.14021a348]
mov rbx, rax
test rax, rax
jne 0x1400be3c6
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x38], rbp
lea rax, fcn.14009ca90
mov qword [rbx], rax
lea rcx, [rbx + 0x18]
mov qword [rbx + 8], rcx
lea rax, [rcx + 0x5c]
mov qword [rbx + 0x10], rax
cmp esi, 0x40
jbe 0x1400be417
call fcn.14009ca90
mov rcx, qword [rbx + 8]
mov r8d, esi
mov rdx, rdi
call fcn.14009c7d0
mov rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
add rdi, 0x5c
mov rcx, rdi
call fcn.14009c920
mov esi, reloc.WS2_32.dll_recv
mov rcx, qword [rbx + 8]
call fcn.14009ca90
mov rcx, qword [rbx + 0x10]
call fcn.14009ca90
xor ebp, ebp
test rsi, rsi
je 0x1400be48a
mov rbp, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
lea rdx, [rsp + 0x30]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x30], al
mov rcx, qword [rbx + 8]
call fcn.14009c7d0
movzx eax, byte [rdi]
lea rdx, [rsp + 0x30]
xor al, 0x5c
lea rdi, [rdi + 1]
mov byte [rsp + 0x30], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call fcn.14009c7d0
sub rsi, 1
jne 0x1400be440
cmp rbp, 0x40
jae 0x1400be4c4
mov edi, 0x40
sub rdi, rbp
mov rcx, qword [rbx + 8]
lea rdx, [0x14027d07e]
mov r8d, 1
call fcn.14009c7d0
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14027d07d]
mov r8d, 1
call fcn.14009c7d0
sub rdi, 1
jne 0x1400be492
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c7690
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, Ordinal_50
call fcn.1401ef830
sub rsp, rax
mov rbx, rdx
mov rsi, rcx
call fcn.1400c74b0
mov rdi, rax
test rax, rax
jne 0x1400c7769
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x14032da78]
mov dword [rsp + 0x20], 0xaf
mov r8d, eax
lea edx, [rdi + 1]
lea ecx, [rdi + 2]
call fcn.1400a36f0
lea rax, [0x14031e33c]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, [0x14031e314]
lea rdx, [0x14032dab8]
mov qword [rsp + 0x20], rbx
lea ecx, [rdi + 5]
call fcn.1400a3fe0
call fcn.1402197a8
cmp dword [rax], 2
je 0x1400c7735
call fcn.1402197a8
cmp dword [rax], 6
je 0x1400c7735
mov dword [rsp + 0x20], 0xb8
lea r9, [0x14032dad8]
lea r8d, [rdi + 2]
jmp 0x1400c774a
mov dword [rsp + 0x20], 0xb6
lea r9, [0x14032daa0]
mov r8d, 0x80
mov edx, WSAGetLastError
lea ecx, [rdx - 0x4d]
call fcn.1400a36f0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x14032db70]
call fcn.1400b0c80
mov rbx, rax
test rax, rax
jne 0x1400c7797
mov rcx, rdi
call fcn.140219a18
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov edx, 0x6a
mov r9, rdi
mov rcx, rbx
lea r8d, [rdx - 0x69]
call fcn.1400b1540
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ec450
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, Ordinal_50
call fcn.1401ef830
sub rsp, rax
mov rax, qword [rcx + 8]
mov rbx, rcx
lea rcx, [rsp + 0x40]
mov r9d, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x28], rcx
mov rcx, rbx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x60]
cmp dword [rsp + 0x40], 0
mov ecx, eax
je 0x1400ec55c
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x48], rdi
cmp dword [rax + 0x1c8], 0
jne 0x1400ec4c2
mov edi, 0xa
mov dword [rsp + 0x20], 0x101
lea r9, [0x140334df0]
mov r8d, 0x9a
jmp 0x1400ec538
xor edx, edx
mov dword [rax + 0x1c8], edx
mov r11, qword [rbx + 0x80]
mov r10, qword [rbx + 0x58]
movsxd rdi, dword [r11 + 0x394]
cmp edi, ecx
je 0x1400ec4f8
lea edi, [rdx + 0x32]
mov dword [rsp + 0x20], 0x10b
lea r9, [0x140334de0]
lea r8d, [rdx + 0x6f]
jmp 0x1400ec538
xor r8b, r8b
test edi, edi
je 0x1400ec562
nop
movzx ecx, byte [r11 + rdx + 0x314]
movzx eax, byte [rdx + r10]
inc rdx
xor cl, al
or r8b, cl
cmp rdx, rdi
jb 0x1400ec500
test r8b, r8b
je 0x1400ec562
mov edi, getservbyname
mov dword [rsp + 0x20], 0x111
lea r9, [0x140334e18]
lea r8d, [rdi + 0x62]
mov edx, Ordinal_143
lea ecx, [rdx - 0x78]
call fcn.1400a36f0
mov r8d, edi
mov edx, 2
mov rcx, rbx
call fcn.1400d63b0
mov rdi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp dword [rbx + 4], 0x2000
jne 0x1400ec5ab
cmp edi, 0x40
jg 0x1400ec5eb
mov rcx, qword [rbx + 0x80]
mov r8, rdi
lea rdx, [rcx + 0x314]
add rcx, 0x418
call fcn.14020f990
mov rax, qword [rbx + 0x80]
mov byte [rax + 0x458], dil
mov eax, 1
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
cmp edi, 0x40
jg 0x1400ec620
mov rcx, qword [rbx + 0x80]
mov r8, rdi
lea rdx, [rcx + 0x314]
add rcx, 0x459
call fcn.14020f990
mov rax, qword [rbx + 0x80]
mov byte [rax + 0x499], dil
mov eax, 1
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
lea r9, [0x140334e00]
mov r8d, 0x119
lea rdx, [0x140334e40]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.1400c24c0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14022a944
mov ecx, 3
call fcn.140221d40
int3
lea r9, str.i___EVP_MAX_MD_SIZE
mov r8d, 0x11d
lea rdx, [0x140334e60]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.1400c24c0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14022a944
mov ecx, 3
call fcn.140221d40
int3
Function at 0x140117b20
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, Ordinal_50
call fcn.1401ef830
sub rsp, rax
mov rsi, rdx
lea ebp, [rax - 0x2f]
mov rbx, rcx
call fcn.140117fd0
mov edi, eax
test eax, eax
jns 0x140117b74
lea r9, [0x140340f30]
mov dword [rsp + 0x20], 0x7b
lea edx, [rbp + 0x69]
lea ecx, [rbp + 0x1f]
lea r8d, [rbp + 0x6b]
call fcn.1400a36f0
jmp 0x140117c67
call fcn.140117f20
cmp eax, ebp
jne 0x140117c7b
test edi, edi
jle 0x140117b8c
mov eax, ebp
jmp 0x140117c84
mov rax, qword [0x14036bd70]
test rax, rax
je 0x140117bae
mov r9d, Ordinal_143
lea r8, [0x140340f18]
lea edx, [r9 - 0x78]
lea ecx, [rdx - 0xd]
call rax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdx, rax
test rax, rax
jne 0x140117bdf
lea r9, [0x140340f60]
mov dword [rsp + 0x20], __WSAFDIsSet
lea edx, [rax + 0x6a]
lea ecx, [rax + 0x20]
lea r8d, [rax + 0x66]
call fcn.1400a36f0
jmp 0x140117c40
cmp word [rax + 0x10], 2
je 0x140117c08
mov edx, 0x6a
mov dword [rsp + 0x20], 0x99
lea r9, [0x140340f48]
lea ecx, [rdx - 0x4a]
lea r8d, [rdx + 1]
call fcn.1400a36f0
jmp 0x140117c40
mov rax, qword [rax + 0x18]
xor ebp, ebp
mov rcx, qword [rax]
movzx eax, byte [rcx]
mov byte [rsi], al
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax]
movzx eax, byte [rcx + 1]
mov byte [rsi + 1], al
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax]
movzx eax, byte [rcx + 2]
mov byte [rsi + 2], al
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax]
movzx eax, byte [rcx + 3]
mov byte [rsi + 3], al
mov rax, qword [0x14036bd70]
test rax, rax
je 0x140117c63
mov edx, reloc.WS2_32.dll_shutdown
lea r8, [0x140340f78]
mov r9d, 0xa2
lea ecx, [rdx - 0xc]
call rax
test ebp, ebp
je 0x140117c7f
mov r8, rbx
lea rdx, [0x14032243c]
mov ecx, 2
call fcn.1400a3fe0
xor eax, eax
jmp 0x140117c84
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14011bf80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0xb8
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r12, qword [rsp + 0x110]
xor ebx, ebx
movsxd rbp, r8d
mov rsi, r9
mov r14, rdx
mov rdi, rcx
mov eax, ebx
test r9, r9
je 0x14011bfe6
cmp r9, qword [rcx]
je 0x14011bfdc
test rdx, rdx
je 0x14011c1a4
test r8d, r8d
js 0x14011c1a4
mov eax, 1
mov qword [rcx], r9
jmp 0x14011bff2
mov rsi, qword [rcx]
test rsi, rsi
je 0x14011c1a4
mov qword [rsp + 0xb0], r15
test r14, r14
je 0x14011c0b3
mov eax, dword [rsi + 0x5c]
cmp eax, 0x80
jg 0x14011c1c4
cmp eax, ebp
jge 0x14011c065
mov r8, r12
mov rdx, rsi
add rcx, 8
call fcn.1400c7f80
test eax, eax
je 0x14011c193
mov r8, rbp
lea rcx, [rdi + 8]
mov rdx, r14
call qword [rdi + Ordinal_50]
test eax, eax
je 0x14011c193
lea r14, [rdi + 0x98]
mov r8, r14
lea rdx, [rdi + 0x9c]
lea rcx, [rdi + 8]
call fcn.1400c8240
test eax, eax
je 0x14011c193
jmp 0x14011c08a
cmp ebp, 0x80
ja 0x14011c193
mov r8, rbp
add rcx, 0x9c
call fcn.14020f990
lea r14, [rdi + 0x98]
mov dword [r14], ebp
mov ecx, dword [r14]
cmp ecx, 0x80
je 0x14011c0bb
mov eax, ecx
mov r8d, 0x80
sub r8d, ecx
xor edx, edx
lea rcx, [rdi + 0x9c]
add rcx, rax
call fcn.14020fde0
jmp 0x14011c0bb
test eax, eax
je 0x14011c182
lea rcx, [rsp + 0x20]
mov rax, rdi
sub rax, rcx
mov rdx, rbx
lea r14, [rax + 0x9c]
lea r15, [rax + 0x9d]
nop word [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [r14 + rcx]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [r15 + rcx]
xor al, 0x36
mov byte [rcx + 1], al
cmp rdx, 0x80
jl 0x14011c0e0
mov r8, r12
lea rcx, [rdi + 0x38]
mov rdx, rsi
call fcn.1400c7f80
test eax, eax
je 0x14011c193
movsxd r8, dword [rsi + 0x5c]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x38]
call qword [rdi + 0x60]
test eax, eax
je 0x14011c193
nop
lea rcx, [rsp + 0x20]
add rcx, rbx
add rbx, 2
movzx eax, byte [r14 + rcx]
xor al, 0x5c
mov byte [rcx], al
movzx eax, byte [r15 + rcx]
xor al, 0x5c
mov byte [rcx + 1], al
cmp rbx, 0x80
jl 0x14011c130
mov r8, r12
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.1400c7f80
test eax, eax
je 0x14011c193
movsxd r8, dword [rsi + 0x5c]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x68]
call qword [rdi + 0x90]
test eax, eax
je 0x14011c193
lea rdx, [rdi + 0x38]
lea rcx, [rdi + 8]
call fcn.1400c82f0
test eax, eax
jne 0x14011c197
xor eax, eax
jmp 0x14011c19c
mov eax, 1
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0xb8
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea r9, str.j____int_sizeof_ctx__key_
mov r8d, reloc.WS2_32.dll_WSACleanup
lea rdx, str..cryptohmachmac.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.1400c24c0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14022a944
mov ecx, 3
call fcn.140221d40
int3
Function at 0x14011f560
Capabilities:
Encode data using xor

Disassembly:
push r14
mov rax, qword [rcx + 8]
lea r14d, [r9 + 1]
mov r10, rdx
mov r11, rcx
mov r9, qword [rax + 0xc8]
test byte [r9 + 0x70], 1
je 0x14011f5a1
mov ecx, dword [rdx + 4]
lea eax, [r14 + r8]
cmp eax, ecx
jbe 0x14011f58e
xor eax, eax
pop r14
ret
mov eax, r8d
add qword [rdx + 0x10], rax
add qword [rdx + 0x18], rax
sub ecx, r8d
mov dword [rdx + 4], ecx
jmp 0x14011f5a7
cmp r14d, dword [rdx + 4]
ja 0x14011f589
mov ecx, dword [rdx + 4]
mov rax, qword [rdx + 0x10]
dec ecx
mov qword [rsp + 0x10], rbx
xor ebx, ebx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rcx + rax]
mov qword [rsp + 0x28], rdi
or edi, 0xffffffff
test dword [r11 + 0x19c], 0x200
je 0x14011f640
cmp qword [r11 + 0xe0], rbx
jne 0x14011f640
mov rsi, qword [r11 + 0x80]
lea rbp, [0x14036bef0]
xor r9b, r9b
mov edx, ebx
nop word [rax + rax]
movzx ecx, byte [rsi + rdx + 8]
movzx eax, byte [rdx + rbp]
inc rdx
xor cl, al
or r9b, cl
cmp rdx, 8
jb 0x14011f600
test r9b, r9b
jne 0x14011f62c
test r8b, 1
jne 0x14011f62c
mov rax, qword [r11 + 0x80]
or dword [rax], 8
mov rax, qword [r11 + 0x80]
test byte [rax], 8
je 0x14011f640
test r8d, r8d
je 0x14011f640
add r8d, edi
mov rax, qword [r11 + 0xd0]
mov rcx, qword [rax]
test dword [rcx + 0x10], 0x200000
je 0x14011f664
sub edi, r8d
mov eax, 1
add dword [r10 + 4], edi
jmp 0x14011f70c
mov edi, dword [r10 + 4]
lea ecx, [r8 + r14]
mov esi, 0xff
mov r9d, edi
sub r9d, ecx
mov eax, edi
xor r9d, ecx
xor eax, ecx
or r9d, eax
lea eax, [rdi - 1]
xor r9d, edi
shr r9d, 0x1f
dec r9d
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x14011f6db
mov rbp, qword [r10 + 0x10]
mov r11d, r8d
shr r11d, 0x1f
movzx eax, r11b
mov ecx, ebx
shr ecx, 0x1f
mov edx, r8d
sub edx, ebx
xor al, cl
shr edx, 0x1f
xor dl, cl
or dl, al
mov eax, edi
xor dl, r11b
sub eax, ebx
dec dl
dec eax
movzx edx, dl
inc ebx
movzx ecx, byte [rax + rbp]
xor ecx, r8d
and edx, ecx
not edx
and r9d, edx
cmp ebx, esi
jb 0x14011f6a2
not r9d
movzx eax, r9b
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [r8 + 1]
neg ecx
and eax, ecx
sub edi, eax
shl eax, 8
or dword [r10], eax
mov eax, ecx
and eax, 1
mov dword [r10 + 4], edi
not ecx
or eax, ecx
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x14011f730
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0xe0
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12d, dword [rdx + 4]
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
mov ecx, r12d
mov dword [rsp + 0x20], r9d
sub ecx, r8d
mov edi, r8d
mov qword [rsp + 0x28], rdx
mov ebp, r13d
mov dword [rsp + 0x24], ecx
cmp r9d, r8d
jb 0x14011f952
cmp edi, 0x40
ja 0x14011f91d
mov qword [rsp + 0x118], rbx
lea rax, [rsp + 0x40]
neg rax
mov qword [rsp + 0xd8], r14
and eax, 0x3f
mov qword [rsp + 0xd0], r15
lea r14, [rsp + 0x40]
add r14, rax
lea eax, [rdi + 0x100]
cmp r9d, eax
jbe 0x14011f7d3
mov ebp, r9d
sub ebp, edi
sub ebp, 0x100
xor edx, edx
mov eax, edi
and eax, 0xfffffffe
mov r8, rdi
shl eax, 0x17
mov r15, rdi
sub eax, ebp
add eax, ecx
mov rcx, r14
div edi
mov ebx, edx
xor edx, edx
call fcn.14020fde0
mov r9d, dword [rsp + 0x20]
cmp ebp, r9d
jae 0x14011f8a1
mov rax, qword [rsp + 0x28]
mov r11d, r12d
mov r10d, dword [rsp + 0x24]
mov esi, r12d
sub esi, dword [rsp + 0x24]
shr r10d, 0x1f
mov rcx, qword [rax + 0x10]
shr r11d, 0x1f
mov r15, rcx
neg r12d
nop dword [rax]
lea r8d, [r12 + rbp]
mov ecx, ebp
shr ecx, 0x1f
lea edx, [r8 + rsi]
shr r8d, 0x1f
movzx eax, r10b
xor al, cl
shr edx, 0x1f
xor r8b, r11b
xor dl, r10b
or dl, al
movzx eax, r11b
xor al, cl
xor dl, cl
or r8b, al
dec dl
xor r8b, cl
mov eax, ebp
dec r8b
inc ebp
not r8b
and r8b, byte [rax + r15]
mov eax, edi
and r8b, dl
or byte [r13 + r14], r8b
inc r13d
xor eax, r13d
mov ecx, r13d
sub ecx, edi
xor ecx, edi
or ecx, eax
xor ecx, r13d
shr ecx, 0x1f
neg ecx
and r13d, ecx
cmp ebp, r9d
jb 0x14011f830
mov rsi, qword [rsp + 0x30]
mov r15, rdi
test edi, edi
je 0x14011f8e6
nop word [rax + rax]
mov ecx, ebx
lea rsi, [rsi + 1]
mov eax, ebx
inc ebx
xor rax, 0x20
movzx eax, byte [rax + r14]
movzx eax, byte [rcx + r14]
mov ecx, ebx
sub ecx, edi
mov byte [rsi - 1], al
xor ecx, edi
mov eax, edi
xor eax, ebx
or ecx, eax
xor ecx, ebx
shr ecx, 0x1f
neg ecx
and ebx, ecx
sub r15, 1
jne 0x14011f8b0
mov r14, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x118]
mov r15, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0xe0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [0x140341a80]
mov r8d, 0xf9
lea rdx, [0x140341ac8]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.1400c24c0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14022a944
mov ecx, 3
call fcn.140221d40
int3
lea r9, str.orig_len___md_size
mov r8d, 0xf8
lea rdx, [0x140341a70]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.1400c24c0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14022a944
mov ecx, 3
call fcn.140221d40
int3
Function at 0x14012c060
Capabilities:
Encode data using base64

Disassembly:
xor r10d, r10d
test r8d, r8d
jle 0x14012c153
lea r9, [rdx + 1]
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r8d, 3
jl 0x14012c0db
movzx eax, byte [r9]
movzx edx, byte [r9 - 1]
shl rdx, 8
or rdx, rax
movzx eax, byte [r9 + 1]
shl rdx, 8
or rdx, rax
mov rax, rdx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [rcx], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 1], al
mov rax, rdx
shr rax, 6
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 2], al
add rcx, 3
and edx, 0x3f
movzx eax, byte [rdx + r11]
mov byte [rcx], al
jmp 0x14012c134
movzx edx, byte [r9 - 1]
shl edx, 0x10
cmp r8d, 2
jne 0x14012c0f2
movzx eax, byte [r9]
shl eax, 8
or edx, eax
mov rax, rdx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [rcx], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 1], al
cmp r8d, 1
jne 0x14012c11e
lea eax, [r8 + 0x3c]
jmp 0x14012c12a
shr rdx, 6
and edx, 0x3f
movzx eax, byte [rdx + r11]
mov byte [rcx + 2], al
add rcx, 3
mov byte [rcx], 0x3d
add r10d, 4
add r9, 3
sub r8d, 3
inc rcx
test r8d, r8d
jg 0x14012c077
mov byte [rcx], 0
mov eax, r10d
ret
mov byte [rcx], r10b
mov eax, r10d
ret
Function at 0x14012df40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, Ordinal_41
call fcn.1401ef830
sub rsp, rax
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x14012dfe2
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14012df71
mov dword [reloc.WS2_32.dll_accept], eax
jmp 0x14012dfe2
mov rax, qword [0x14036bc48]
test rax, rax
jne 0x14012dfc0
cmp qword [0x14036be78], rax
je 0x14012dfb2
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x14012dfb2
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x14012dfc0
call fcn.1400c1e20
lea rax, [0x140332138]
mov qword [0x14036bc48], rax
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14012dfd9
xorps xmm2, xmm2
lea rcx, [rsp + 0x38]
mov edx, 8
call r8
cmp dword [reloc.WS2_32.dll_accept], 0
jne 0x14012e054
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
mov rax, qword [0x14036bc48]
test rax, rax
jne 0x14012e03b
cmp qword [0x14036be78], rax
je 0x14012e02d
lea edx, [rax + 1]
lea rcx, [0x14036be78]
call fcn.14012e5e0
mov rcx, rax
test rax, rax
je 0x14012e02d
mov rax, qword [rax + 0x38]
mov qword [0x14036bc48], rax
test rax, rax
jne 0x14012e03b
call fcn.1400c1e20
lea rax, [0x140332138]
mov qword [0x14036bc48], rax
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14012e054
xorps xmm2, xmm2
lea rcx, [rsp + 0x30]
mov edx, 4
call r8
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401ef830
sub rsp, rax
mov edi, edx
mov rbx, rcx
test edx, edx
jle 0x1401303a0
lea ecx, [rax - 0x1e]
call fcn.14021bd7c
mov rcx, rax
lea r8, [0x140346730]
mov r9d, 0x42f
lea rdx, str.invalid_state_reached__s:_d
call fcn.1400dd970
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, [rsp + 0x40]
call fcn.14013bc10
test rax, rax
je 0x1401303d7
cmp dword [rsp + 0x40], 0
jg 0x1401303d7
cmp dword [rsp + 0x44], 0
jg 0x1401303d7
test dword [rbx + 0x48], 0x3000
jne 0x1401303e4
cmp dword [rbx + 0x284], 0
jne 0x1401303e4
mov rax, qword [rbx + 0x10]
or dword [rax + 0x20], 1
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14013be50
Function at 0x14013be50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401ef830
sub rsp, rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
call fcn.14013bc10
test rax, rax
je 0x14013bf36
cmp dword [rsp + 0x38], 0
jg 0x14013bf36
cmp dword [rsp + 0x3c], 0
jg 0x14013bf36
mov rcx, qword [rbx + 0x88]
movzx eax, word [rcx + 0x31c]
add ax, ax
mov word [rcx + 0x31c], ax
mov rax, qword [rbx + 0x88]
cmp word [rax + 0x31c], 0x3c
jbe 0x14013bec0
mov ecx, reloc.WLDAP32.dll_Ordinal_60
mov word [rax + 0x31c], cx
mov rcx, rbx
call fcn.14013bb80
mov rcx, rbx
call fcn.14013bda0
test eax, eax
jns 0x14013bedd
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x88]
inc dword [rax + 0x308]
mov rax, qword [rbx + 0x88]
cmp dword [rax + 0x308], 2
jbe 0x14013bf04
mov dword [rax + 0x308], 1
cmp dword [rbx + 0x284], 0
mov rcx, rbx
je 0x14013bf24
mov dword [rbx + 0x284], 0
add rsp, 0x20
pop rbx
jmp fcn.140130c20
call fcn.14013bb80
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140130400
xor eax, eax
add rsp, 0x20
pop rbx
ret