joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059590
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rcx, rdx
mov rsi, r8
mov rbp, rdx
call fcn.1400b39f0
mov rdi, rax
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400596b4
test rdi, rdi
je 0x1400595d9
lea rcx, [rdi + rdi]
call qword [section..data]
jmp 0x1400595e6
lea rcx, [0x14014b4c8]
call qword [case.0x1400566a8.0]
mov rbx, rax
test rax, rax
je 0x1400596b4
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1400596d0
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140059698
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14005968b
mov rcx, qword [rsp + 0x30]
lea r8d, [rdi + rdi]
xor r9d, r9d
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
and dword [rsp + 0x20], 0
mov r8, rsi
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor edx, edx
lea rcx, [rsi + 0x10]
lea r8d, [rdx + 5]
call fcn.140087ba0
mov rcx, rbx
call qword [str._P_t_]
xor eax, eax
jmp 0x1400596b9
mov eax, reloc.WLDAP32.dll_Ordinal_27
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400596f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12d, 8
mov dword [rsp + 0x20], 0xf0000000
mov r14, r8
mov dword [rbp - 0x40], r12d
mov rdi, rdx
mov rsi, rcx
xor r8d, r8d
lea rcx, [rbp - 0x30]
lea r9d, [r12 - 7]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor ebx, ebx
test eax, eax
je 0x1400597fa
xor edx, edx
lea rcx, [rbp - 0x28]
lea r8d, [rdx + 0x14]
call fcn.140087ba0
lea rdx, [rbp - 0x1c]
mov word [rbp - 0x28], 0x208
mov rcx, r14
mov dword [rbp - 0x24], 0x6601
mov dword [rbp - 0x20], r12d
call fcn.140059820
lea rcx, [rbp - 0x1c]
mov rdx, r12
call fcn.14005bf04
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x28]
mov dword [rsp + 0x20], ebx
lea r8d, [r9 + 0x14]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1400597ec
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call fcn.140087d60
mov eax, dword [rbp - 0x40]
xor r9d, r9d
mov rcx, qword [rbp - 0x38]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov bl, 1
mov rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005bf04
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14005bf60
mov r8b, byte [r10]
mov al, r8b
mov r9b, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
and r9b, 2
movzx ecx, r8b
cmp r9b, 2
cmovb ecx, eax
mov byte [r10], cl
inc r10
sub rdx, 1
jne 0x14005bf0c
ret
Function at 0x14005bfc8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov ebp, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [section..data]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x14005c0d1
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14005c04a
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
test rbp, rbp
je 0x14005c0c6
mov rsi, rbp
mov al, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
mov al, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
mov byte [rsp + 0x40], al
inc r14
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14005c05a
jmp 0x14005c0c6
mov rcx, qword [rdi + 8]
lea rdx, [0x140124fba]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140124fbb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
inc rsi
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jb 0x14005c09b
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140079d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140064eaa
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140064e8d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140064e78

Function at 0x140079d64
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140064ee2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140064ec5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140064eb0

Function at 0x14008429c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14016c550]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x1400842c7
call qword [0x140117ad0]
jmp 0x1400842dc
call fcn.140084268
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400d5b14
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400d57dc
Function at 0x1400dc7cc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400dc3f4
call fcn.1400af5a8
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.140094f38
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400dc3dc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400dc3dc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400dc426
lock or dword [rax + 0x14], 0x10
jmp 0x1400dc3dc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400dc443
mov rcx, qword [rbp + 0x10]
call fcn.1400dd0b4
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400dc384
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400da4a4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400dc49a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1400dc3dc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400dc506
mov rcx, qword [rbp + 0x10]
call fcn.1400dc384
cmp eax, 0xffffffff
je 0x1400dc4ed
mov rcx, qword [rbp + 0x10]
call fcn.1400dc384
cmp eax, 0xfffffffe
je 0x1400dc4ed
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400dc384
movsxd rdi, eax
lea rsi, [0x14016db50]
mov rcx, rbx
sar rdi, 6
call fcn.1400dc384
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400dc4f4
lea rax, [0x14016a440]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400dc506
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400dc53c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400dc538
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400dc538
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1400dc3df
jmp 0x1400dc3ac
Function at 0x1400f32b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov word [rbp - 0x13], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp - 0x1c], 0x65636f72
mov dword [rbp - 0x18], 0x65487373
mov dword [rbp - 0x20], 0x50746547
mov byte [rbp - 0x14], 0x61
call fcn.14010d634
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f3310
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x1400f3b8c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov dword [rsp + 0x32], 0x46657469
mov byte [rsp + 0x39], bl
mov r14, r9
mov ebp, r8d
mov word [rsp + 0x37], 0x656c
mov rsi, rdx
mov word [rsp + 0x30], 0x7257
mov rdi, rcx
mov byte [rsp + 0x36], 0x69
call fcn.14010d634
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f3c00
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140085010
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f5668
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rcx], 0
mov rax, r8
and qword [rcx + 8], 0
mov rdi, rdx
mov rdx, rax
mov dword [rcx + 0x50], 0x6a09e667
mov r8, r9
mov dword [rcx + 0x54], 0xbb67ae85
mov rbx, rcx
mov dword [rcx + 0x58], 0x3c6ef372
mov dword [rcx + 0x5c], 0xa54ff53a
mov dword [rcx + 0x60], 0x510e527f
mov dword [rcx + 0x64], 0x9b05688c
mov dword [rcx + 0x68], 0x1f83d9ab
mov dword [rcx + 0x6c], 0x5be0cd19
call fcn.14010aa50
mov rdx, rdi
mov rcx, rbx
call fcn.140001b14
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1400f56f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
xor ebx, ebx
call fcn.14010594c
mov rdi, rax
test rax, rax
je 0x1400f5786
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x1c], 0x68637461
mov rcx, rax
mov word [rbp - 0x2b], 0x6553
mov dword [rbp - 0x28], 0x65636976
mov dword [rbp - 0x22], 0x69446c72
mov dword [rbp - 0x18], 0x417265
mov word [rbp - 0x24], 0x7443
mov dword [rbp - 0x30], 0x72617453
mov word [rbp - 0x1e], 0x7073
mov byte [rbp - 0x29], WSACleanup
mov byte [rbp - 0x2c], reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f577d
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1400f77d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x70]
mov r12, r9
mov r13, qword [rbp + 0x68]
mov r15, r8
mov qword [rbp - 0x28], rax
mov r14, rdx
mov rsi, rcx
mov edi, 1
call fcn.14010273c
mov rbx, rax
test rax, rax
je 0x1400f787d
lea rdx, [rbp - 0x20]
mov word [rbp - 0x1d], 0x7465
mov rcx, rax
mov word [rbp - 0x1a], 0x6c61
mov word [rbp - 0x17], 0x4165
mov word [rbp - 0x1f], 0x4748
mov byte [rbp - 0x15], 0
mov byte [rbp - 0x1b], 0x56
mov byte [rbp - 0x20], 0x53
mov byte [rbp - 0x18], 0x75
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f7874
mov rcx, qword [rbp - 0x28]
mov r9, r12
mov qword [rsp + 0x28], rcx
mov r8, r15
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov rdx, r14
call rax
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400f7ef8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp + 0x39], 0x65727275
lea r9, [rbp - 0x11]
mov dword [rbp + 0x31], 0x4e207377
lea r8, [rbp - 9]
mov word [rbp + 0x1f], 0x5c5c
lea rdx, [rbp + 0x17]
mov word [rbp + 0x22], 0x6369
lea eax, [rbx + 4]
mov word [rbp + 0x42], 0x6973
mov dword [rbp - 0x11], eax
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x19], eax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x15]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x3e], 0x72655674
mov word [rbp + 0x2a], 0x5c5c
mov word [rbp + 0x1a], 0x5754
mov dword [rbp + 0x2d], 0x6f646e69
mov word [rbp + 0x45], WSASetLastError
mov dword [rbp + 0x25], 0x666f736f
mov byte [rbp + 0x24], WSACleanup
mov word [rbp + 0x36], 0x5c5c
mov word [rbp + 0x17], 0x4f53
mov byte [rbp + 0x3d], WSASetLastError
mov byte [rbp + 0x35], 0x54
mov word [rbp + 0x1d], 0x4552
mov byte [rbp + 0x29], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x19], 0x46
mov byte [rbp + 0x21], Ordinal_79
mov byte [rbp + 0x44], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp + 0x1c], 0x41
mov byte [rbp + 0x2c], 0x57
mov byte [rbp + 0x38], 0x43
mov dword [rbp - 1], 0x726f6a61
mov word [rbp + 0xf], WSACleanup
mov word [rbp - 9], 0x7543
mov word [rbp - 6], 0x6572
mov word [rbp - 3], 0x4d74
mov word [rbp + 0xc], 0x626d
mov dword [rbp + 5], 0x6f697372
mov word [rbp + 9], 0x4e6e
mov byte [rbp - 4], WSASetLastError
mov word [rbp + 3], 0x6556
mov byte [rbp - 7], WSACleanup
mov byte [rbp + 0xb], 0x75
mov byte [rbp + 0xe], 0x65
mov dword [rbp - 0x15], ebx
call fcn.1400f77d0
test eax, eax
movzx ecx, bl
lea edx, [rbx + 1]
cmove ecx, edx
mov al, cl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
Function at 0x1400f8044
Capabilities:
Contain obfuscated stackstrings
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rdx
mov word [rbp - 0x2a], 0x372e
mov dword [rbp - 0x28], 0x363630
mov dword [rbp - 0x2f], 0x2e302e36
mov byte [rbp - 0x2b], reloc.OLEAUT32.dll_VarI2FromStr
mov byte [rbp - 0x30], gethostname
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.140014840
nop
mov rcx, qword [rdi]
cmp dword [rcx - 0x10], 0
jne 0x1400f8107
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140013434
add rax, 0x18
mov qword [rsi], rax
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400f80e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400f8215
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400f8215
and dword [rbp - 0x50], 0
and dword [rbp - 0x4c], 0
and qword [rbp - 0x40], 0
lea rdx, [rbp - 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test eax, eax
je 0x1400f81c1
mov ecx, ebx
call fcn.140085c18
mov r14, rax
mov r9, rax
mov r8d, ebx
mov edx, dword [rbp - 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1400f81b9
lea r9, [rbp - 0x4c]
lea r8, [rbp - 0x40]
lea rdx, [0x14014b568]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1400f81b9
cmp dword [rbp - 0x4c], 0
je 0x1400f81b9
mov rdx, qword [rbp - 0x40]
cmp dword [rdx], 0xfeef04bd
jne 0x1400f81b9
mov dword [rbp - 0x19], 0x64252e64
mov dword [rbp - 0x1d], 0x252e6425
mov word [rbp - 0x1f], 0x2e64
mov byte [rbp - 0x15], 0
mov byte [rbp - 0x20], 0x25
movzx eax, word [rdx + 0xc]
movzx ecx, word [rdx + 0xe]
movzx r9d, word [rdx + 8]
movzx r8d, word [rdx + 0xa]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140011a48
mov rcx, r14
call fcn.14008545c
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140013434
add rax, 0x18
mov qword [rsi], rax
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400f81f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400f8215
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400f8d34
Capabilities:
Contain obfuscated stackstrings
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [rbp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400f8e02
lea rax, [rbp + 0x50]
mov dword [rsp + 0x39], 0x6e6c2e74
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
or r8, 0xffffffffffffffff
mov word [rsp + 0x3d], WSASetLastError
mov edx, 0x104
mov word [rsp + 0x34], 0x726f
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x68537325
mov word [rsp + 0x37], 0x7563
mov byte [rsp + 0x36], reloc.WS2_32.dll_WSACleanup
call fcn.14000cd34
lea r8, [rsp + 0x40]
mov rdx, rbx
call fcn.140111774
test al, al
je 0x1400f8e02
cmp byte [rdi], 0
lea rdx, [rsp + 0x40]
je 0x1400f8dec
mov r8, rbx
call fcn.1400fe6d4
jmp 0x1400f8df1
call fcn.140111718
lea rcx, [rsp + 0x40]
mov bl, al
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, bl
jmp 0x1400f8e04
xor al, al
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140085010
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400f8e44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov dword [rbp - 0x10], 0x6d6f63
mov rcx, qword [rcx]
mov dword [rbp - 0x14], 0x2e6f6f68
mov word [rbp - 0x1f], 0x2e73
mov dword [rbp - 0x1c], 0x63726165
mov byte [rbp - 0x20], 0x75
mov dword [rbp - 0x18], 0x61792e68
mov byte [rbp - 0x1d], reloc.WS2_32.dll_WSAStartup
mov dword [rbp - 0x2a], 0x316d6172
mov word [rbp - 0x2c], 0x6170
mov byte [rbp - 0x26], 0
cmp dword [rcx - 0x10], 0
jl 0x1400f8edd
lea rdx, [rbp - 0x20]
call fcn.1400b18fc
test rax, rax
je 0x1400f8edd
cmp eax, dword [rbx]
js 0x1400f8edd
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400f8edd
lea rdx, [rbp - 0x2c]
call fcn.1400b18fc
test rax, rax
je 0x1400f8edd
cmp eax, dword [rbx]
js 0x1400f8edd
mov dil, 1
jmp 0x1400f8ee0
xor dil, dil
mov rdx, qword [rbx]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400f8efe
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret