joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cf8c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cfafb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4215e4]
call fcn.00426e08
mov esi, eax
mov eax, esi
call fcn.004cd020
xor eax, eax
push ebp
push 0x4cf9a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x45587c]
call fcn.004559b8
mov ebx, eax
mov edx, 0x80000000
mov eax, ebx
call fcn.00455a58
xor ecx, ecx
mov edx, 0x4cfb18
mov eax, ebx
call fcn.00455b98
test al, al
je 0x4cf988
call fcn.00403468
mov eax, 0x64
call fcn.00403490
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x63
jg 0x4cf963
cmp dword [ebp - 0xc], 0
jge 0x4cf96a
mov dword [ebp - 0xc], 0x63
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00455abc
mov eax, ebx
call fcn.00455a28
mov eax, ebx
call fcn.00403dac
mov eax, esi
call fcn.00403dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cf9aa
push 0
push 0x23
lea eax, [ebp - 0x216]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 4]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00405cc8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004143b0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 4]
mov ecx, 0x4cfb30
call fcn.00405f9c
mov eax, dword [ebp - 4]
call fcn.0040c98c
test al, al
jne 0x4cfa26
xor eax, eax
push ebp
push 0x4cfa1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040c9b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfa26
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 4]
call fcn.004143b0
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 4]
mov ecx, 0x4cfb8c
call fcn.00405f9c
mov dl, 1
mov eax, dword [0x479310]
call fcn.004793d4
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4cfa75
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040cad8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00479bf8
xor eax, eax
push ebp
push 0x4cfaad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cfbb0
mov ecx, 0x4cfc00
mov edx, 0x4cfc28
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00479d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfab7
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4cfad0
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.0040cad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfb02
lea eax, [ebp - 0x220]
mov edx, 2
call fcn.00405ac0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ac0
ret
Function at 0x4cfc48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cfe86
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cfd34
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4215e4]
call fcn.00426e08
mov esi, eax
mov eax, esi
call fcn.004cd020
mov dl, 1
mov eax, dword [0x45587c]
call fcn.004559b8
mov ebx, eax
mov edx, 0x80000000
mov eax, ebx
call fcn.00455a58
xor ecx, ecx
mov edx, 0x4cfea4
mov eax, ebx
call fcn.00455b98
test al, al
je 0x4cfd1c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cfd1c
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x220]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.004560d8
test al, al
je 0x4cfd14
mov dword [ebp - 8], 1
jmp 0x4cfd1c
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4cfcea
mov eax, ebx
call fcn.00403dac
mov eax, esi
call fcn.00403dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfd3e
cmp dword [ebp - 8], 0
jne 0x4cfe60
push 0
push 0x23
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 4]
lea edx, [ebp - 0x21a]
mov ecx, 0x105
call fcn.00405cc8
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
call fcn.004143b0
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 4]
mov ecx, 0x4cfebc
call fcn.00405f9c
mov eax, dword [ebp - 4]
call fcn.0040c98c
test al, al
jne 0x4cfdc4
xor eax, eax
push ebp
push 0x4cfdba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040c9b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfdc4
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 4]
call fcn.004143b0
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x4cff18
call fcn.00405f9c
mov dl, 1
mov eax, dword [0x479310]
call fcn.004793d4
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4cfe13
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040cad8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00479bf8
push 0
lea eax, [ebp - 0x22c]
push eax
mov ecx, 0x4cff3c
mov edx, 0x4cff64
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x22c]
mov edx, 0x4cff90
call fcn.0040b854
test eax, eax
jne 0x4cfe47
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4cfe60
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.0040cad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfe8d
lea eax, [ebp - 0x22c]
mov edx, 4
call fcn.00405ac0
lea eax, [ebp - 4]
call fcn.00405ab8
ret
Function at 0x4d0428
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ab0
mov eax, dword [ebp - 8]
call fcn.00405ab0
xor eax, eax
push ebp
push 0x4d06a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 1
xor edx, edx
push ebp
push 0x4d066d
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x479310]
call fcn.004793d4
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x421958]
call fcn.00403d7c
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x476078]
call fcn.004763f4
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x483968]
call fcn.00403d7c
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xe4], eax
mov dword [edx + 0xe0], 0x483d34
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xdc], eax
mov dword [edx + 0xd8], 0x483a68
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00403408
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040cd8c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add eax, 0x88
call fcn.00405ac8
mov eax, dword [ebp - 0x18]
add eax, 0x8c
mov edx, 0x4d06c4
call fcn.00405ac8
xor edx, edx
push ebp
push 0x4d0556
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x4d0537
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.004764c8
jmp 0x4d054c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d067e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d05cb
mov ecx, 0x4d0714
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.00477544
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00426e88
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00479cf4
push 0x4d0730
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4d0744
mov edx, 0x4d075c
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx]
push 0
mov ecx, 0x4d0774
mov edx, 0x4d075c
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ebx, eax
test bl, bl
jne 0x4d0635
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0040b964
test al, al
jne 0x4d0645
mov byte [ebp - 0x11], 1
push 0x4d077c
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4d0653
mov byte [ebp - 0x11], 0
push 0x4d0790
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0x18]
call fcn.00476d3c
mov eax, dword [ebp - 0x18]
call fcn.00403dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d067e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d06ad
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00405ac0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405ac0
ret
Function at 0x6e104ae0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
je 0x6e104b2c
call fcn.6e13aac0
lea eax, [0x6e529d84]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.6e13b3a0
call fcn.6e13ab30
mov dword [esp], 2
call fcn.6e135090
mov eax, dword [esp + 0x2c]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
nop
inc dword [ecx + 0x148]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
mov ebx, ecx
mov dword [edx + 0xc0], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x98], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea esi, [ecx + 0x190]
lea edi, [esp + 0x10]
call fcn.6e1655b4
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0xc], edx
call fcn.6e1617a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 0
mov ecx, dword [eax + 0x18]
test byte [ecx], al
add ecx, 0x1cc
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.6e103010
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.6e104c70
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 1
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x6e104c26
mov dword [esp], ecx
call fcn.6e136ad0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.6e142e70
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x190]
lea esi, [esp + 0x10]
call fcn.6e1655b4
add esp, 0x34
ret
lea eax, [0x6e52df91]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.6e138ec0
nop
int3
Function at 0x6e10caa0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e10cc6e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x6e10cacb
mov eax, 0x7000000
jmp 0x6e10cad3
test eax, eax
je 0x6e10cc49
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.6e164df0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x6e469460]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x6e10cc61
cmp ecx, 0x21
jae 0x6e10cc55
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.6e15efd0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.6e15f0a0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x6e5b18ac]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x6e5b19d4]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x6e10cc24
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x6e5b1a8c]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.6e164ed0
mov eax, ecx
mov ecx, 0x21
call fcn.6e164fa0
nop
call fcn.6e163a10
jmp fcn.6e10caa0
Function at 0x6e1168d0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e116ae4
sub esp, 0x18
mov eax, dword [0x6e7ef814]
test eax, eax
jne 0x6e116acd
nop
lea eax, [0x6e7ef7fc]
mov dword [esp], eax
call fcn.6e10a8f0
mov eax, dword [0x6e7ef800]
test eax, eax
je 0x6e116919
cmp dword [eax + 8], 0xcc
jne 0x6e11698f
mov edx, dword [0x6e7ef7f4]
test edx, edx
jne 0x6e116971
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x6e7f4c30]
mov dword [esp + 8], eax
call fcn.6e10cc80
mov eax, dword [esp + 0xc]
mov dword [0x6e7ef7f4], eax
mov ecx, dword [0x6e7ef7b8]
mov dword [eax], ecx
mov eax, dword [0x6e7ef7f4]
mov dword [0x6e7ef7b8], eax
movzx eax, byte [0x6e7eff20]
test al, al
jne 0x6e116971
xor eax, eax
jmp 0x6e116a79
mov edx, dword [0x6e7ef7f4]
mov ebx, dword [edx + 4]
mov dword [0x6e7ef7f4], ebx
mov ebx, dword [0x6e7ef800]
mov dword [edx + 4], ebx
mov dword [0x6e7ef800], edx
mov edx, dword [0x6e7ef800]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x6e116a61
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.6e102f50
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x6e7efbd0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x6e1169ed
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x6e1169fa
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.6e164e40
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x6e7efbd0]
test edx, edx
jne 0x6e116a26
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x6e116a47
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.6e164e40
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.6e164e40
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.6e164e40
mov byte [0x6e7ef755], 1
nop
lea eax, [0x6e7ef7fc]
mov dword [esp], eax
call fcn.6e10aaf0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.6e164ed0
lea esi, [0x6e7eff20]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x6e116971
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x6e116ac3
lea edx, [0x6e462538]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x6e116a6b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.6e164ec0
mov ecx, 5
call fcn.6e164ec0
lea eax, [0x6e526854]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.6e138ec0
nop
call fcn.6e163a10
jmp fcn.6e1168d0
Function at 0x6e12aae0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e12abfc
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x6e12ab75
cmp cl, 2
je 0x6e12ab1d
cmp cl, 3
jne 0x6e12abe5
mov byte [eax + 8], 1
jmp 0x6e12abe1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.6e130330
nop
lea eax, [0x6e7d3da4]
mov dword [esp], eax
call fcn.6e10a8f0
nop
mov eax, dword [0x6e7d3d70]
sub eax, dword [0x6e7d3d54]
mov dword [0x6e7d3d70], eax
mov eax, dword [0x6e7d3d60]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6e7d3d60], ecx
nop
lea eax, [0x6e7d3da4]
mov dword [esp], eax
call fcn.6e10aaf0
jmp 0x6e12abe1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.6e1168d0
nop
lea eax, [0x6e7d3da4]
mov dword [esp], eax
call fcn.6e10a8f0
nop
mov eax, dword [0x6e7d3d48]
sub eax, dword [0x6e7d3d2c]
mov dword [0x6e7d3d48], eax
mov eax, dword [0x6e7d3d38]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6e7d3d38], ecx
nop
nop
lea eax, [0x6e7d3da4]
mov dword [esp], eax
call fcn.6e10aaf0
add esp, 0x14
ret
lea eax, [0x6e522245]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.6e138ec0
nop
call fcn.6e163a10
jmp fcn.6e12aae0
Function at 0x6e154110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e154297
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x6e15428d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x6e15416c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6e15416c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x6e15417f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x6e154262
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x6e154254
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x6e15424b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x6e1541d6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x6e15421f
mov eax, 1
cmp eax, ecx
ja 0x6e15420d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.6e164f30
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x6e154246
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x6e154212
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x6e1541db
call fcn.6e164ed0
xor eax, eax
mov ecx, eax
call fcn.6e164ec0
call fcn.6e164f30
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x6e154288
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x6e154259
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x6e154184
call fcn.6e164ed0
xor eax, eax
mov ecx, eax
call fcn.6e164ec0
nop
call fcn.6e163a10
jmp fcn.6e154110
Function at 0x6e15bcb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e15bd4f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.6e1650d7
lea ecx, [0x6e15bd60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.6e163900
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.6e163a10
jmp fcn.6e15bcb0
Function at 0x6e164cd0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x6e7efd00]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x6e1634bb
je 0x6e16350e
cmp ebx, 0x20
jbe 0x6e163514
cmp ebx, 0x40
jbe 0x6e16355a
jmp 0x6e1635fb
test ebx, ebx
je 0x6e163504
add eax, 0x10
test ax, 0xff0
je 0x6e1634f0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x6e5b6f40]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x6e5b7140]
jmp 0x6e1634d8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x6e1634d8
pxor xmm1, xmmword [0x6e7efd10]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6e7efd10]
pxor xmm2, xmmword [0x6e7efd20]
pxor xmm3, xmmword [0x6e7efd30]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6e7efd10]
pxor xmm2, xmmword [0x6e7efd20]
pxor xmm3, xmmword [0x6e7efd30]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x6e16365a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x6e7ef75b], 0
je 0x6e164cea
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x6e163480
jmp fcn.6e1092b0