joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6cde6d70
Capabilities:
Check for time delay via gettickcount
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.6cde6a80

Function at 0x6cde6dd0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.6cde68d0

Function at 0x6cde6de0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.6cde6100

Function at 0x6cde6df0
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.6cde6630

Function at 0x6cde6fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce19340
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edi, edi
je 0x6cde70a5
push 0x6ce43dd4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
je 0x6cde70a5
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push dword [ebp - 0x18]
mov dword [edi + 4], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [edi + 4]
add esp, 0x1c
test eax, eax
je 0x6cde708f
push eax
mov dword [ebp - 4], 0
call fcn.6ce11f9a
mov ecx, dword [edi]
add esp, 4
mov dword [edi], eax
test ecx, ecx
je 0x6cde707c
push ecx
call fcn.6ce1200c
add esp, 4
push dword [ebp - 0x18]
push dword [edi + 4]
push 1
push dword [edi]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
jmp 0x6cde70a7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cde7200
Capabilities:
Write 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]
xor eax, eax
push 0
test edi, edi
mov ebx, edx
push 0x80
setne al
lea eax, [eax*2 + 2]
push eax
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x6cde7262
test edi, edi
je 0x6cde7275
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x6cde7275
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
Function at 0x6cde7ec0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x6cde7f27
push 0x6ce43de0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cde7f30
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x6cde7f6f
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ecx*2 + 2]
cmp eax, 0x208
jae 0x6cde7fa3
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
mov dword [esi], 0
push eax
mov ecx, esi
call fcn.6cdbef90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
call fcn.6ce11dd7
int3
Function at 0x6cde7fb0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce19540
mov eax, dword fs:[0]
push eax
sub esp, 0x248
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 eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x250], edx
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x6cde8033
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x6cde8033
mov esi, 1
push ecx
mov dword [ebp - 0x24c], esi
call fcn.6cde35d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x6cde8033
lea eax, [ebp - 0x248]
or edx, 0xffffffff
push eax
mov ecx, ebx
call fcn.6cde3650
add esp, 4
test eax, eax
je 0x6cde8051
mov ecx, ebx
call fcn.6cde37a0
xor eax, eax
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
mov eax, dword [ebp - 0x248]
xor edi, edi
mov dword [ebp - 0x254], eax
test eax, eax
jle 0x6cde81be
lea eax, [ebp - 0x248]
mov edx, edi
push eax
mov ecx, ebx
call fcn.6cde3650
add esp, 4
test eax, eax
jne 0x6cde81a9
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.6cddbc30
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x6cde80c4
push 0x104
lea ecx, [ebp - 0x14]
call fcn.6cdbf780
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x244]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
lea ecx, [ebp - 0x14]
call fcn.6cde44c0
push 0x6ce43790
push 0x6ce43df4
lea ecx, [ebp - 0x14]
call fcn.6cddd7c0
mov esi, dword [ebp - 0x14]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.6cdbef90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.6cde69d0
mov ecx, dword [ebp - 0x18]
call fcn.6cde5f50
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cde8146
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx], 1
je 0x6cde815c
mov dword [0x6ce5ff50], 0x80000
mov ecx, 0x80000
jmp 0x6cde8171
mov ecx, dword [ebx + 4]
sub esp, 8
push esi
push edi
call fcn.6cde3240
mov ecx, eax
mov dword [0x6ce5ff50], ecx
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
cmove eax, dword [ebp - 0x24c]
add esi, 0xfffffff0
mov dword [ebp - 0x24c], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cde81a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24c]
jmp 0x6cde81b1
xor esi, esi
mov dword [ebp - 0x24c], esi
inc edi
cmp edi, dword [ebp - 0x254]
jl 0x6cde8067
mov ecx, ebx
call fcn.6cde37a0
mov eax, esi
jmp 0x6cde8035
Function at 0x6cde86e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce19643
mov eax, dword fs:[0]
push eax
sub esp, 0x274
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 esi, dword [ebp + 8]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x6ce43df8
mov edx, ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.6cddd660
add esp, 4
lea ecx, [ebp - 0x26c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x270]
mov edi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cde8799
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
jne 0x6cde87c9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x6cde8853
mov dword [ebp - 0x280], edi
push ebx
lea edx, [ebp - 0x26c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.6cde81e0
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x26c]
add esp, 4
push eax
push edi
call ebx
test eax, eax
je 0x6cde8826
mov esi, dword [ebp - 0x274]
nop
push esi
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x1c]
call fcn.6cde81e0
add esp, 4
lea eax, [ebp - 0x26c]
push eax
push edi
call ebx
test eax, eax
jne 0x6cde8800
mov esi, dword [ebp - 0x278]
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
push edi
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
call fcn.6cde92c0
mov eax, esi
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 0x6cde8be0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce196f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x6cde8c34
push 0x6ce4378c
mov ecx, edi
call fcn.6cdbef90
jmp 0x6cde8d38
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x6cde8c23
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cde8c67
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0
mov dword [ebp - 4], 0
push dword [ebx]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x6cde8d04
push eax
call fcn.6ce11f9a
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x1c]
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x6cde8cfb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
push 0x6ce43790
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x6cde8cfb
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x18]
push 0x6ce43e18
push eax
call fcn.6cde9660
mov esi, dword [ebp - 0x18]
add esp, 0x18
push ebx
call fcn.6ce1200c
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov ecx, esi
call fcn.6cddbc30
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cde8d38
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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 0x6cde9680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce197b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ce5c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
test edi, edi
je 0x6cde974d
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [ebp - 0x14]
add esp, 0x1c
test eax, eax
jle 0x6cde972f
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.6cde97b0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
push edi
sub eax, ecx
push eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6cdea870
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6ce60680]
mov dword [ebp - 0x14], 0
push edi
mov edi, dword [ebp + 8]
test al, 1
jne 0x6cdea8cf
or eax, 1
mov dword [0x6ce60684], 0
mov dword [0x6ce60680], eax
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
je 0x6cdea9aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x6ce1c070
mov dword [0x6ce60684], eax
call fcn.6ce11c91
add esp, 4
mov ecx, dword [0x6ce60684]
cmp dword [ecx - 0xc], 0
je 0x6cdea8e3
add ecx, 0xfffffff0
jmp 0x6cdea98f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 1
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6cdea986
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push str.ProcessorNameString
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6cdea986
cmp dword [ebp - 8], 1
jne 0x6cdea986
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6ce11f9a
add esp, 4
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push str.ProcessorNameString
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov ecx, 0x6ce60684
call fcn.6cdbf1d0
push esi
call fcn.6ce1200c
add esp, 4
pop esi
mov ecx, dword [0x6ce60684]
lea ecx, [ecx - 0x10]
call fcn.6cddbc30
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [edi], eax
xor ecx, ebp
mov eax, edi
pop edi
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.6cdc0090
int3
Function at 0x6cdeaec0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1997b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
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 edi, edx
mov esi, ecx
mov dword [ebp - 0x814], esi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x81c], 0
test edi, edi
je 0x6cdeafcc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6cdeafcc
test ebx, ebx
je 0x6cdeafcc
cmp dword [ebp - 0x818], 0
je 0x6cdeafcc
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push edi
push 0x400
push eax
push 0x6ce4378c
push dword [ebp - 0x818]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 0
push eax
lea ecx, [ebp - 0x814]
call fcn.6cdbef90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x814]
lea ecx, [ecx - 0x10]
call fcn.6cddbc30
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x814]
mov dword [esi], eax
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdeafd8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x6cdeafd8
push 0x6ce4378c
mov ecx, esi
call fcn.6cdbef90
mov eax, esi
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 0x6cdeba80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce199f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call sym.QQLiveBase.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_base::GetAppDataPath_void_
add esp, 4
mov dword [ebp - 4], 0
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x6cdebaea
push 0x104
lea ecx, [ebp - 0x14]
call fcn.6cdbf780
mov esi, dword [ebp - 0x14]
push str.user.ini
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x6cdebb9b
cmp eax, dword [esi - 8]
jg 0x6cdebb9b
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], ecx
movups xmmword [ebp - 0x28], xmm0
cmp dword [esi - 0xc], ecx
je 0x6cdebb5b
lea eax, [ebp - 0x38]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x6cdebb5b
push esi
push 1
push str.enabledxva_3
push str.Player
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne byte [ebp - 0x39]
jmp 0x6cdebb5f
mov byte [ebp - 0x39], 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdebb7e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x39]
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
push 0x80070057
call fcn.6cdc0090
int3

Function at 0x6cdebde0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x6cdebe11
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x6cdebe00
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x6cdf2190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x6cdf21a1
mov ecx, dword [ecx]
cmp edx, 0x7fffffff
jbe 0x6cdf21ad
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.6cdf20a0

Function at 0x6cdf2360
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 esi
mov esi, ecx
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x6cdf2431
call fcn.6cde5ba0
test al, al
je 0x6cdf2431
push edi
push 0x6ce43dd4
push dword [esi]
lea eax, [ebp - 8]
xor edi, edi
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
je 0x6cdf241f
push 2
push edi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 0x10
cmp eax, 0xe
jbe 0x6cdf2413
push 0xe
call fcn.6ce11f9a
mov esi, eax
add esp, 4
test esi, esi
je 0x6cdf2413
xorps xmm0, xmm0
movq qword [esi], xmm0
push edi
mov dword [esi + 8], edi
mov word [esi + 0xc], di
push edi
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push dword [ebp - 8]
push 0xe
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, eax
mov ecx, esi
call fcn.6cdf2250
push esi
mov edi, eax
call fcn.6ce1200c
add esp, 0x20
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.6ce11901
mov esp, ebp
pop ebp
ret

Function at 0x6cdf24a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.6cdf2360

Function at 0x6cdf29d0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0
push 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x6cdf2a90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce19e70
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ecx
mov dword [eax], 0xffffffff
test ebx, ebx
jne 0x6cdf2ae7
xor eax, eax
jmp 0x6cdf2bef
push 0x3c
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
mov dword [ebp - 0x64], 0x3c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.6cdf3de0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov edi, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x50], 0x824
mov dword [ebp - 0x54], edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.6cdf3de0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
push eax
push 0
push 0
push ebx
mov dword [ebp - 0x34], 0x824
mov dword [ebp - 0x38], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edx, dword [ebp - 0x68]
mov ebx, eax
mov ecx, dword [ebp - 0x58]
mov dword [edx], ecx
mov edx, dword [ebp - 0x6c]
mov cx, word [ebp - 0x4c]
mov word [edx], cx
test edi, edi
jne 0x6cdf2b7d
xor ecx, ecx
jmp 0x6cdf2b91
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf2b82
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x70]
push edi
call fcn.6cdbf900
test esi, esi
jne 0x6cdf2ba3
xor ecx, ecx
jmp 0x6cdf2bbf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf2bb0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x74]
push esi
call fcn.6cdbf900
test esi, esi
je 0x6cdf2bdb
mov eax, dword [ebp - 0x14]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.6cdbf220
test edi, edi
je 0x6cdf2bed
mov eax, dword [ebp - 0x20]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.6cdbf220
mov eax, ebx
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