joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413700
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x498070]
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, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [0x49cd34]
mov dword [ebp - 0x34], edi
test eax, eax
jne 0x41377f
push 0x18c
call fcn.004363d9
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x18c
push 0
push esi
mov dword [ebp - 4], 1
call fcn.0044f9d0
add esp, 0x10
mov ecx, esi
call fcn.00427130
mov byte [ebp - 4], 0
mov dword [0x49cd34], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00427420
mov dword [ebp - 4], 2
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4137b7
mov eax, dword [edi]
jmp 0x4137b9
mov eax, edi
xor ecx, ecx
push 0xffffffffffffffff
mov word [eax], cx
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.004031f0
push 9
push str._reporter
mov ecx, edi
mov dword [ebp - 0x2c], 1
call fcn.00413840
cmp dword [edi + 0x14], 8
jb 0x4137eb
mov eax, dword [edi]
jmp 0x4137ed
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41380d
cmp dword [edi + 0x14], 8
jb 0x413802
mov eax, dword [edi]
jmp 0x413804
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x413822
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403140
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.004363c8
mov esp, ebp
pop ebp
ret

Function at 0x413c20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473f38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x489b78
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402db0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00413970
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x413c98
mov edi, dword [edi]
push 1
push 0
push eax
push edi
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x413cc0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403140
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.004363c8
mov esp, ebp
pop ebp
ret
Function at 0x414070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473ffc
mov eax, dword fs:[0]
push eax
mov eax, dword [0x498070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x49ee84]
cmp eax, dword [ecx + 4]
jle 0x414102
push 0x49ee84
call fcn.004367cf
add esp, 4
cmp dword [0x49ee84], 0xffffffff
jne 0x414102
push 0xa4
push 0
push 0x49ede0
mov dword [ebp - 4], 0
call fcn.0044f9d0
add esp, 0xc
mov ecx, 0x49ede0
push 0
call fcn.004054d0
push 0x478f10
call fcn.0043665f
push 0x49ee84
mov dword [ebp - 4], 0xffffffff
call fcn.00436790
add esp, 8
push 0x49e248
push 0x414150
push str.http:__s7.huoying666.com_uploads_files_game_pro_wl.ini
mov ecx, 0x49ede0
call fcn.00405820
push 0
push 0
push 0x49ede0
push 0x405d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x49ede4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4145d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
mov eax, dword [0x498070]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
push 8
mov dword [esp + 0x1c], ebx
call fcn.004363d9
mov esi, eax
lea eax, [esp + 0x64]
push 0x400
push 0
push eax
mov dword [esp + 0x20], esi
call fcn.0044f9d0
add esp, 0x10
push 4
push 0x3000
push 0x40
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 4
push 0x3000
push 0x400
push 0
push dword [edi]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push 0
push 0x1004
push dword [ebx]
mov dword [esp + 0x2c], eax
cdq
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], 0x200
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [esi + 4], eax
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436904
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
add esp, 4
cmp dword [esi + 4], 0
mov dword [esi], eax
mov dword [esp + 0xc], 0
jbe 0x414786
xor ebx, ebx
push 0
push 0x40
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x10]
push 0x1073
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x400
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x28]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esi]
push 4
push 0x3000
push 0x10
push 0
mov dword [ebx + eax], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [esp + 0x10]
mov esi, eax
push 0
push 0x10
mov ecx, dword [ecx]
add ecx, ebx
push ecx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [esp + 0x18]
push esi
push dword [esp + 0x10]
push 0x100e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
push 0
push 0x10
mov eax, dword [eax]
add eax, ebx
push eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x8000
push 0
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [esp + 0xc]
add ebx, 0x10
mov esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 4]
jb 0x4146b1
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0
push dword [esp + 0x1c]
push dword [edi]
call ebx
push 0x8000
push 0
push dword [esp + 0x24]
push dword [edi]
call ebx
mov ecx, dword [esp + 0x464]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004363c8
mov esp, ebp
pop ebp
ret
Function at 0x414890
Capabilities:
Enumerate gui resources
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x414860
mov edi, ecx
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.SHELLDLL_DefView
push 0
push dword [0x49cc78]
call esi
push 0
push str.SysListView32
push 0
push eax
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x4148f4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004363c8
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
push str.Find_desktop__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0xc]
push 0
push 0x438
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49cc70], eax
test eax, eax
je 0x41495d
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x49cc70]
cmp dword [ebp - 8], 0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
je 0x414970
call fcn.004145d0
jmp 0x414975
call fcn.004143b0
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movss xmm2, dword [0x48bd70]
mov edx, edi
mov ecx, esi
call fcn.004147c0
mov ecx, dword [esi]
mov edi, eax
test ecx, ecx
je 0x4149a2
push ecx
call fcn.00436679
add esp, 4
push 8
push esi
call fcn.004368d3
mov ecx, dword [ebp - 4]
add esp, 8
xor eax, eax
test edi, edi
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.004363c8
mov esp, ebp
pop ebp
ret
Function at 0x414f00
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.6c407f2e47414929b2d5b0044b427241
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414f31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x49ddf4], 8
lea edx, [ebp - 4]
mov ecx, 0x49dde0
cmovae ecx, dword [0x49dde0]
call fcn.00426980
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
test al, al
je 0x414f8a
push dword [ebp - 4]
push 0
push 0x100001
call esi
mov esi, eax
test esi, esi
je 0x414f84
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [0x49df74], 8
lea edx, [ebp - 4]
mov ecx, 0x49df60
cmovae ecx, dword [0x49df60]
call fcn.00426980
test al, al
je 0x414fd7
push dword [ebp - 4]
push 0
push 0x100001
call esi
mov esi, eax
test esi, esi
je 0x414fd7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00410c90
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415b70
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4741d8
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x498070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.MicrosoftEdge.exe
lea ecx, [ebp + 0x80]
mov dword [ebp - 4], 0
call fcn.0040cbc0
test eax, eax
jne 0x415bc4
cmp byte [0x4989ba], al
je 0x415c66
lea ecx, [ebp + 8]
call fcn.0040e980
jmp 0x415c38
cmp byte [0x4989ba], 0
je 0x415c5b
push str.TopGuide
push str.Qt5QWindowToolSaveBits
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x415bf3
cmp dword [0x49cc74], 0
mov eax, 3
je 0x415bf8
mov eax, 5
xor edx, edx
lea ecx, [ebp + 8]
cmp eax, 3
lea eax, [ebp + 0x80]
setne dl
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
cmp dword [ebp + 0x94], 8
lea edx, [edx*2 + 3]
cmovae eax, dword [ebp + 0x80]
push edx
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0x7d0
push 0x3ee
push dword [ebp + 0x9c]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x4989ba], 0
mov bl, 1
jmp 0x415c68
push str.open_error_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor bl, bl
lea ecx, [ebp + 8]
call fcn.00409ca0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x49cc58], 0
push ebx
push esi
push edi
mov bl, cl
jne 0x418599
push 0x114
call fcn.004363d9
add esp, 4
mov esi, eax
mov dword [ebp - 4], esi
push 0x114
push 0
push esi
call fcn.0044f9d0
add esp, 0xc
mov dword [esi], 0x114
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x49cc58], esi
test bl, bl
mov dword [ebp - 4], 0
mov eax, 2
mov ebx, 0
cmovne ebx, eax
sub esp, 0x20
lea eax, [ebp - 4]
push eax
call fcn.00408040
cmp dword [ebp - 4], 0xa
jne 0x418626
call fcn.00418630
mov edi, dword [0x49e254]
mov esi, dword [edi]
cmp esi, edi
je 0x418626
mov ecx, dword [esi + 0x10]
push ebx
call fcn.004186f0
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x418622
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x418603
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x418622
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4185f7
jmp 0x418622
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x418620
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x418620
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x418610
mov esi, eax
cmp esi, edi
jne 0x4185d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418630
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.00418d00
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_MonitorFromWindow]
mov esi, eax
push 1
push esi
call edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], 0
call fcn.00419320
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 8]
push eax
call fcn.00419360
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Shell_SecondaryTrayWnd
push dword [0x49cd14]
push 0
call esi
mov dword [0x49cd14], eax
test eax, eax
je 0x4186e6
xor ebx, ebx
nop
push 1
push eax
call edi
mov ecx, dword [0x49cd14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
call fcn.00419320
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 8]
push eax
call fcn.00419360
push 0
push str.Shell_SecondaryTrayWnd
push dword [0x49cd14]
push 0
call esi
mov dword [0x49cd14], eax
test eax, eax
jne 0x4186a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4189b0
Capabilities:
Enumerate gui resources
Find taskbar
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x498070]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x49eea4]
push ebx
push esi
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
xor bl, bl
push 0
push str.Shell_TrayWnd
call esi
push 0
mov edi, eax
push str.Shell_SecondaryTrayWnd
mov dword [esp + 0x18], edi
call esi
test edi, edi
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
je 0x418a32
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call edi
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
test esi, esi
je 0x418a55
lea eax, [esp + 0x2c]
push eax
push esi
call edi
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x418ad4
test bl, bl
jne 0x418ad4
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Progman
push 0
push 0
call edi
test eax, eax
je 0x418a9e
push 0
push str.SHELLDLL_DefView
push 0
push eax
call edi
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x418aa0
lea eax, [esp + 0x10]
push eax
push 0x4188a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x418aa0
xor esi, esi
push 0
push str.SysListView32
push 0
push esi
call edi
mov ecx, eax
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x418aba
cmp eax, ecx
jne 0x418ad4
push str.in_shell_view_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00418840
test al, al
sete cl
call fcn.004187d0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004363c8
mov esp, ebp
pop ebp
ret

Function at 0x418b90
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x498070]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push 2
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x28
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push ecx
push eax
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x418c32
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
add eax, 0xfffffffc
cmp dword [esp + 8], eax
jge 0x418c30
cmp dword [esp + 0xc], 2
jle 0x418c30
cmp dword [esp + 0x10], 4
jle 0x418c30
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp dword [esp + 4], eax
jge 0x418c30
mov al, 1
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004363c8
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [esp + 0x3c]
pop esi
xor ecx, esp
call fcn.004363c8
mov esp, ebp
pop ebp
ret
Function at 0x418c50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x498070]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push dword [ecx + 4]
push dword [ecx]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
push 0
push str.Progman
push 0
push 0
call esi
test eax, eax
je 0x418cb6
push 0
push str.SHELLDLL_DefView
push 0
push eax
call esi
mov dword [esp + 8], eax
test eax, eax
jne 0x418cb8
lea eax, [esp + 8]
push eax
push 0x4188a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 8]
test eax, eax
jne 0x418cb8
xor eax, eax
push 0
push str.SysListView32
push 0
push eax
call esi
cmp eax, edi
jne 0x418ce9
push 0
push 0x489b7c
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x418ce9
push 0
push 0
push 0xb72
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.004363c8
mov esp, ebp
pop ebp
ret

