joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c730
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov ebx, eax
add edx, 0x493e0
cmp ebx, edx
jbe 0x46c797
cmp dword [esi + 0x10], 0
jle 0x46c789
push edi
lea ecx, [esi + 4]
call fcn.00401440
mov edi, eax
test edi, edi
je 0x46c788
push dword [edi + 8]
call fcn.0046caf0
add esp, 4
lea ecx, [esi + 0x20]
push dword [edi + 4]
call fcn.0050d8a0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
pop edi
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], ebx
pop esi
pop ebx
ret

Function at 0x46d340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0ff0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xa37210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CEventMap.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
lea ecx, [edi + 0x60]
mov dword [ebp - 4], 0
mov byte [edi + 0x35], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.004a6b80
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 1
call fcn.004a6b80
lea ecx, [edi + 0xa0]
mov byte [ebp - 4], 2
call fcn.004a6b80
lea ecx, [edi + 0xc0]
mov byte [ebp - 4], 3
call fcn.004a6b80
push 0x3e8
lea ecx, [edi + 4]
mov byte [ebp - 4], 4
call fcn.00422350
xorps xmm0, xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov eax, edi
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xe0], 0
movdqu xmmword [edi + 0x34], xmm0
movdqu xmmword [edi + 0x44], xmm0
mov dword [edi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x475cf0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x130], esi
test esi, esi
je 0x475f02
cmp byte [esi], 0
je 0x475f02
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x475f02
push ebx
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 0x11c]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x64
cmovne ecx, edx
mov dword [ebp - 0x12c], 0
xor edi, edi
mov dword [ebp - 0x11c], ecx
test ecx, ecx
je 0x475ee1
push edi
push str._04u
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push 5
push eax
mov byte [ebp - 8], 0
call fcn.00579fd0
add esp, 0x10
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x475ea7
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x120], 0x104
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x475e3b
push dword [ebp - 0x114]
call ebx
jmp 0x475ea7
push esi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x475e57
push dword [ebp - 0x114]
call ebx
jmp 0x475ea7
lea eax, [ebp - 0x120]
mov dword [ebp - 0x128], 0
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x120], 4
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x114]
mov esi, eax
call ebx
test esi, esi
je 0x475ed5
mov esi, dword [ebp - 0x130]
inc edi
cmp edi, dword [ebp - 0x11c]
jb 0x475da6
push dword [ebp - 0x118]
call ebx
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x118]
call ebx
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4
Function at 0x4760b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
push 0
mov dword [ebp - 4], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x4760f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push dword [ebp + 8]
call fcn.00579fd0
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push edi
push dword [ebp - 4]
call fcn.0057f604
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x47611d
push str.GetMAC_Failed__Because_malloc_failed_
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 4]
mov esi, edi
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x476157
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push dword [ebp + 8]
call fcn.00579fd0
push edi
call fcn.0057e788
add esp, 0x14
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 8]
push ebx
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x47619b
cmp eax, 8
ja 0x47619b
push eax
lea eax, [esi + 0x194]
push eax
push dword [ebp + 8]
call fcn.0057bdd0
mov ebx, dword [esi + 0x190]
lea eax, [esi + 8]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00475cf0
shr eax, 2
test al, 1
jne 0x4761a1
mov esi, dword [esi]
test esi, esi
jne 0x476160
mov edi, dword [ebp - 0xc]
push edi
call fcn.0057e788
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x49cef0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
call esi
push eax
push str._d__r_n
call fcn.0057dfcc
add esp, 8
call esi
sub eax, dword [edi + 0x9d0]
cmp eax, 0x7530
jb 0x49cf57
call esi
mov dword [edi + 0x9d0], eax
mov ecx, 0x84e4e0
mov eax, dword [0xa6a640]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push 0x18
push eax
mov word [ebp - 0x17], 0x500
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x15], 0xe0
call fcn.004fbc10
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x49f743
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x49f64c.10
movzx eax, byte [eax + 0x49f7b8]
jmp dword [eax*4 + 0x49f784]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x49f64c.10
call fcn.0044ea80
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044eb00
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044eb90
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044e9b0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x49f64c.10
call fcn.0044ea60
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044ea20
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f060
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x36]
test ecx, ecx
je case.0x49f64c.10
push 8
call fcn.004b70d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044eca0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044ee70
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x80f0c0
call fcn.004bdb90
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x49f64c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x49f64c.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x49f64c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.0044f430
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x49f810
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x49f81f
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x49f861
je 0x49f854
sub eax, 0x100
je 0x49f847
dec eax
jne 0x49f86f
cmp dword [ebp + 0x10], 0x11
jne 0x49f86f
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.0049f630
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.0049f4c0
cmp eax, 0x10f
je 0x49f878
cmp eax, 0x286
je 0x49f878
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0049f520

Function at 0x4a28b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [ecx + 0xe], 0
jne fcn.004b7220
ret
Function at 0x4b6ab0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d53
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xa37210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004aae50
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 0
mov dword [esi], vtable.cWindow.0
call fcn.004a9d90
lea ecx, [esi + 0x7ec]
mov byte [ebp - 4], 1
call fcn.004a6b80
xor eax, eax
mov dword [esi + 8], 0
mov word [esi + 0x1a], ax
mov eax, 1
mov word [esi + 0xc], ax
mov dword [esi + 0xe], eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x12], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x856], eax
mov dword [esi + 0x80c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x810], 0xffffff
mov dword [esi + 0x814], 0xff
mov dword [esi + 0x818], 0x64
mov dword [esi + 0x83c], eax
mov dword [esi + 0x840], eax
mov dword [esi + 0x16], fcn.0040aa40
mov dword [esi + 0x85a], 0x3f800000
mov dword [esi + 0x85e], 0x3f800000
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 1
mov dword [esi + 0x7e4], eax
mov dword [esi + 0x7e8], eax
mov dword [esi + 0x848], eax
mov word [esi + 0x84c], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x84e], eax
mov eax, esi
mov dword [esi + 0x852], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4b7220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xe], 0
je 0x4b727c
mov edi, dword [esi + 0x80c]
test edi, edi
je 0x4b727c
mov ecx, dword [esi + 0x818]
mov eax, 0x51eb851f
imul ecx, dword [esi + 0x814]
mul ecx
lea eax, [esi + 0x81c]
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x810]
push edx
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0x85a]
push 0
push eax
mov ecx, edi
call fcn.004a6bd0
mov ecx, esi
call fcn.004b73c0
mov ebx, dword [esi + 0x848]
test ebx, ebx
je 0x4b733f
cmp dword [esi + 0x852], 0
je 0x4b733f
movzx edi, word [esi + 0x84c]
shl edi, 5
cmp dword [edi + ebx + 0x4e], 0
je 0x4b72eb
mov ecx, dword [esi + 0x818]
mov eax, 0x51eb851f
imul ecx, dword [esi + 0x814]
mul ecx
lea eax, [esi + 0x81c]
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x810]
push edx
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0x85a]
push 0
lea ecx, [ebx + 0x4a]
push eax
add ecx, edi
call fcn.004a6bd0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esi + 0x848]
sub eax, dword [esi + 0x84e]
movzx ecx, word [ecx + 0x48]
cmp eax, ecx
jbe 0x4b733f
call edi
inc word [esi + 0x84c]
mov dword [esi + 0x84e], eax
mov ax, word [esi + 0x84c]
cmp ax, 0x40
jae 0x4b7336
movzx ecx, ax
mov eax, dword [esi + 0x848]
shl ecx, 5
cmp dword [ecx + eax + 0x4e], 0
jne 0x4b733f
xor eax, eax
mov word [esi + 0x84c], ax
pop edi
pop esi
pop ebx
ret

Function at 0x4bcab0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.004ac6f0
Function at 0x4bd1a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push 0x5ab930
push str.._Data_UserCfgInfo.dat
mov dword [ebp - 4], ebx
call fcn.0057ccfb
mov esi, eax
add esp, 8
test esi, esi
je 0x4bd261
push edi
push esi
push 1
lea edi, [ebx + 0x10]
push 0x2c
push edi
call fcn.0057d2a8
push esi
call fcn.0057cbc0
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd1e6
sub ecx, edx
je 0x4bd223
mov esi, 0xfffffff0
mov edx, edi
sub esi, ebx
lea ebx, [ebx]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov ecx, edi
lea ebx, [ecx + 1]
jmp 0x4bd210
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd210
sub ecx, ebx
lea eax, [esi + edx]
cmp eax, ecx
jb 0x4bd200
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov ecx, ebx
lea edx, [ecx + 1]
jmp 0x4bd230
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd230
sub ecx, edx
je 0x4bd260
mov edi, 0xffffffdc
mov edx, ebx
sub edi, dword [ebp - 4]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bd250
sub eax, esi
lea ecx, [edi + edx]
cmp ecx, eax
jb 0x4bd245
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bda80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5ab99c
push str.._Data_UserCfgInfo.dat
mov esi, ecx
call fcn.0057ccfb
movdqu xmm0, xmmword [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov edi, eax
add esp, 8
mov dword [ebp - 8], ecx
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ebp - 0x20], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [ebp - 0x10], xmm0
test edi, edi
je 0x4bdb44
lea ecx, [ebp - 0x30]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdad8
sub ecx, esi
je 0x4bdafd
add byte [ebp + edx - 0x30], 0x63
lea ecx, [ebp - 0x30]
inc edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdaf0
sub ecx, esi
cmp edx, ecx
jb 0x4bdae3
lea ecx, [ebp - 0x1c]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdb05
sub ecx, esi
je 0x4bdb2d
add byte [ebp + edx - 0x1c], 0x63
lea eax, [ebp - 0x1c]
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bdb20
sub eax, esi
cmp edx, eax
jb 0x4bdb10
push edi
push 1
lea eax, [ebp - 0x30]
push 0x2c
push eax
call fcn.0057d5bf
push edi
call fcn.0057cbc0
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057b964
mov esp, ebp
pop ebp
ret

Function at 0x4bdc20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov edi, ecx
lea eax, [edi + 0x10]
mov dword [edi + 0x38], esi
push eax
call fcn.0057cecc
push dword [ebp + 0x10]
lea eax, [edi + 0x24]
push eax
call fcn.0057cecc
add esp, 0x10
test esi, esi
je 0x4bdc59
mov ecx, edi
call fcn.004bda80
pop edi
pop esi
pop ebp
ret 0xc
push str.._Data_UserCfgInfo.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4bdea0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x83b1dc]
push esi
mov esi, ecx
mov ecx, 0x83b1d4
push 0
mov eax, dword [eax + 8]
push 0
mov dword [eax + 0xc], 1
cmp dword [esi + 0x10], 0
je 0x4bdedb
push 3
mov dword [0xa67d5e], 1
call fcn.004efff0
mov dword [esi + 0x10], 0
jmp 0x4bdee2
push 2
call fcn.004efff0
cmp dword [0x8c93ac], 0
pop esi
jne 0x4bdf00
mov dword [0x8c93ac], 1
mov ecx, 0x8c9310
jmp fcn.00522620
ret
Function at 0x4cd810
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x264], eax
test ebx, ebx
je 0x4cd93f
test eax, eax
je 0x4cd93f
push esi
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4cd8e4
cmp byte [ebp - 0x25c], 0
je 0x4cd8e4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
push 0x5b9444
push esi
call edi
test eax, eax
je 0x4cd8dc
push 0x5b9448
push esi
call edi
test eax, eax
je 0x4cd8dc
movzx eax, byte [esi]
mov byte [ebp - 0x260], al
movzx eax, byte [esi + 1]
mov byte [ebp - 0x25f], al
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 0x25e], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x4cd8f2
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.0057fc67
add esp, 0xc
test eax, eax
je 0x4cd905
add esi, 4
cmp byte [esi], 0
jne 0x4cd871
mov esi, dword [ebp - 0x264]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x268]
add eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0057b964
mov esp, ebp
pop ebp
ret
Function at 0x4ce390
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a43a0
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0
push 2
mov byte [ebp - 4], 1
mov dword [ebp - 0x180], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ce544
lea eax, [ebp - 0x180]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4ce53d
nop
push dword [ebp - 0x178]
lea eax, [ebp - 0x58]
push eax
call fcn.004ce5a0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4ce4a2
cmp dword [ebp - 0x14], 0x10
jb 0x4ce44c
push dword [ebp - 0x28]
call fcn.0057b1ce
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0x10
jae 0x4ce47a
mov eax, dword [esi + 0x10]
inc eax
je 0x4ce485
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0057b320
add esp, 0xc
jmp 0x4ce485
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x44], 0x10
jb 0x4ce4b3
push dword [ebp - 0x58]
call fcn.0057b1ce
add esp, 4
cmp dword [ebp - 0x18], 0
jbe 0x4ce528
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ecx, 0xa67000
cmovae eax, dword [ebp - 0x40]
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004f25a0
cmp dword [ebp - 0x30], 0
je 0x4ce528
lea eax, [ebp - 0x40]
mov ecx, 0xa6709c
push eax
call fcn.0044c230
cmp byte [ebp - 0x15c], 0
mov edx, eax
jne 0x4ce503
xor ecx, ecx
jmp 0x4ce519
lea ecx, [ebp - 0x15c]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ce510
sub ecx, esi
push ecx
lea eax, [ebp - 0x15c]
mov ecx, edx
push eax
call fcn.004077a0
lea eax, [ebp - 0x180]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4ce420
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0x10
jb 0x4ce555
push dword [ebp - 0x40]
call fcn.0057b1ce
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x4ce578
push dword [ebp - 0x28]
call fcn.0057b1ce
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret
Function at 0x4ce5a0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a43db
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
push 0
push 0x5af7d2
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.004077a0
push esi
push 0
push 0x400
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4ce653
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004135d0
cmp dword [ebp - 0x21c], 0x10
jb 0x4ce6be
push dword [ebp - 0x230]
call fcn.0057b1ce
add esp, 4
jmp 0x4ce6be
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x4ce672
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4ce6a5
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004cd810
add esp, 8
push esi
test eax, eax
je 0x4ce66a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00414770
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004135d0
lea ecx, [ebp - 0x230]
call fcn.005377b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret
Function at 0x4e9fe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
lea esi, [ebx + 0x896]
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi - 0x14]
cmp eax, 0xbb8
jb 0x4ea013
cmp dword [esi], 0
je 0x4ea013
push edi
mov ecx, ebx
call fcn.004e9d90
mov dword [esi], 0
inc edi
add esi, 4
cmp edi, 4
jl 0x4e9ff0
mov esi, dword [0xa656e0]
mov eax, dword [esi + 0x88a]
cmp dword [eax + 0x852], 0
je 0x4ea05d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x88e]
cmp eax, 0xbb8
jb 0x4ea05d
mov eax, dword [esi + 0x88a]
xor ecx, ecx
mov dword [eax + 0x852], 0
mov word [eax + 0x84c], cx
pop edi
pop esi
pop ebx
ret