joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450714
Capabilities:
Hide graphical window

Disassembly:
push ecx
lea eax, [esi + 0x3c8]
cmp dword [eax], 0
jne 0x450722
mov dword [eax], ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x450738
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov eax, esi
call fcn.00402e61
push esi
call fcn.00450776
lea eax, [esi + 0x3c0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push 0x3e8
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
ret

Function at 0x4507f7
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push edi
push 0x24
pop ebx
xor edi, edi
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0045b9c0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push 5
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call ebx
push 0x4a076c
push str.Shell_TrayWnd
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x450881
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
cmp eax, edi
je 0x45088f
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov dword [ebp - 0x6c], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x10]
push eax
call ebx
jmp 0x45088f
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x38]
sub eax, edi
je 0x4508d3
dec eax
je 0x4508c0
dec eax
je 0x4508b5
dec eax
jne 0x4508e7
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sub eax, 0x32
mov dword [esi], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
sub eax, 3
jmp 0x4508e4
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sub eax, 3
jmp 0x4508d9
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sub eax, 0x32
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
add eax, 3
jmp 0x4508e4
mov eax, dword [ebp - 0x10]
add eax, 3
mov dword [esi], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
sub eax, 0x32
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop ebx
leave
ret 8
Function at 0x4508ef
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub eax, 0x3e8
push esi
mov esi, ecx
je 0x450937
dec eax
jne 0x450966
and dword [ebp - 8], eax
and dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x3c0]
cmp eax, dword [ebp - 8]
jne 0x450927
mov eax, dword [esi + 0x3c4]
cmp eax, dword [ebp - 4]
je 0x450966
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x450941
push esi
call fcn.00450998
test eax, eax
je 0x450948
call fcn.00450969
jmp 0x450966
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x3c8]
cmp dword [eax], 0
je 0x450966
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
pop esi
leave
ret

Function at 0x4509e2
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push str.Shell_TrayWnd
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
push 0x4a62b0
push ebx
push eax
call esi
push ebx
push str.SysPager
push ebx
push eax
call esi
push ebx
push 0x4a6310
push ebx
push eax
call esi
mov esi, eax
cmp esi, ebx
jne 0x450a38
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x450a73
call fcn.00450a7a
test eax, eax
jne 0x450a2e
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 8]
call fcn.00450acd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x450a7a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
push 0
push str.Shell_TrayWnd
mov esi, eax
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x10], 0
jl 0x450ac6
cmp dword [ebp - 0xc], 0
jl 0x450ac6
cmp dword [ebp - 8], ebx
jg 0x450ac6
cmp dword [ebp - 4], esi
jg 0x450ac6
xor eax, eax
jmp 0x450ac9
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x451081
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0045b9c0
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x22c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4510c4
xor eax, eax
pop edi
pop esi
leave
ret 8
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4510e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4510be
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp + 0xc]
je 0x4510fa
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
jmp 0x4510d1
push 0x103
lea eax, [ebp - 0x208]
push eax
push 0x104
push dword [ebp + 8]
call fcn.0045bc42
xor edi, edi
add esp, 0x10
inc edi
jmp 0x4510d5
Function at 0x453a61
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.0045acc3
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x453a72
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x14]
push 0x4245d5
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
call fcn.0045d94d
add esp, 0x18
ret

Function at 0x453c98
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0045b9c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x453cdf
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4a634c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041fa93
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453d28
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405ffd
jmp 0x453cda
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push str.switch
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x453d54
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405ffd
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x453d44

Function at 0x453ea7
Capabilities:
Delete file

Disassembly:
mov eax, 0x494508
call fcn.00491844
sub esp, 0xc
push ebx
push edi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
mov eax, dword [0x4b9e00]
mov ecx, 0x4b9e00
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.0043c8a5
pop ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x12c
push 0
push dword [ebp + 0xc]
lea eax, [esi + 0x28]
push eax
call fcn.0043d7e6
mov ecx, dword [ebp + 8]
add esp, 0x10
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x453f33
lea eax, [ebx - 0x10]
call fcn.00405ffd
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc edi
jmp 0x453f12
Function at 0x453f77
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x494508
call fcn.00491844
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
push esi
call fcn.0043c8a5
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453fc7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov eax, dword [0x4b9e00]
mov ecx, 0x4b9e00
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s__update:0
mov byte [ebp - 4], 1
call fcn.0041fde1
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.0043bb9e
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x45401a
lea eax, [ebx - 0x10]
call fcn.00405ffd
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x453fb7
inc esi
jmp 0x454007

Function at 0x45401d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x494ba8
call fcn.00491844
sub esp, 0x214
mov eax, dword [0x4b9e00]
push ebx
push esi
mov esi, 0x4b9e00
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x4b9e00]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x21e]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x220], di
call fcn.0045b9c0
add esp, 0xc
push edi
call fcn.0045fad3
pop ecx
push edx
push eax
push str.http:__2398.35go.net_defend_o1_jcqgx.ini
lea eax, [ebp - 0x14]
call fcn.00404dfa
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00439e99
test eax, eax
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
jne 0x454115
cmp dword [ebx - 0xc], edi
je 0x454115
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x454115
push str.jcqgx.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
add edi, 0x24
push edi
call fcn.0041ffb0
push dword [edi]
lea eax, [ebp - 0x10]
call fcn.0043ba21
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x454100
add eax, 0xfffffff0
jmp 0x454118
add eax, 0xfffffff0
call fcn.00405ffd
lea eax, [esi - 0x10]
call fcn.00405ffd
xor eax, eax
inc eax
jmp 0x454127
lea eax, [ebx - 0x10]
call fcn.00405ffd
lea eax, [esi - 0x10]
call fcn.00405ffd
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x455738
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push edi
xor eax, eax
cmp ecx, ebx
lea edi, [ebp - 0x13]
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
je 0x455814
cmp word [ecx], bx
je 0x455814
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
je 0x455814
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jbe 0x45580a
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x45580a
lea ecx, [ebp - 0x14]
call fcn.00455850
test eax, eax
je 0x45580a
add esi, 0xfffffffc
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45580a
mov eax, dword [ebp + 8]
push ebx
push ebx
push 4
push dword [ebp - 8]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call edi
test eax, eax
je 0x45580a
mov edx, dword [ebp - 4]
call fcn.0045581b
test eax, eax
jge 0x45580a
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x45581b
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x45584a
test esi, esi
jbe 0x45584a
mov ecx, esi
shr ecx, 2
push 0
pop eax
je 0x455839
xor dword [edx + eax*4], 0xd8d8d8d8
inc eax
cmp eax, ecx
jb 0x45582d
shl eax, 2
jmp 0x455843
xor byte [eax + edx], 0xd8
inc eax
cmp eax, esi
jb 0x45583e
xor eax, eax
ret
mov eax, 0x80004005
ret
Function at 0x456ca7
Capabilities:
Delete file

Disassembly:
mov eax, 0x494f6f
call fcn.00491844
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x48]
push esi
lea ebx, [edi + 0x24]
push edi
mov dword [ebx], 2
call fcn.0045598e
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
sub eax, 0x10
call fcn.0041ff58
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0042ff47
lea eax, [ebp - 0x10]
mov dword [esp], 0x4a6630
push eax
call fcn.0042b78b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.00405ffd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x456d69
dec eax
je 0x456d43
dec eax
je 0x456d3c
dec eax
je 0x456d35
dec eax
je 0x456d2e
dec eax
jne 0x456d51
push str.NoRcmdItem
jmp 0x456d48
push str.SwithIsOff
jmp 0x456d48
push str.CfgVerNotMatch
jmp 0x456d48
push str.XmlParseFailed
jmp 0x456d48
push str.BadSceneId
lea eax, [edi + 0x4c]
push eax
call fcn.0041ffb0
push dword [edi + 0x4c]
mov esi, 0x4bb8e8
push str.ParseCfgFile_Failed:__s
call fcn.0043f4ec
pop ecx
pop ecx
xor eax, eax
jmp 0x456dae
push ebx
push edi
call fcn.00455e24
mov ebx, eax
push ebx
push str.GetRcmdItem_return__d
mov esi, 0x4bb8e8
call fcn.0043f4ec
test ebx, ebx
pop ecx
pop ecx
jne 0x456dac
lea esi, [ebp - 0x10]
mov eax, edi
call fcn.00456bbb
add edi, 0x4c
mov dword [ebp - 4], 1
call fcn.0041feaa
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405ffd
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x457007
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
push edi
mov dword [ebx], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call fcn.0045746a
xor edi, edi
inc edi
test eax, eax
je 0x457033
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
lea ecx, [ebp + 0xb]
call fcn.004574c3
test eax, eax
jne 0x457057
lea ecx, [ebp + 0xb]
call fcn.004574f1
test eax, eax
jne 0x457057
lea ecx, [ebp + 0xb]
call fcn.0045751f
test eax, eax
je 0x45705b
or dword [ebp - 4], 2
call fcn.00457599
test eax, eax
je 0x45706b
or dword [ebp - 4], 4
mov dword [ebp - 8], edi
cmp dword [ebp - 8], 0
je 0x457082
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
mov dword [ebx], edi
mov dword [eax], ecx
jmp 0x45718d
lea esi, [ebp - 4]
call fcn.0045766a
test eax, eax
je 0x4570a6
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x45718d
lea esi, [ebp - 4]
call fcn.004576ac
test eax, eax
je 0x4570bf
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 3
jmp 0x457099
call fcn.00457b10
test al, al
jne 0x4570da
call fcn.00457ad5
test al, al
jne 0x4570da
call fcn.00457a3d
test al, al
je 0x4570e7
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 4
jmp 0x457099
lea esi, [ebp - 0xcc]
mov dword [ebp - 8], 3
call fcn.00457c7d
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00457d07
test eax, eax
je 0x457141
mov eax, dword [ebp - 8]
test eax, eax
je 0x457117
cmp eax, edi
je 0x457117
cmp eax, 2
jne 0x457141
cmp eax, edi
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
mov dword [ebx], 5
jne 0x457131
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3001
jmp 0x45718d
cmp eax, 2
jne 0x45718d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3002
jmp 0x45718d
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45715d
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 6
jmp 0x457187
call fcn.00457193
test eax, eax
je 0x457173
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 7
jmp 0x457187
call fcn.00457236
test eax, eax
je 0x45718d
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 8
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4576f5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4b561c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
xor bl, bl
call fcn.0045b9c0
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x457777
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x45776f
lea eax, [ebp - 0x20c]
push eax
push str.vmusrvc.exe
call fcn.0045b92e
test eax, eax
pop ecx
pop ecx
je 0x457775
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45774b
jmp 0x457777
mov bl, 1
test esi, esi
je 0x457782
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004616ca
leave
ret

