joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449ec0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x526b8c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x44a000
cmp dword [esp + 0x28], ebp
je 0x44a000
push ebx
push 0x2800
call fcn.004dfd0e
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x449f23
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004def73
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x449f30
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.004480b0
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x449fd6
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.004df000
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x449fc9
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x449fc9
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.00449c50
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x449fe0
inc edi
cmp edi, 0x10
jl 0x449f30
push ebx
call fcn.004df07a
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004def73
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.004def73
add esp, 0x1c
ret
Function at 0x44a0b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x44a0ea
cmp dword [esp + 0x34], esi
je 0x44a0ea
push 0x200
call fcn.004dfd0e
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x44a0f5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a254
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x44a1ea
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x44a14d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a1c3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a1b8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.0044a020
cmp edx, edi
jb 0x44a1b8
ja 0x44a1b2
cmp eax, dword [esp + 0x24]
jbe 0x44a1b8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x44a140
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x44a200
cmp dword [esp + 0x24], 0
jbe 0x44a254
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.004480b0
add esp, 0xc
test eax, eax
jne 0x44a239
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.004df07a
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.00449c50
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.004df07a
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x44cd00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff150
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x526b8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x52ddc8]
xor edi, edi
cmp ecx, edi
jne 0x44cd4b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x44cd58
mov dword [ebp - 0x14], edi
jmp 0x44cd70
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x44ce16
mov ecx, dword [0x52ddc8]
mov eax, dword [ecx]
cmp eax, edi
je 0x44cd37
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44cd37
mov dword [ebp - 4], edi
mov ebx, 0x52ddc8
call fcn.0044ce30
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x44cdae
mov dword [ebp - 0x18], 1
push 0x51d560
lea eax, [ebp - 0x18]
push eax
call fcn.004df976
mov ecx, dword [0x52ddc8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x44cdc8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x44cddd
mov dword [ebp - 0x1c], 4
push 0x51d560
lea edx, [ebp - 0x1c]
push edx
call fcn.004df976
mov dword [ebp - 4], 0xffffffff
jmp 0x44ce02
mov eax, dword [0x52ddc8]
mov eax, dword [eax]
test eax, eax
je 0x44ce14
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ce30
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x44ce5d
xor ecx, ecx
jmp 0x44ce69
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x44cf1d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x44ce90
mov dword [esp + 0xc], esi
jmp 0x44cef0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x44cee9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44cedc
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x44cef0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44cef0
push 0x516a68
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x44cef0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x44cf13
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x44ce82
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x44cf31
mov ecx, dword [ebx]
add ecx, 8
call fcn.0044d0a0
test eax, eax
je 0x44cf31
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x44cf40
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4ff2fb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x526b8c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.004df000
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x44cfd8
push 0x51d560
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004df976
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x44ed00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44eda0
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x513d54
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004df384
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44ed9b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
cmp ecx, 0x5c
je 0x44ed9b
mov edx, 0x5c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x10]
jmp 0x44eda2
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x450cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.0041a910
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.004910e0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00450fc0
lea ecx, [ebp - 0x438]
call fcn.004910e0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00499f70
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x450d4e
call fcn.004507a0
mov dword [ebp - 0x444], eax
jmp 0x450ea3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x450d7f
call fcn.004507a0
mov dword [ebp - 0x444], eax
jmp 0x450ea3
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x450daf
call fcn.004507a0
mov dword [ebp - 0x444], eax
jmp 0x450ea3
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x450dff
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.00453860
lea ecx, [ebp - 0x2c]
call fcn.00453540
mov eax, dword [ebp - 0x44c]
jmp 0x450ed8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00453880
lea ecx, [ebp - 0x438]
call fcn.00484c60
test eax, eax
jne 0x450e2c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x450ea3
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00484c60
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.0041a910
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x450e6e
call fcn.004507a0
mov dword [ebp - 0x444], eax
jmp 0x450ea3
lea ecx, [ebp - 0x438]
call fcn.00484c60
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00484c60
push eax
lea ecx, [ebp - 0x18]
call fcn.00451000
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x450eb3
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.00453860
lea ecx, [ebp - 0x2c]
call fcn.00453540
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret 0x10
Function at 0x452c80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x452c89
xor ecx, ecx
jne 0x452c89
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x452caa
mov eax, 0xd
jmp 0x452d05
xor eax, eax
jne 0x452c91
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x452cbb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x454150
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x28]
call fcn.00444640
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
jmp 0x45419a
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0x1f4
jge 0x454270
push 0
push 0x505d24
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x454263
lea ecx, [ebp - 0x40]
call fcn.00444640
lea ecx, [ebp - 0x40]
call fcn.00444640
push eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [ebp - 0x28]
call fcn.00446910
cmp eax, dword [ebp - 0x18]
je 0x454222
lea ecx, [ebp - 0x28]
call fcn.00446910
mov esi, dword [ebp - 0x18]
sub esi, eax
lea ecx, [ebp - 0x40]
call fcn.00446910
cmp esi, eax
jne 0x454220
lea ecx, [ebp - 0x40]
call fcn.00446910
test eax, eax
jle 0x454220
jmp 0x454270
jmp 0x454263
lea ecx, [ebp - 0x28]
call fcn.00446920
cmp eax, dword [ebp - 4]
je 0x454233
jmp 0x454270
cmp dword [ebp - 0x24], 0
je 0x45423d
jmp 0x454270
mov ecx, dword [ebp - 0x18]
sub ecx, 2
cmp dword [ebp - 0x3c], ecx
jne 0x45424c
jmp 0x454270
lea ecx, [ebp - 0x40]
call fcn.00446920
cmp eax, dword [ebp - 4]
jne 0x454263
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x1c]
jne 0x454263
jmp 0x454270
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454191
lea ecx, [ebp - 0x14]
call fcn.00444640
lea ecx, [ebp - 0x14]
call fcn.00444640
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.00454580
push 0x10
lea ecx, [ebp - 0x14]
call fcn.00446910
push eax
lea ecx, [ebp - 0x14]
call fcn.00446920
push eax
lea ecx, [ebp - 0x14]
call fcn.00446910
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00446920
mov edx, dword [ebp - 0x20]
sub edx, eax
push edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.00454540
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45d240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00484c60
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45d312
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0045d900
movzx eax, al
test eax, eax
je 0x45d293
cmp dword [ebp + 0xc], 0x102
je 0x45d28f
cmp dword [ebp + 0xc], 0x100
je 0x45d28f
cmp dword [ebp + 0xc], 0x101
jne 0x45d293
mov byte [ebp - 1], 1
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x45d312
cmp dword [ebp + 0xc], 0x102
je 0x45d2c8
cmp dword [ebp + 0xc], 0x100
je 0x45d2c8
cmp dword [ebp + 0xc], 0x101
je 0x45d2c8
cmp dword [ebp + 0xc], 0x200
jb 0x45d312
cmp dword [ebp + 0xc], 0x20d
ja 0x45d312
cmp dword [ebp + 0xc], 0x100
jne 0x45d2fb
cmp dword [ebp + 0x10], 0x41
jne 0x45d2fb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x45d2fb
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0045da90
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0045e330
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14

Function at 0x462c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x360]
test ecx, ecx
jne 0x462cda
call fcn.004af200
mov ecx, eax
call fcn.004af4e0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x462cd3
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x30]
je 0x462cd3
mov ecx, dword [ebp - 8]
push ecx
call fcn.00492000
add esp, 4
xor eax, eax
jmp 0x462d93
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1f4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462d04
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1f4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.00492000
add esp, 4
mov dword [ebp - 4], 3
push 9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 0xc]
mov dword [0x529280], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x469720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x46973d
xor eax, eax
jmp 0x4697a8
mov dword [ebp - 0x814], 0x400
push 0x808
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.004df000
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x810]
push edx
call fcn.00469c40
add esp, 8
lea eax, [ebp - 0x810]
push eax
call fcn.00469c60
add esp, 4
push str.THEMES_
lea ecx, [ebp - 0x810]
push ecx
call fcn.004519b0
add esp, 8
test eax, eax
je 0x46979e
mov eax, 1
jmp 0x4697a8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret

Function at 0x46ba50
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x28]
call fcn.00444640
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
jmp 0x46ba9a
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0x1f4
jge 0x46bb70
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x46bb63
lea ecx, [ebp - 0x40]
call fcn.00444640
lea ecx, [ebp - 0x40]
call fcn.00444640
push eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [ebp - 0x28]
call fcn.00446910
cmp eax, dword [ebp - 0x18]
je 0x46bb22
lea ecx, [ebp - 0x28]
call fcn.00446910
mov esi, dword [ebp - 0x18]
sub esi, eax
lea ecx, [ebp - 0x40]
call fcn.00446910
cmp esi, eax
jne 0x46bb20
lea ecx, [ebp - 0x40]
call fcn.00446910
test eax, eax
jle 0x46bb20
jmp 0x46bb70
jmp 0x46bb63
lea ecx, [ebp - 0x28]
call fcn.00446920
cmp eax, dword [ebp - 4]
je 0x46bb33
jmp 0x46bb70
cmp dword [ebp - 0x24], 0
je 0x46bb3d
jmp 0x46bb70
mov ecx, dword [ebp - 0x18]
sub ecx, 2
cmp dword [ebp - 0x3c], ecx
jne 0x46bb4c
jmp 0x46bb70
lea ecx, [ebp - 0x40]
call fcn.00446920
cmp eax, dword [ebp - 4]
jne 0x46bb63
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x1c]
jne 0x46bb63
jmp 0x46bb70
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46ba91
lea ecx, [ebp - 0x14]
call fcn.00444640
lea ecx, [ebp - 0x14]
call fcn.00444640
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.00454580
push 0x10
lea ecx, [ebp - 0x14]
call fcn.00446910
push eax
lea ecx, [ebp - 0x14]
call fcn.00446920
push eax
lea ecx, [ebp - 0x14]
call fcn.00446910
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00446920
mov edx, dword [ebp - 0x20]
sub edx, eax
push edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.00454540
pop esi
mov esp, ebp
pop ebp
ret