joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6cdb6c80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.6ce16010
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], eax
je 0x6cdb6cd4
test ebp, ebp
je 0x6cdb6cd4
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
mov esi, dword [esp + 0x18]
xor dl, byte [esi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
add ecx, 1
add esi, 1
add eax, 1
sub ebp, 1
and eax, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jne 0x6cdb6ca0
cmp ebp, 0x10
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0xc]
bswap esi
jb 0x6cdb6d48
mov ebx, ebp
shr ebx, 4
add esi, ebx
cmp esi, ebx
jae 0x6cdb6cf1
sub ebx, esi
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edi
push eax
push ebx
push ecx
push edx
call dword [esp + 0x48]
mov eax, esi
add esp, 0x14
test esi, esi
bswap eax
mov dword [edi + 0xc], eax
jne 0x6cdb6d32
mov ecx, 0xc
lea esp, [esp]
mov al, byte [ecx + edi - 1]
sub ecx, 1
add al, 1
mov byte [ecx + edi], al
jne 0x6cdb6d32
test ecx, ecx
jne 0x6cdb6d20
shl ebx, 4
add dword [esp + 0x1c], ebx
add dword [esp + 0x18], ebx
sub ebp, ebx
cmp ebp, 0x10
jae 0x6cdb6ce2
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x6cdb6dc5
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push edi
push ecx
xor eax, eax
mov dword [ebx], eax
push 1
mov dword [ebx + 4], eax
push ebx
mov dword [ebx + 8], eax
push ebx
mov dword [ebx + 0xc], eax
call dword [esp + 0x48]
add esp, 0x14
add esi, 1
bswap esi
mov dword [edi + 0xc], esi
jne 0x6cdb6d92
mov ecx, 0xc
lea ecx, [ecx]
mov al, byte [ecx + edi - 1]
sub ecx, 1
add al, 1
mov byte [ecx + edi], al
jne 0x6cdb6d92
test ecx, ecx
jne 0x6cdb6d80
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [edi + ebx]
sub ecx, ebx
sub esi, ebx
add edi, ebp
mov dl, byte [ecx + eax]
xor dl, byte [eax]
sub ebp, 1
mov byte [esi + eax], dl
add eax, 1
test ebp, ebp
jne 0x6cdb6da7
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
Function at 0x6cdb8bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x6cdb8ca4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x6cdb8c3f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.6cdb8760
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x6cdb8c0d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x6cdb8d5d
call 0x6cdb8c51
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x6cdb8cfc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.6cdb8890
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x6cdb8cb5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x6cdb8d5d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.6cdb8890
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x6cdb8d58
jmp 0x6cdb8d5d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x6cdbfc60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x6cdbfc79
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x6cdbfcb6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x6cdbfcb2
nop word [eax + eax]
cmp esi, edx
jae 0x6cdbfcb6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x6cdbfca0
cmp esi, edx
jb 0x6cdbfcbd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6cdda7b0
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x5c
mov esi, ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x58], 0
pop esi
ret