Function at 0x457792
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4b561c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
push edi
mov edi, 0x208
xor ebx, ebx
push edi
lea eax, [ebp + 0x192]
push ebx
push eax
mov word [ebp + 0x190], bx
call fcn.0045b9c0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x190]
push eax
mov byte [ebp - 0x7d], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x45784b
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
and word [ebp - 0x7c], 0
push edi
lea eax, [ebp - 0x7a]
push 0
push eax
call fcn.0045b9c0
push 0xffffffffffffffff
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0045bc42
push 0xffffffffffffffff
push dword [ebx + 0x4b9970]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00490bad
add esp, 0x2c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457847
add ebx, 4
cmp ebx, 0x14
jb 0x4577f6
jmp 0x45784b
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp + 0x39c]
mov al, byte [ebp - 0x7d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004616ca
add ebp, 0x3a0
leave
ret
Function at 0x45793d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4b561c]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x5e]
push ebx
push eax
mov byte [ebp - 0x61], bl
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x60], bx
call fcn.0045b9c0
mov esi, str.DiskVirtual_HD
push esi
mov dword [ebp - 0x70], 0x104
call fcn.0045bd0b
add esp, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetEnumIDE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x457a23
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [ebp - 0x6c]
test eax, eax
jne 0x457a15
cmp word [ebp - 0x60], bx
je 0x4579f6
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x70], eax
jb 0x4579f6
push eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0045f28a
add esp, 0xc
test eax, eax
je 0x457a11
push 0x208
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.0045b9c0
add esp, 0xc
mov dword [ebp - 0x70], 0x104
jmp 0x4579b4
mov byte [ebp - 0x61], 1
cmp dword [ebp - 0x68], ebx
je 0x457a23
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1a8]
mov al, byte [ebp - 0x61]
pop esi
xor ecx, ebp
pop ebx
call fcn.004616ca
add ebp, 0x1ac
leave
ret

Function at 0x457b10
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4b561c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
push edi
mov edi, 0x208
xor ebx, ebx
push edi
lea eax, [ebp + 0x192]
push ebx
push eax
mov word [ebp + 0x190], bx
call fcn.0045b9c0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x190]
push eax
mov byte [ebp - 0x7d], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x457bc9
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
and word [ebp - 0x7c], 0
push edi
lea eax, [ebp - 0x7a]
push 0
push eax
call fcn.0045b9c0
push 0xffffffffffffffff
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0045bc42
push 0xffffffffffffffff
push dword [ebx + 0x4b9994]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00490bad
add esp, 0x2c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457bc5
add ebx, 4
cmp ebx, 4
jb 0x457b74
jmp 0x457bc9
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp + 0x39c]
mov al, byte [ebp - 0x7d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004616ca
add ebp, 0x3a0
leave
ret