Function at 0x4223e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00437650
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x1008]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1002
push 0
push eax
mov edi, edx
call fcn.0044f9d0
add esp, 0xc
mov dword [ebp - 0x1010], 1
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0x800
push eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1010]
push eax
push esi
push edi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422498
cmp ax, word [ebp - 0x1008]
je 0x422498
lea edx, [ebp - 0x1008]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x422464
sub edx, esi
lea eax, [ebp - 0x1008]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00402db0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004363c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004363c8
mov esp, ebp
pop ebp
ret
Function at 0x424900
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4751f3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x498070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x30]
lea ecx, [edx + 0x18]
mov dword [ebp - 0x14], edx
mov byte [ecx + 0xf9], 0
mov dword [ecx + 0x100], 0x3c
cmp byte [ecx + 0xf9], 0
jne 0x424960
mov eax, ecx
mov byte [ecx + 0xf9], 1
neg eax
and eax, 0xf
add eax, ecx
jmp 0x424962
xor eax, eax
mov dword [ecx + 0x104], eax
mov dword [edx], vtable.CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec_.0
mov dword [edx + 4], vtable.CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec_.1.0
mov dword [ebp - 4], 2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 0xd
mov ecx, esi
mov dword [esi], vtable.CryptoPP::CipherModeFinalTemplate_CipherHolder_class_CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec___class_CryptoPP::CBC_Decryption_.0
mov dword [esi + 4], vtable.CryptoPP::CipherModeFinalTemplate_CipherHolder_class_CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec___class_CryptoPP::CBC_Decryption_.1.0
mov dword [esi + 8], edx
call fcn.00423570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
mov dword [ebp - 0x230], 0x22c
push 2
mov edi, edx
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x426a4e
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00460986
add esp, 8
test eax, eax
jne 0x426a00
test edi, edi
je 0x4269ed
mov eax, dword [ebp - 0x228]
mov dword [edi], eax
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004363c8
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
je 0x426a47
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x234]
call fcn.00460986
add esp, 8
test eax, eax
je 0x4269e1
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x426a20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004363c8
mov esp, ebp
pop ebp
ret