Function at 0x6cddb440
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce18c0b
mov eax, dword fs:[0]
push eax
mov eax, 0x2180
call fcn.6ce16010
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x218c], edx
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x212c], xmm0
mov dword [ebp - 0x212c], ebx
mov dword [ebp - 0x2128], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x6cddb4c0
call fcn.6cddb6b0
test eax, eax
jns 0x6cddb4c8
xor eax, eax
jmp 0x6cddb632
mov ebx, eax
mov dword [ebp - 0x212c], ebx
push 0x5c
lea eax, [ebp - 0x2188]
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x17], 0
push 0
push eax
movq qword [ebp - 0x1f], xmm0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
mov dword [ebp - 0x2188], 0x67452301
mov dword [ebp - 0x2184], 0xefcdab89
mov dword [ebp - 0x2180], 0x98badcfe
mov dword [ebp - 0x217c], 0x10325476
mov dword [ebp - 0x2178], 0
mov dword [ebp - 0x2174], 0
mov dword [ebp - 0x2130], 0
push 0
lea eax, [ebp - 0x2124]
mov dword [ebp - 0x2124], 0
push eax
push 0x2000
lea eax, [ebp - 0x2120]
push eax
push ebx
call esi
test eax, eax
jne 0x6cddb56f
call fcn.6cddb6b0
mov eax, dword [ebp - 0x2124]
test eax, eax
je 0x6cddb590
push eax
lea edx, [ebp - 0x2120]
lea ecx, [ebp - 0x2188]
call fcn.6cddae80
add esp, 4
jmp 0x6cddb544
test ebx, ebx
je 0x6cddb5a3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [ebp - 0x212c], ebx
lea edx, [ebp - 0x2188]
lea ecx, [ebp - 0x20]
call fcn.6cddb1f0
push 0x100
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edi, [ebp - 0x120]
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x20]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push edi
call fcn.6cddb690
inc esi
add esp, 0x14
add edi, 4
cmp esi, 0x10
jb 0x6cddb5d0
lea edx, [ebp - 0x120]
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x6cddb600
mov ecx, dword [ebp - 0x218c]
lea eax, [ebp - 0x120]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.6cdbf900
test ebx, ebx
je 0x6cddb62d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cddbe80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce18ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], esi
mov dword [esi], 0
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cddbee6
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cddbf32
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.6cdbf900
mov ecx, esi
call fcn.6cddbd10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret

Function at 0x6cddbf80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], ecx
mov dword [ecx], esi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], esi
mov dword [edx], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x6cddc033
push edi
push ebx
call fcn.6ce11f9a
add esp, 4
mov edi, eax
push edi
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x6cddc013
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 0x6ce43790
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x6cddc013
cmp dword [ebp - 0xc], esi
je 0x6cddc013
mov ecx, dword [ebp - 0x10]
mov esi, 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
test edi, edi
je 0x6cddc020
push edi
call fcn.6ce1200c
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cdde240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov edi, ecx
mov dword [ebp - 0x10c], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
call esi
test eax, eax
jne 0x6cdde40c
push edi
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.6cdde420
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x6cdde404
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
mov dword [ebp - 0x10c], 4
call esi
test eax, eax
jne 0x6cdde3fc
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x6cdde3fc
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x6cdde3ed
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
lea eax, [ebp - 0x108]
push ebx
push 0x6ce43920
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x6cdde3be
xor ebx, ebx
jmp 0x6cdde3fc
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x6cdde3ed
push 3
lea eax, [ebp - 0x108]
push 0x6ce43920
push eax
call esi
add esp, 0xc
test eax, eax
je 0x6cdde3e7
mov ebx, 2
jmp 0x6cdde3fc
mov eax, dword [ebp - 0x114]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cddf260
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x48], xmm0
push esi
movups xmm0, xmmword [0x6ce43950]
mov esi, edx
mov dword [ebp - 0x60], eax
mov al, byte [0x6ce43980]
mov edx, ecx
movups xmmword [ebp - 0x38], xmm0
push edi
movups xmm0, xmmword [0x6ce43960]
xor edi, edi
mov dword [ebp - 0x58], esi
xor ecx, ecx
mov dword [ebp - 0x50], edx
mov byte [ebp - 8], al
mov dword [ebp - 0x4c], edi
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [0x6ce43970]
movups xmmword [ebp - 0x18], xmm0
test edx, edx
je 0x6cddf41d
test ebx, ebx
je 0x6cddf41d
lea edx, [esi + 2]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
cmp dword [ebp + 0xc], eax
jl 0x6cddf41d
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c], eax
test eax, eax
jle 0x6cddf377
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
movzx edx, byte [eax + edi]
movzx esi, byte [eax + edi + 1]
movzx edi, byte [eax + edi + 2]
add eax, 3
mov dword [ebp - 0x4c], eax
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebx + ecx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or eax, edx
shl esi, 2
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebx + ecx + 1], al
mov eax, edi
shr eax, 6
and edi, 0x3f
or eax, esi
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebx + ecx + 2], al
movzx eax, byte [ebp + edi - 0x48]
mov byte [ebx + ecx + 3], al
add ecx, 4
sub dword [ebp - 0x54], 1
jne 0x6cddf306
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
sub esi, eax
sub esi, 0
je 0x6cddf3f9
sub esi, 1
je 0x6cddf3cd
sub esi, 1
jne 0x6cddf3f9
mov eax, dword [ebp - 0x50]
movzx edx, byte [edi + eax]
movzx esi, byte [edi + eax + 1]
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebx + ecx], al
mov eax, esi
shr eax, 4
or eax, edx
and esi, 0xf
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebx + ecx + 1], al
movzx eax, byte [ebp + esi*4 - 0x48]
mov byte [ebx + ecx + 2], al
mov byte [ebx + ecx + 3], 0x3d
jmp 0x6cddf3f6
mov eax, dword [ebp - 0x50]
movzx edx, byte [edi + eax]
mov eax, edx
and edx, 3
shr eax, 2
add edx, edx
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebx + ecx], al
movzx eax, byte [ebp + edx*8 - 0x48]
mov byte [ebx + ecx + 1], al
mov word [ebx + ecx + 2], 0x3d3d
add ecx, 4
mov eax, dword [ebp - 0x60]
mov dword [eax], ecx
cmp ecx, dword [ebp + 0xc]
jge 0x6cddf407
mov byte [ebx + ecx], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cde11c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x6cde11cb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x6cde1287
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
sub edi, 1
jne 0x6cde11e0
pop edi
test esi, esi
je 0x6cde12aa
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6ce40d28]
sub esi, 1
jne 0x6cde1290
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x6cde19f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x6cde1a36
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6cde1a31
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x6cde1a5e
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x6cde1a47
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cde1a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x6cde1ac5
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6cde1ac0
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x6cde1af2
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x6cde1ad6
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x6cde1b10
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x6cde1afd
cmp byte [esi + 8], 0
je 0x6cde1afd
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cde1bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x6cde1c18
cmp byte [edi + 1], 0
je 0x6cde1c07
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x6cde1c1e
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
push ebx
je 0x6cde1c41
cmp byte [edi + 1], 0
je 0x6cde1c3a
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x6cde1c44
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x6cde1c53
mov eax, dword [edi + 0x18]
mov ebx, 0xffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jae 0x6cde1c58
mov ebx, eax
mov dword [ebp - 0x14], eax
push esi
push 0x404
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x6cde1c7e
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x18], 0
cmp ebx, eax
jbe 0x6cde1d79
mov edx, dword [ebp - 0xc]
add eax, 0x400
cmp eax, ebx
mov ecx, eax
mov eax, 0x404
cmova ecx, ebx
sub edx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x404
mov dword [ebp - 0x1c], edx
mov ebx, ecx
cmova ebx, eax
cmp byte [edi], 0
je 0x6cde1cdd
cmp byte [edi + 1], 0
je 0x6cde1d79
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x6cde1ce0
mov dword [edi + 0x18], edx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0x10], ebx
je 0x6cde1d08
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6cde1d03
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x6cde1d31
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x6cde1d1b
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x6cde1d79
lea eax, [ebx - 3]
test eax, eax
jle 0x6cde1d6b
dec eax
cmp byte [eax + esi], 0x50
jne 0x6cde1d5d
cmp byte [eax + esi + 1], 0x4b
jne 0x6cde1d5d
cmp byte [eax + esi + 2], 5
jne 0x6cde1d5d
cmp byte [eax + esi + 3], 6
je 0x6cde1d63
test eax, eax
jg 0x6cde1d41
jmp 0x6cde1d6b
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jne 0x6cde1d79
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
cmp eax, ebx
jb 0x6cde1c92
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cde2bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x6cde2c5d
cmp dword [edi + 4], 0xffffffff
jne 0x6cde2c5d
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x6ce43790
push 0x104
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.6cde1930
add esp, 8
pop esi
test eax, eax
jne 0x6cde2c48
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, eax
call fcn.6cde1da0
mov dword [edi], eax
mov eax, dword [0x6ce5ff54]
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc