joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d830
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
imul r8d, edx
mov rdi, r9
cmp byte [r9], 0
mov rsi, rdx
mov r10, rcx
je 0x14000d877
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
mov rdx, rcx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000d871
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x14000d8a3
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
lea eax, [rdx + r8]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r8d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r10
call fcn.1400530f0
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d974
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
call fcn.140015e88
mov rbx, rax
test rax, rax
je 0x14000d9e6
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x16], 0x79726f
mov rcx, rax
mov word [rbp - 0x1d], 0x7246
mov word [rbp - 0x20], 0x5457
mov dword [rbp - 0x1b], 0x654d6565
mov byte [rbp - 0x1e], 0x53
mov byte [rbp - 0x17], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d9dd
mov rcx, rdi
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x14000da04
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, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xor ebx, ebx
call fcn.14000cc84
mov rdi, rax
test rax, rax
je 0x14000da87
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x1c], 0x6f6d6552
mov rcx, rax
mov dword [rbp - 0x17], 0x6c694665
mov dword [rbp - 0x20], 0x68746150
mov dword [rbp - 0x13], 0x65705365
mov word [rbp - 0xe], 0x41
mov byte [rbp - 0x18], 0x76
mov byte [rbp - 0xf], SHCoCreateInstance
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000da7e
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 - 8]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x14000daac
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, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov edi, 0x80004005
call fcn.140004820
mov rbx, rax
test rax, rax
je 0x14000db2d
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x1f], 0x6572436f
mov rcx, rax
mov word [rbp - 0x18], 0x7547
mov word [rbp - 0x15], SHCoCreateInstance
mov word [rbp - 0x1a], 0x6574
mov byte [rbp - 0x1b], 0x61
mov byte [rbp - 0x20], 0x43
mov byte [rbp - 0x16], VarBstrFromUI1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000db24
mov rcx, rsi
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.140051d60
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret

Function at 0x14000ebd0
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, 0x68
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x70]
mov r12, r9
mov r13, qword [rbp + 0x68]
mov r15, r8
mov qword [rbp - 0x38], rax
mov r14, rdx
mov rsi, rcx
mov edi, 1
call fcn.14000af28
mov rbx, rax
test rax, rax
je 0x14000ec88
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x2a], 0x61567972
mov rcx, rax
mov word [rbp - 0x22], 0x4178
mov word [rbp - 0x2c], 0x6575
mov word [rbp - 0x2f], 0x6765
mov word [rbp - 0x25], 0x6575
mov byte [rbp - 0x20], 0
mov byte [rbp - 0x30], 0x52
mov byte [rbp - 0x23], 0x45
mov byte [rbp - 0x2d], 0x51
mov byte [rbp - 0x26], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ec7f
mov rcx, qword [rbp - 0x38]
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 - 0x18]
xor rcx, rsp
call fcn.140051d60
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14000eca8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov dword [rbp - 0x15], 0x41656c
mov rdi, rcx
mov dword [rbp - 0x1e], 0x6946646e
or rbx, 0xffffffffffffffff
mov word [rbp - 0x20], 0x6946
mov word [rbp - 0x1a], 0x7372
mov word [rbp - 0x17], 0x6946
mov byte [rbp - 0x18], reloc.WS2_32.dll_WSACleanup
call fcn.140002838
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ed15
mov rdx, rsi
mov rcx, rdi
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000edd8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15d, r8d
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
call fcn.14000af28
mov rdi, rax
test rax, rax
je 0x14000ee58
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x1c], 0x614d4353
mov rcx, rax
mov dword [rbp - 0x18], 0x6567616e
mov word [rbp - 0x14], 0x4172
mov dword [rbp - 0x20], 0x6e65704f
mov byte [rbp - 0x12], bl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ee4f
mov r8d, r15d
mov rdx, r14
mov rcx, rsi
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ee8c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rdx
mov word [rsp + 0x21], 0x312e
mov byte [rsp + 0x23], 0
mov byte [rsp + 0x20], gethostname
lea rdx, [rsp + 0x20]
mov rcx, qword [rsi]
call fcn.14007cd54
neg eax
sbb ebx, ebx
and ebx, 8
mov dword [rsp + 0x24], 0x322e35
lea rdx, [rsp + 0x24]
mov rcx, qword [rsi]
call fcn.14007cd54
mov r15d, 1
test eax, eax
cmove ebx, r15d
mov word [rsp + 0x29], 0x302e
mov byte [rsp + 0x2b], 0
mov byte [rsp + 0x28], gethostname
lea rdx, [rsp + 0x28]
mov rcx, qword [rsi]
call fcn.14007cd54
lea ecx, [r15 + 1]
test eax, eax
cmove ebx, ecx
mov dword [rsp + 0x2c], 0x312e36
lea rdx, [rsp + 0x2c]
mov rcx, qword [rsi]
call fcn.14007cd54
lea ecx, [r15 + 2]
test eax, eax
cmove ebx, ecx
mov word [rsp + 0x31], 0x322e
mov byte [rsp + 0x30], gethostname
mov byte [rsp + 0x33], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.14007cd54
lea r14d, [r15 + 3]
test eax, eax
cmove ebx, r14d
mov word [rsp + 0x35], 0x332e
mov byte [rsp + 0x37], 0
mov byte [rsp + 0x34], gethostname
lea rdx, [rsp + 0x34]
mov rcx, qword [rsi]
call fcn.14007cd54
lea ecx, [r15 + 4]
test eax, eax
cmove ebx, ecx
mov dword [rsp + 0x41], 0x302e30
mov byte [rsp + 0x40], Ordinal_50
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call fcn.14007cd54
lea r13d, [r15 + 5]
test eax, eax
cmove ebx, r13d
cmp ebx, r15d
setbe cl
call fcn.140004940
cmp eax, r14d
jne 0x14000efe3
cmp ebx, r13d
cmovne ebx, r13d
lea ebx, [rax + rbx*4]
mov r14d, 0x400
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140054ae0
mov dword [rsp + 0x4a], 0x64253133
mov word [rsp + 0x48], 0x3638
mov byte [rsp + 0x4e], 0
lea r9d, [rbx + 0x27]
lea r8, [rsp + 0x48]
mov edx, r14d
lea rcx, [rsp + 0x50]
call fcn.140026808
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140022164
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000f051
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140051d60
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400101ac
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, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov edi, reloc.WS2_32.dll_ntohl
call fcn.1400160c8
mov rbx, rax
test rax, rax
je 0x140010227
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x53637052
mov rcx, rax
mov dword [rbp - 0x18], 0x65724667
mov word [rbp - 0x14], 0x4165
mov dword [rbp - 0x1c], 0x6e697274
mov byte [rbp - 0x12], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001021e
mov rcx, rsi
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.140051d60
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret

Function at 0x14001024c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov dword [rbp - 0x1e], 0x654e646e
mov rdi, rcx
mov dword [rbp - 0x16], 0x41656c
xor ebx, ebx
mov word [rbp - 0x19], 0x4674
mov word [rbp - 0x20], 0x6946
mov byte [rbp - 0x1a], 0x78
mov byte [rbp - 0x17], VarBstrFromUI1
call fcn.140002838
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400102b4
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400106e0
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, 0x68
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x70]
mov r12d, r9d
mov r13, qword [rbp + 0x68]
mov r15, r8
mov qword [rbp - 0x38], rax
mov r14d, edx
mov rsi, rcx
xor ebx, ebx
call fcn.14000af28
mov rdi, rax
test rax, rax
je 0x140010794
lea rdx, [rbp - 0x30]
mov word [rbp - 0x21], 0x6c69
mov rcx, rax
mov dword [rbp - 0x1e], 0x736567
mov dword [rbp - 0x2f], 0x73756a64
mov dword [rbp - 0x26], 0x6972506e
mov dword [rbp - 0x2a], 0x656b6f54
mov byte [rbp - 0x22], 0x76
mov byte [rbp - 0x1f], SHCoCreateInstance
mov byte [rbp - 0x2b], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x30], 0x41
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001078b
mov rcx, qword [rbp - 0x38]
mov r9d, r12d
mov qword [rsp + 0x28], rcx
mov r8, r15
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov edx, r14d
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140051d60
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400107c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
mov word [rbp - 0x30], 0x656b
mov dword [rbp - 0x2b], 0x32336c
mov word [rbp - 0x2d], 0x656e
mov byte [rbp - 0x2e], WSACleanup
mov dword [rbp - 0x20], 0x45746553
mov dword [rbp - 0x1c], 0x746e6576
mov byte [rbp - 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a78c8], rax
test rax, rax
je 0x14001084c
mov rcx, qword [0x1401a7918]
and dword [0x1401a790c], 0
call rax
and dword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.1400035e4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
add rsp, 0x60
pop rbp
ret
Function at 0x140011670
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, 0x78
mov rax, qword [0x1401990d8]
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 - 0x30], rax
mov r14, rdx
mov rax, qword [rbp + 0x78]
mov rsi, rcx
mov qword [rbp - 0x38], rax
xor ebx, ebx
call fcn.14000af28
mov rdi, rax
test rax, rax
je 0x14001172b
lea rdx, [rbp - 0x28]
mov word [rbp - 0x19], 0x4164
mov rcx, rax
mov byte [rbp - 0x17], bl
mov dword [rbp - 0x1e], 0x53746e75
mov dword [rbp - 0x22], 0x6f636341
mov dword [rbp - 0x28], 0x6b6f6f4c
mov word [rbp - 0x24], 0x7075
mov byte [rbp - 0x1a], VarBstrFromUI1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011722
mov rcx, qword [rbp - 0x38]
mov r9, r12
mov qword [rsp + 0x30], rcx
mov r8, r15
mov rcx, qword [rbp - 0x30]
mov rdx, r14
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], r13
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.140051d60
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140011b24
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 [0x1401990d8]
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], 0x35
mov byte [rbp - 0x30], gethostname
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.140022164
nop
mov rcx, qword [rdi]
cmp dword [rcx - 0x10], 0
jne 0x140011be7
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffe8
call fcn.1400232d0
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 0x140011bc1
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 0x140011cf2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140011cf2
and dword [rbp - 0x50], 0
and dword [rbp - 0x4c], 0
and qword [rbp - 0x40], 0
lea rdx, [rbp - 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
je 0x140011c9e
mov ecx, ebx
call fcn.1400522d4
mov r14, rax
mov r9, rax
mov r8d, ebx
mov edx, dword [rbp - 0x50]
mov rcx, qword [rdi]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140011c96
lea r9, [rbp - 0x4c]
lea r8, [rbp - 0x40]
lea rdx, [0x140156a50]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140011c96
cmp dword [rbp - 0x4c], 0
je 0x140011c96
mov rdx, qword [rbp - 0x40]
cmp dword [rdx], 0xfeef04bd
jne 0x140011c96
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.1400236ac
mov rcx, r14
call fcn.140051dd0
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffe8
call fcn.1400232d0
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 0x140011cd4
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 0x140011cf2
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.140051d60
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 0x140011da4
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx]
mov r10, rcx
movsx rax, dl
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
lea r8, [0x14015bdb0]
mov edx, dword [r8 + rax*4]
xor edx, r9d
mov dword [rcx], edx
movzx eax, dl
add eax, dword [rcx + 4]
mov edx, dword [r10 + 8]
imul ecx, eax, 0x8088405
inc ecx
mov dword [r10 + 4], ecx
movzx eax, byte [r10 + 7]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, dword [r8 + rcx*4]
xor eax, edx
mov dword [r10 + 8], eax
ret

Function at 0x140012aa8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
mov rsi, rcx
mov edi, 1
call fcn.14000cc84
mov rbx, rax
test rax, rax
je 0x140012b21
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x17], 0x417965
mov rcx, rax
mov dword [rbp - 0x1c], 0x6574656c
mov dword [rbp - 0x20], 0x65444853
mov byte [rbp - 0x18], 0x4b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140012b18
mov rdx, r14
mov rcx, rsi
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.140051d60
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret

Function at 0x1400130cc
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 [0x1401990d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x28], rcx
mov rbx, rcx
mov rcx, qword [rcx]
mov dword [rbp - 0x10], 0x6d6f63
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 - 0x26], 0x316d6172
mov word [rbp - 0x28], 0x6170
mov byte [rbp - 0x22], 0
cmp dword [rcx - 0x10], 0
jl 0x140013169
lea rdx, [rbp - 0x20]
call fcn.14007d26c
test rax, rax
je 0x140013169
cmp eax, dword [rbx]
js 0x140013169
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x140013169
lea rdx, [rbp - 0x28]
call fcn.14007d26c
test rax, rax
je 0x140013169
cmp eax, dword [rbx]
js 0x140013169
mov dil, 1
jmp 0x14001316c
xor dil, dil
mov rdx, qword [rbx]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001318a
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.140051d60
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x140013a2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x87]
mov r12, r9
mov r13, qword [rbp + 0x6f]
mov r15, r8
mov qword [rbp - 0x29], rax
mov r14, rdx
mov rax, qword [rbp + 0x8f]
mov rsi, rcx
mov qword [rbp - 0x31], rax
xor ebx, ebx
mov rax, qword [rbp + 0x97]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 0x9f]
mov qword [rbp - 0x41], rax
call fcn.14000af28
mov rdi, rax
test rax, rax
je 0x140013b36
lea rdx, [rbp - 0x21]
mov dword [rbp - 0x20], 0x74616572
mov rcx, rax
mov dword [rbp - 0x15], 0x55734173
mov dword [rbp - 0x1a], 0x65636f72
mov dword [rbp - 0x10], 0x417265
mov byte [rbp - 0x21], 0x43
mov word [rbp - 0x1c], 0x5065
mov byte [rbp - 0x16], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x11], reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140013b2d
mov rax, qword [rbp - 0x41]
mov r9, r12
mov qword [rsp + 0x50], rax
mov r8, r15
mov rax, qword [rbp - 0x39]
mov rdx, r14
mov qword [rsp + 0x48], rax
mov rcx, rsi
mov rax, qword [rbp - 0x31]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call r10
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140051d60
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140013b58
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx], 0
mov edi, r9d
mov r14d, r8d
mov rbp, rdx
mov rbx, rcx
jne 0x140013c34
cmp dword [rcx + 8], 0xffffffff
jne 0x140013c34
lea rsi, [rcx + 0x150]
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], 0
jne 0x140013ba3
mov r8b, byte [rax + rbx + 0x14f]
cmp r8b, 0x5c
je 0x140013bd8
cmp r8b, 0x2f
je 0x140013bd8
or r9, 0xffffffffffffffff
lea r8, [0x140156a50]
mov edx, 0x104
mov rcx, rsi
call fcn.14007ff58
mov r9d, 1
cmp edi, r9d
jne 0x140013bfd
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x140013bfd
mov eax, 0x2000000
jmp 0x140013c39
lea r9, [rsp + 0x40]
mov r8d, edi
mov edx, r14d
mov rcx, rbp
call fcn.140016e58
test rax, rax
jne 0x140013c1b
mov eax, dword [rsp + 0x40]
jmp 0x140013c39
mov rcx, rax
call fcn.14000fbf0
mov qword [rbx], rax
neg rax
sbb eax, eax
not eax
and eax, 0x200
jmp 0x140013c39
mov eax, 0x1000000
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400149d0
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 [0x1401990d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, qword [rbp + 0x68]
mov r12d, r9d
mov r15, r8
mov r14d, edx
mov rsi, rcx
xor ebx, ebx
call fcn.14000af28
mov rdi, rax
test rax, rax
je 0x140014a6f
lea rdx, [rbp - 0x28]
mov dword [rbp - 0x24], 0x6e656b6f
mov rcx, rax
mov dword [rbp - 0x19], 0x6e6f6974
mov word [rbp - 0x1e], 0x6f66
mov dword [rbp - 0x28], 0x54746547
mov byte [rbp - 0x15], bl
mov word [rbp - 0x1b], 0x616d
mov word [rbp - 0x20], 0x6e49
mov byte [rbp - 0x1c], WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140014a66
mov r9d, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
mov edx, r14d
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.140051d60
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret