joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5893c8
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x589362
push dword [edi + 0x64]
call esi
cmp dword [edi + 0x70], 0
je 0x58936d
push dword [edi + 0x70]
call esi
xor ebp, ebp
cmp dword [edi + 0x78], ebp
je 0x58945f
push 0x834ad4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [edi + 0x78], 1
je 0x589392
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test byte [edi + 0x78], 2
je 0x5893a4
push dword [edi + 0x80]
call fcn.00677805
pop ecx
test byte [edi + 0x78], 4
je 0x5893b6
push dword [edi + 0x84]
call fcn.0066dfbe
pop ecx
mov ebx, dword [0x834af0]
mov eax, dword [ebx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x5893cb
mov dword [ebx + 4], eax
jmp 0x58941d
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call fcn.0067db94
pop ecx
push eax
call fcn.0055f0d0
mov ebx, dword [0x834af0]
pop ecx
pop ecx
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x58941d
lea ebp, [esi + 4]
cmp dword [esi], edi
jne 0x589410
mov eax, dword [ebx + 4]
sub eax, ebp
push eax
push ebp
push esi
call fcn.0066da10
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
mov ebx, dword [0x834af0]
jmp 0x589416
add esi, 4
add ebp, 4
cmp esi, dword [ebx + 4]
jne 0x5893f0
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
jne 0x589454
test ecx, ecx
je 0x589444
mov eax, dword [ebx + 8]
sub eax, ecx
push 4
sar eax, 2
push eax
push ecx
call fcn.005151d1
add esp, 0xc
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
push 0xc
push ebx
call fcn.006484df
pop ecx
pop ecx
mov dword [0x834af0], ebp
push 0x834ad4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [edi + 0xc], ebp
jne 0x5894a5
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], ebp
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
push 0x834ad0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x5894bb
push 0x834ad4
call ebx
lea ecx, [edi + 0xc0]
call fcn.00589e7d
lea ecx, [edi + 0x40]
call fcn.005290c0
lea ecx, [edi + 0x28]
call fcn.005290c0
lea ecx, [edi + 0x10]
call fcn.005290c0
mov ecx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x5894ef
push ecx
call fcn.00589f2d
ret
Function at 0x58ad51
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x9c], edx
xor ebx, ebx
mov dword [ebp - 0x90], esi
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x79], bl
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x88], ebx
call fcn.005171f6
push ebx
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
inc ebx
test eax, eax
je 0x58add0
push 0xa
lea eax, [ebp - 0x48]
mov byte [ebp - 0x79], bl
push 0
push eax
call fcn.0068c0cd
add esp, 0xc
lea ecx, [ebp - 0x78]
mov edi, eax
mov dword [ebp - 0x88], edi
push edi
call fcn.00553090
xor eax, eax
push eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
push eax
push esi
jmp 0x58ae85
mov edi, dword [ebp - 0x80]
test edi, edi
je 0x58aeba
xor eax, eax
lea ecx, [ebp - 0x54]
push edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.00574a80
test al, al
je 0x58ae26
push edi
push 0
lea ecx, [ebp - 0x54]
call fcn.00515e00
push dword [eax]
call fcn.0066f220
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.00558de0
add dword [eax], edi
lea ecx, [ebp - 0x54]
call fcn.00515e00
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x94]
push ecx
push dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
push dword [eax]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
test esi, esi
je 0x58aeb2
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x58aeb2
add dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x98]
push dword [eax]
call fcn.00517476
lea ecx, [ebp - 0x54]
call fcn.0056f970
push 0
push 0
lea eax, [ebp - 0x80]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov esi, eax
test esi, esi
jne 0x58ade4
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.005178bf
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00647fba
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x54]
call fcn.0056f970
test esi, esi
je 0x58ae95
cmp byte [ebp - 0x79], 0
je 0x58aed2
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x88]
jne 0x58ae95
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x58ae97
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.0058b368
push eax
mov ecx, esi
call fcn.00589eba
lea ecx, [ebp - 0x60]
call fcn.005290c0
jmp 0x58ae97
Function at 0x58d29d
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x6d29f5
call fcn.00648b1c
mov eax, edx
mov dword [ebp - 0x10], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], esi
jb 0x58d2ca
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx], dx
mov dword [ebp - 4], esi
mov esi, dword [eax]
mov dword [ebp - 0x18], 1
jmp 0x58d3a3
mov al, byte [esi]
mov ecx, ebx
movzx edi, al
inc esi
mov eax, edi
shr eax, 2
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0055afb1
mov eax, dword [ebp - 0x10]
and edi, 3
mov ecx, ebx
cmp esi, dword [eax + 4]
je 0x58d378
mov al, byte [esi]
inc esi
movzx eax, al
mov dword [ebp - 0x14], eax
shr eax, 4
shl edi, 4
or eax, edi
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0055afb1
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax + 4]
je 0x58d367
movzx edi, byte [esi]
inc esi
mov ecx, dword [ebp - 0x14]
mov eax, edi
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
movzx eax, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, ebx
push eax
push 1
call fcn.0055afb1
and edi, 0x3f
movzx eax, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x58d397
mov eax, dword [ebp - 0x14]
and eax, 0xf
movzx eax, word [eax*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x58d38c
shl edi, 5
movzx eax, word [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0055afb1
push 0x3d
push 1
mov ecx, ebx
call fcn.0055afb1
push 0x3d
push 1
mov ecx, ebx
call fcn.0055afb1
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax + 4]
jne 0x58d2e0
mov eax, ebx
call fcn.00648ae5
ret

Function at 0x58de28
Capabilities:
Encode data using xor

Disassembly:
push 0x24
mov eax, 0x6d2d3e
call fcn.00648b50
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push 0x24
call fcn.0054fd57
mov ebx, esi
push 0xa
pop ecx
mov eax, ebx
cdq
idiv ecx
lea ecx, [ebp - 0x28]
mov ebx, eax
mov eax, edx
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x749810]
movzx eax, ax
push eax
push 1
call fcn.0055afb1
test ebx, ebx
jne 0x58de5f
test esi, esi
jns 0x58de9a
push 0x2d
push 1
lea ecx, [ebp - 0x28]
call fcn.0055afb1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
call fcn.00589fd0
mov ecx, esi
mov edx, dword [eax]
call fcn.00548ba9
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0054fad6
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00529114
mov eax, edi
call fcn.00648afa
ret
Function at 0x58ded9
Capabilities:
Encode data using xor

Disassembly:
push 0x2c
mov eax, 0x6d2d6b
call fcn.00648b50
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ecx, ecx
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
push 0x24
call fcn.0054fd57
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
push 0
push 0xa
push ebx
push esi
call fcn.006a10f0
mov dword [ebp - 0x30], ebx
pop ebx
mov esi, eax
mov ebx, edx
mov eax, ecx
lea ecx, [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x7497b0]
movzx eax, ax
push eax
push 1
call fcn.0055afb1
mov eax, esi
or eax, ebx
jne 0x58df12
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jg 0x58df63
jl 0x58df57
cmp dword [ebp + 8], ebx
jae 0x58df63
push 0x2d
push 1
lea ecx, [ebp - 0x2c]
call fcn.0055afb1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00589fd0
mov ecx, esi
mov edx, dword [eax]
call fcn.00548ba9
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0054fad6
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00529114
mov eax, edi
call fcn.00648afa
ret

Function at 0x58dfa1
Capabilities:
Encode data using xor

Disassembly:
push 0x2c
mov eax, 0x6d2d6b
call fcn.00648b50
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ecx, ecx
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x2c]
push 0x24
call fcn.0054fd57
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
push 0
push 0xa
push ebx
push esi
call fcn.006a0ff0
mov dword [ebp - 0x30], ebx
pop ebx
mov esi, eax
mov ebx, edx
mov eax, ecx
lea ecx, [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + str.0123456789abcdef]
movzx eax, ax
push eax
push 1
call fcn.0055afb1
mov eax, esi
or eax, ebx
jne 0x58dfda
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00589fd0
mov ecx, esi
mov edx, dword [eax]
call fcn.00548ba9
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0054fad6
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00529114
mov eax, edi
call fcn.00648afa
ret
Function at 0x58e666
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x24
mov eax, 0x6d2e00
call fcn.00648b1c
mov edi, ecx
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.00515e26
push eax
lea ecx, [ebp - 0x10]
call fcn.00515c3a
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0x104
call fcn.0058e340
neg eax
lea ecx, [ebp - 0x30]
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0051e4ac
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x58e6e0
lea ecx, [esi - 0x10]
call fcn.00515476
jmp 0x58e768
mov eax, dword [esi - 8]
mov edi, 0x104
sub ebx, dword [esi - 4]
sub eax, edi
or ebx, eax
jge 0x58e6fd
push edi
lea ecx, [ebp - 0x10]
call fcn.0051599a
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [ebp - 0x10]
call fcn.00515aea
lea eax, [ebp - 0x24]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0051d5f9
test edi, edi
je 0x58e75d
mov ecx, dword [ebp - 0x14]
push 0x741504
call fcn.00515719
lea ecx, [esi - 0x10]
call fcn.00515ed6
lea ecx, [ebp - 0x30]
call fcn.0051e50a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov eax, dword [ebp - 0x14]
jmp 0x58e78a
lea ecx, [esi - 0x10]
call fcn.00515476
mov edi, dword [ebp - 0x14]
add eax, 0x10
lea ecx, [esi - 0x10]
mov dword [edi], eax
call fcn.00515ed6
lea ecx, [ebp - 0x30]
call fcn.0051e50a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov eax, edi
call fcn.00648ae5
ret

Function at 0x58e7e9
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
lea ebx, [eax*2 + 2]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x58e841
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x58e841
push ebx
push dword [edi]
push eax
call fcn.0066eca0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x58e841
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x58e9b9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x58ea31
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x58ea05
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x58ea31
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp + 8]
call fcn.0052d86b
test eax, eax
je 0x58ea28
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x58e9f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00515ed6
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00647fba
mov esp, ebp
pop ebp
ret

Function at 0x58f0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x58f0b9
cmp dword [edi], 2
jae 0x58f0b9
push 0x7a
pop eax
jmp 0x58f118
mov eax, dword [edi]
push ebx
add eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
mov dword [edi], ebx
push eax
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x58f117
cmp dword [ebp + 0x10], 7
jne 0x58f10c
mov ecx, dword [ebp + 0xc]
test esi, esi
je 0x58f111
test cl, 1
jne 0x58f10c
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x58f10c
cmp word [esi + eax*2 - 2], bx
jne 0x58f10c
cmp eax, 1
jbe 0x58f111
cmp word [esi + eax*2 - 4], bx
je 0x58f111
push 0xd
pop eax
jmp 0x58f117
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x5adcfe
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x6d7d02
call fcn.00648b1c
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0051869b
xor esi, esi
lea ebx, [edi + 0x18]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ebx
mov dword [ebx], esi
push esi
push esi
push 1
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx], eax
test eax, eax
jne 0x5add3b
call fcn.0051d1fa
mov dword [edi + 0x1c], esi
mov byte [ebp - 4], 3
xor eax, eax
mov dword [edi + 0x20], esi
lea esi, [edi + 0x24]
push eax
mov dword [ebp - 0x14], esi
push eax
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00535ff3
mov dword [esi], eax
xor cl, cl
lea eax, [edi + 0x2c]
xchg byte [eax], cl
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push esi
push edi
push 0x5adea3
push esi
push esi
call fcn.0068c2a5
add esp, 0x18
mov dword [edi + 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push esi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, edi
call fcn.00648ae5
ret
Function at 0x5ae896
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0x70
mov eax, 0x6d8021
call fcn.00648b1c
mov edi, ecx
push 0x75b4a8
push ecx
call fcn.005a1dac
pop ecx
mov ecx, eax
call fcn.005a1e39
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x4c]
push eax
call esi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
call esi
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
mov ecx, dword [ebx]
push eax
call fcn.005acec9
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, dword [ebx]
push eax
call fcn.005acede
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.005ad02d
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.005ad02d
push 0
push str.Win32_CDROMDrive
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
push eax
call fcn.005a2f08
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00593591
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x5ae967
mov ebx, eax
mov ecx, esi
call fcn.00598d2d
add esi, 0x140
cmp esi, ebx
jne 0x5ae953
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push str.Optical_WMI_get_All
mov dword [edi + 4], eax
call fcn.0059de04
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
sete al
test al, al
je 0x5ae99a
lea eax, [ebp - 0x7c]
push eax
call fcn.005aea5d
lea eax, [ebp - 0x64]
push eax
call fcn.005aea5d
jmp 0x5ae9f1
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
call fcn.005b0fbb
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.005dae38
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
cmp esi, edi
je 0x5ae9e5
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
lea eax, [ebp - 0x18]
push eax
call fcn.005aeb08
push str.Optical_fill_CDROMs_data
lea ecx, [ebp - 0x4c]
call fcn.0059de04
add esi, 4
jmp 0x5ae9bc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.005b0ef8
push str._________Optical_drives_section_total
lea ecx, [ebp - 0x4c]
call fcn.0059df92
mov ecx, dword [ebx]
call fcn.005acef0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5aea15
call fcn.0051578b
lea ecx, [ebp - 0x3c]
call fcn.005a41ad
lea ecx, [ebp - 0x64]
call fcn.005ad08b
lea ecx, [ebp - 0x7c]
call fcn.005ad08b
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x5aea3d
call fcn.0051578b
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5aea50
call fcn.0051578b
call fcn.00648ae5
ret 4
Function at 0x5c06e7
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0x68
mov eax, 0x6db5d2
call fcn.00648b1c
mov edi, ecx
push str.START_Graphics
push ecx
call fcn.005a1dac
pop ecx
mov ecx, eax
call fcn.005a1e39
push str.NewTreeVideo::Fill
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.005a14e8
lea eax, [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push eax
call esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
call esi
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x18]
mov ecx, dword [esi]
push eax
call fcn.005acec9
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.005ad02d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5c0773
call fcn.0051578b
mov ecx, dword [esi]
lea eax, [ebp - 0x20]
push eax
call fcn.005acede
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.005ad02d
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5c079b
call fcn.0051578b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.005a1d40
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0060bc61
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5c07d1
call fcn.0051578b
push str.Graph_MonitorInfo_Fill
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0059de04
lea ecx, [ebp - 0x28]
call fcn.005a15ab
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
add eax, 8
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x18], eax
call fcn.00516ad6
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x5c0811
call fcn.0051578b
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.005c0e5b
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005c1450
test al, al
jne 0x5c083e
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005c09a5
mov byte [ebp - 4], 0xf
cmp byte [ebp - 0x14], 0
je 0x5c0850
mov ecx, dword [ebp - 0x18]
call fcn.0051795c
push str.Graph_FillDevicesVideo
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0059de04
push str._________Graphics_section_total
lea ecx, [ebp - 0x44]
call fcn.0059df92
mov ecx, dword [esi]
call fcn.005acef0
lea ecx, [ebp - 0x5c]
call fcn.005ad08b
lea ecx, [ebp - 0x74]
call fcn.005ad08b
lea ecx, [ebp - 0x30]
call fcn.005a1446
call fcn.00648ae5
ret 4
Function at 0x5ca516
Capabilities:
Encode data using xor

Disassembly:
push 0
mov eax, 0x6dd4be
call fcn.00648b1c
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x5ca534
mov edx, dword [eax]
jmp 0x5ca536
mov edx, eax
mov byte [ebp - 4], bl
mov ecx, dword [eax + 0x10]
lea ecx, [edx + ecx*2]
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x5ca54e
mov eax, dword [eax]
or dword [ebp - 4], 0xffffffff
mov esi, ecx
sub esi, eax
xor edx, edx
inc esi
mov edi, ebx
shr esi, 1
cmp eax, ecx
cmova esi, edx
test esi, esi
je 0x5ca587
mov edx, ebx
mov ecx, ebx
shr ecx, 2
shl edx, 6
add edx, ecx
movzx ecx, word [eax]
add ecx, 0x9e3779b9
lea eax, [eax + 2]
add ecx, edx
xor ebx, ecx
inc edi
cmp edi, esi
jne 0x5ca566
mov eax, ebx
call fcn.00648ae5
ret 4