joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007f0d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14007f1f4
cmp r8d, 0xff
jne 0x14007f131
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14007f11b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x9fe40]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400605b0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400605b0
cmp r8d, 0xfb
jne 0x14007f143
lea r9, str.WILL
jmp 0x14007f181
cmp r8d, 0xfc
jne 0x14007f155
lea r9, str.WONT
jmp 0x14007f181
cmp r8d, 0xfd
jne 0x14007f167
lea r9, [0x1400a0864]
jmp 0x14007f181
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14007f1dd
cmp r10d, 0x27
jg 0x14007f1b4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0xa0460]
test r8, r8
jne 0x14007f1c4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400605b0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14007f19b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400605b0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400605b0
add rsp, 0x38
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14007f59f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140060430
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14007f0d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14007f750
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14007f8f8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14007f7b5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14007f7b5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14007f7b5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14007f7ec
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14007f842
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14007f842
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14007f842
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14007f842
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14007f842
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14007f200
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14007f8a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140060430
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14007f5d0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14007f8f0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140060430
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140081060
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400810f5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140081156
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140060430
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140093b30
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140081211
sub ecx, 1
je 0x140081284
sub ecx, 1
je 0x1400811c0
cmp ecx, 1
je 0x1400811a3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400a4fd8]
call fcn.140060430
jmp 0x140081284
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140080d90
test eax, eax
je 0x140081284
jmp 0x14008112a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140081284
sub rax, rsi
cmp rax, rbp
jae 0x140081284
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400605b0
jmp 0x140081284
cmp r8d, 4
jle 0x140081284
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140081284
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140060350
mov esi, eax
test eax, eax
je 0x140081263
mov edx, 5
mov rcx, rbx
call fcn.140081d50
mov eax, esi
jmp 0x14008112a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14006a800
mov rcx, r14
call fcn.14006aae0
test eax, eax
je 0x140081128
mov edx, 5
mov rcx, rbx
call fcn.140081d50
mov eax, Ordinal_46
jmp 0x14008112a
Function at 0x1400939e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.jO_t_]
mov rdi, rax
test rax, rax
jne 0x140093a22
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140093a69
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]
xor esi, esi
test rbp, rbp
je 0x140093ac2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, 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]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140093a80
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140093b03
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400a3942]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400a3943]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140093ad0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140094b4c
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
mov ecx, eax
call fcn.14000ad18
mov rsi, rax
mov rcx, r15
xor edx, edx
mov r8d, ebp
mov r9, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000516b
lea r8, [rsp + 0x28]
mov qword [r8], rsi
lea rdx, [0x140035d5c]
lea r9, [rsp + 0x24]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000519b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
movzx edx, word [rcx + 0xa]
mov dword [r14], edx
movzx edx, word [rcx + 8]
mov dword [rbx], edx
movzx edx, word [rcx + 0xe]
mov dword [rdi], edx
movzx ecx, word [rcx + 0xc]
mov dword [rax], ecx
mov edi, 1
jmp 0x1400051d3
mov eax, dword [0x14003e370]
mov ecx, dword [0x14003cda0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400051f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_obtain_file_info_of_old_service.____lu_
jmp 0x1400051c9
mov eax, dword [0x14003e370]
mov ecx, dword [0x14003cda0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005234
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_query_file_version_info_of_old_service.____lu_
mov r8d, eax
call fcn.1400094f0
xor edi, edi
mov rcx, rsi
call fcn.14000ad28
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001b570
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x14003e370]
call fcn.14000ad6c
cmp dword [0x14003e370], 0xffffffff
jne 0x14000518c
mov qword [0x14003e160], 0
lea rcx, [fcn.140001d10]
call fcn.14000ae50
lea rcx, [0x14003e370]
call fcn.14000ade4
jmp 0x14000518c
lea rcx, [0x14003e370]
call fcn.14000ad6c
cmp dword [0x14003e370], 0xffffffff
jne 0x1400051bc
mov qword [0x14003e160], 0
lea rcx, [fcn.140001d10]
call fcn.14000ae50
lea rcx, [0x14003e370]
call fcn.14000ade4
jmp 0x1400051bc
Function at 0x14000aaa0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.140017478
test rax, rax
je 0x14000acd4
mov rbx, rax
movzx eax, word [r14 + rax*2 - 2]
cmp eax, 0x5c
je 0x14000accc
cmp eax, 0x2f
je 0x14000accc
mov rax, rbx
add rax, 2
lea r15, [rbx + rbx + 4]
mov rcx, 0xffffffffffffffff
cmovns rcx, r15
call fcn.14000ad18
mov rdi, rax
xor r12d, r12d
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14002bcd0
lea r8, [rbx + 1]
mov rcx, rdi
mov rdx, r14
call fcn.140017940
mov rcx, rdi
call fcn.140014fa4
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov qword [rcx], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14000acd8
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000ad0b
add ebx, ebx
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000ad0b
lea r9, [rsp + 0x34]
mov dword [r9], 4
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000ad0b
lea r14, [rsp + 0x30]
mov r15d, dword [r14]
mov rcx, r15
call fcn.14000ad18
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14002bcd0
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
mov edx, 2
mov r8, rbx
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000ad0b
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000ac35
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000ac47
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call fcn.14000ad28
lea rdx, [0x140035d0c]
mov r8d, 0x104
mov rcx, rsi
call fcn.140017940
mov ebp, 1
cmp dword [rsp + 0x30], 0
je 0x14000aca3
add rsi, 0x48
xor r14d, r14d
lea rdi, str._.2x
mov r15, qword [sym.imp.USER32.dll_wsprintfW]
movzx r8d, byte [rbx + r14]
mov rcx, rsi
mov rdx, rdi
call r15
add rsi, 4
inc r14
mov eax, dword [rsp + 0x30]
cmp r14, rax
jb 0x14000ac85
mov rdi, rbx
mov rcx, rdi
call fcn.14000ad28
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001b570
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
dec rbx
jmp 0x14000aaec
xor ebp, ebp
jmp 0x14000acae
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000ad0b
mov dword [rsp + 0x20], 0xf0000008
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14000ab68
xor ebp, ebp
jmp 0x14000aca6
Function at 0x180001d50
Capabilities:
Enumerate pe sections

Disassembly:
mov r9d, edx
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
movzx eax, word [rdx + 0x14]
add rax, 0x18
add rax, rdx
cmp r9d, dword [rax + 0xc]
jae 0x180001d6f
mov eax, r9d
ret
movzx r10d, word [rdx + 6]
xor r8d, r8d
test r10d, r10d
je 0x180001d9c
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9d, edx
jb 0x180001d90
add edx, dword [rax + 8]
cmp r9d, edx
jb 0x180001da0
inc r8d
add rax, 0x28
cmp r8d, r10d
jb 0x180001d80
or eax, 0xffffffff
ret
mov ecx, dword [rax + 0x14]
sub ecx, dword [rax + 0xc]
lea eax, [r9 + rcx]
ret

Function at 0x180001db0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
movsxd rbp, dword [rcx + 0x3c]
mov r14, rdx
mov r11d, r8d
mov edx, dword [rbp + rcx + 0xb0]
mov rsi, rcx
test edx, edx
je 0x180001ee3
cmp dword [rbp + rcx + 0xb4], 0
je 0x180001ee3
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
call fcn.180001d50
mov ebx, eax
lea r15, [rsi + r11]
mov r12d, 0xf000
add rbx, rsi
mov r13d, 0xa000
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea r11, [rbx + 8]
sub rax, 8
shr rax, 1
test eax, eax
jle 0x180001eb6
mov edi, eax
nop dword [rax + rax]
movzx r8d, word [r11]
movzx eax, r8w
and ax, r12w
cmp ax, r13w
jne 0x180001ead
movsxd rcx, dword [rsi + 0x3c]
and r8d, 0xfff
add r8d, dword [rbx]
add rcx, rsi
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
cmp r8d, dword [rax + 0xc]
jb 0x180001ea1
movzx r10d, word [rcx + 6]
xor r9d, r9d
test r10d, r10d
je 0x180001e9d
mov edx, dword [rax + 0xc]
cmp r8d, edx
jb 0x180001e91
add edx, dword [rax + 8]
cmp r8d, edx
jb 0x180001ef1
inc r9d
add rax, 0x28
cmp r9d, r10d
jb 0x180001e81
or r8d, 0xffffffff
mov rax, r14
sub rax, qword [rbp + rsi + 0x30]
add qword [r8 + rsi], rax
add r11, 2
dec rdi
jne 0x180001e40
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jae 0x180001eca
cmp dword [rbx], 0
jne 0x180001e20
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
mov ecx, dword [rax + 0x14]
sub ecx, dword [rax + 0xc]
add r8d, ecx
jmp 0x180001ea1
Function at 0x180001f00
Capabilities:
Get common file path
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180047520]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rdi, rdx
mov rbx, rcx
mov dword [rdx], esi
lea edx, [rsi + 0x5c]
call fcn.1800254b8
lea rcx, [rsp + 0x30]
test rax, rax
jne 0x180001f6e
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x18003f240]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.180025d08
lea rcx, [rsp + 0x30]
mov r8, rbx
mov edx, 0x200
call fcn.180025d08
jmp 0x180001f7b
mov r8, rbx
mov edx, 0x200
call fcn.180025958
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x28], 0x6272
mov byte [rsp + 0x2a], sil
mov qword [rsp + 0x20], rsi
call fcn.18002561c
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180002017
xor edx, edx
mov qword [rsp + 0x270], rbp
lea r8d, [rdx + 2]
call fcn.180025e30
mov rcx, qword [rsp + 0x20]
call fcn.180025cb0
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
movsxd rsi, eax
call fcn.180025e30
mov rcx, rsi
call fcn.180025400
mov rbx, rax
test rax, rax
je 0x180002000
mov r9, qword [rsp + 0x20]
mov r8, rsi
mov edx, 1
mov rcx, rax
mov dword [rdi], esi
call fcn.180025890
mov rcx, qword [rsp + 0x20]
call fcn.180025f20
mov rbp, qword [rsp + 0x270]
mov rax, rbx
jmp 0x18000201a
mov rax, rsi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180024b60
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret
Function at 0x180002040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r14
push r15
lea rbp, [r11 - 0x57]
sub rsp, 0xa0
mov rax, qword [0x180047520]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [0x180076d18]
mov r12, qword [rbp + 0x7f]
mov r15d, r9d
mov r14, r8
mov rsi, rdx
test rax, rax
jne 0x18000214e
mov qword [r11 + 8], rbx
mov qword [r11 - 0x30], rdi
lea rcx, [rbp - 0x31]
mov qword [r11 - 0x38], r13
mov dword [rbp - 0x31], 0x6c64746e
mov dword [rbp - 0x2d], 0x6c642e6c
mov word [rbp - 0x29], 0x6c
mov dword [rbp - 0x21], 0x7250775a
mov dword [rbp - 0x1d], 0x6365746f
mov dword [rbp - 0x19], 0x72695674
mov dword [rbp - 0x15], 0x6c617574
mov dword [rbp - 0x11], 0x6f6d654d
mov word [rbp - 0xd], 0x7972
mov byte [rbp - 0xb], al
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x31]
mov r13, rax
mov qword [rbp - 0x39], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x31]
mov dword [rbp - 0x41], 0
mov rdi, rax
call fcn.180001f00
mov rbx, rax
test rax, rax
je 0x18000212f
mov r8d, dword [rbp - 0x41]
mov rdx, rdi
mov rcx, rax
call fcn.180001db0
mov rcx, rbx
test eax, eax
jne 0x18000217e
call fcn.1800253c0
mov rax, qword [0x180076d18]
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xd0]
mov r13, qword [rsp + 0x90]
mov r9d, r15d
mov r8, r14
mov rdx, rsi
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], r12
call rax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180024b60
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
mov edx, r13d
sub edx, edi
call fcn.180001d50
mov rcx, rbx
mov r11d, eax
mov rdi, qword [r11 + rbx]
mov r13, qword [r11 + rbx + 8]
call fcn.1800253c0
mov rax, qword [rbp - 0x39]
mov edx, 0x1e
xor ecx, ecx
add rax, 0x10
lea r9d, [rdx + 0x22]
mov word [rbp + 7], 0x25ff
mov qword [rbp + 0xd], rax
mov dword [rbp + 9], 0
call fcn.1800023b0
mov qword [0x180076d18], rax
test rax, rax
je 0x180002136
mov rcx, qword [rbp + 7]
mov qword [rax], rdi
mov qword [rax + 8], r13
mov qword [rax + 0x10], rcx
mov ecx, dword [rbp + 0xf]
mov dword [rax + 0x18], ecx
movzx ecx, word [rbp + 0x13]
mov word [rax + 0x1c], cx
jmp 0x180002136
Function at 0x180002200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
push r15
lea rbp, [r11 - 0x4f]
sub rsp, 0x98
mov rax, qword [0x180047520]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r10, qword [0x180076d08]
mov r14, r9
mov rsi, rdx
test r10, r10
jne 0x1800022ff
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rdi
lea rcx, [rbp - 0x31]
mov qword [r11 - 0x28], r13
mov dword [rbp - 0x21], 0x6c41775a
mov dword [rbp - 0x1d], 0x61636f6c
mov dword [rbp - 0x19], 0x69566574
mov dword [rbp - 0x15], 0x61757472
mov dword [rbp - 0x11], 0x6d654d6c
mov dword [rbp - 0xd], 0x79726f
mov dword [rbp - 0x31], 0x6c64746e
mov dword [rbp - 0x2d], 0x6c642e6c
mov word [rbp - 0x29], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x31]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
mov dword [rbp - 0x39], 0
mov rdi, rax
call fcn.180001f00
mov rbx, rax
test rax, rax
je 0x1800022e0
mov r8d, dword [rbp - 0x39]
mov rdx, rdi
mov rcx, rax
call fcn.180001db0
mov rcx, rbx
test eax, eax
jne 0x180002338
call fcn.1800253c0
mov r10, qword [0x180076d08]
mov rdi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x90]
mov eax, dword [rbp + 0x7f]
mov r9, r14
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0x3000
call r10
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180024b60
add rsp, 0x98
pop r15
pop r14
pop rsi
pop rbp
ret
mov edx, r13d
sub edx, edi
call fcn.180001d50
mov rcx, rbx
mov r11d, eax
mov rdi, qword [r11 + rbx]
mov r15, qword [r11 + rbx + 8]
call fcn.1800253c0
lea rax, [r13 + 0x10]
mov word [rbp + 7], 0x25ff
mov dword [rbp + 9], 0
mov qword [rbp + 0xd], rax
call fcn.180002430
mov r10, rax
mov qword [0x180076d08], rax
test rax, rax
je 0x1800022e7
mov rcx, qword [rbp + 7]
mov qword [rax], rdi
mov qword [rax + 8], r15
mov qword [rax + 0x10], rcx
mov ecx, dword [rbp + 0xf]
mov dword [rax + 0x18], ecx
movzx ecx, word [rbp + 0x13]
mov word [rax + 0x1c], cx
jmp 0x1800022e7
Function at 0x180002430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180047520]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x180076d10]
xor ebx, ebx
mov qword [rbp - 0x38], 0x1e
mov qword [rbp - 0x40], rbx
test rax, rax
jne 0x1800024c1
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x20], 0x6c41775a
mov dword [rbp - 0x1c], 0x61636f6c
mov dword [rbp - 0x18], 0x69566574
mov dword [rbp - 0x14], 0x61757472
mov dword [rbp - 0x10], 0x6d654d6c
mov dword [rbp - 0xc], 0x79726f
mov dword [rbp - 0x30], 0x6c64746e
mov dword [rbp - 0x2c], 0x6c642e6c
mov word [rbp - 0x28], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180076d10], rax
lea r9, [rbp - 0x38]
lea rdx, [rbp - 0x40]
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
call rax
test eax, eax
cmovns rbx, qword [rbp - 0x40]
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180024b60
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret