joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a00
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x444d08]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
je 0x406a58
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x14
push edi
call eax
test eax, eax
jne 0x406a58
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.004274a1
pop edi
pop esi
add esp, 0x218
ret 4
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x406b35
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 0x14
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x406aab
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x406b20
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.004274a1
jmp 0x406b20
lea ecx, [esp + 8]
mov dword [esp + 8], edi
push ecx
push 0x20019
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WSOCK32.dll_closesocket
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406b20
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.Fonts
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406b15
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.004274a1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x407070
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x432446
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push esi
lea eax, [esp + 0x114]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x11c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov cl, byte [0x444d08]
xor eax, eax
mov byte [esp + 0x14], cl
mov ecx, 0x40
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4071b7
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x8027
push 0
call eax
test eax, eax
jne 0x4070f9
mov ecx, dword [esp + 0x1bc]
lea eax, [esp + 0x14]
push eax
call fcn.004274a1
jmp 0x407215
cmp dword [esp + 0x128], 1
jne 0x40713f
mov eax, dword [esp + 0x120]
test eax, eax
jbe 0x40713f
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x8027
push 0
call dword [esi + 0x5c]
test eax, eax
jne 0x407215
mov ecx, dword [esp + 0x1bc]
lea edx, [esp + 0x14]
push edx
call fcn.004274a1
jmp 0x407215
push str.My_Pictures
lea ecx, [esp + 0x10]
call fcn.00427386
lea eax, [esp + 0xc]
push 1
add esi, 0x10
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x1c4], 0
call fcn.004050b0
add esp, 0x10
mov esi, dword [esp + 0x1bc]
push eax
mov ecx, esi
mov byte [esp + 0x1b8], 1
call fcn.00427451
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b4], 0
call fcn.00427318
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.00427318
push esi
call fcn.00404fd0
add esp, 4
jmp 0x407215
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x407215
lea edx, [esp + 8]
mov dword [esp + 8], eax
push edx
push 0x27
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x407200
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x407200
mov ecx, dword [esp + 0x1bc]
lea edx, [esp + 0x14]
push edx
call fcn.004274a1
mov eax, dword [esi]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, dword [esi]
push esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1b0
ret 4
Function at 0x4074d0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x444d08]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
je 0x407528
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 9
push edi
call eax
test eax, eax
jne 0x407528
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.004274a1
pop edi
pop esi
add esp, 0x218
ret 4
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4075fd
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 9
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x407573
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.004274a1
jmp 0x4075e8
lea ecx, [esp + 8]
mov dword [esp + 8], edi
push ecx
push 0x20019
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WSOCK32.dll_closesocket
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075e8
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.SendTo
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4075dd
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.004274a1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x407610
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x444d08]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
je 0x407668
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x15
push edi
call eax
test eax, eax
jne 0x407668
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.004274a1
pop edi
pop esi
add esp, 0x218
ret 4
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x40773d
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 0x15
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4076b3
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.004274a1
jmp 0x407728
lea ecx, [esp + 8]
mov dword [esp + 8], edi
push ecx
push 0x20019
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WSOCK32.dll_closesocket
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407728
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.Templates
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40771d
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.004274a1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x407cb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.004274a1
add esp, 0x108
ret 4

Function at 0x4080f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.004274a1
add esp, 0x108
ret 4

Function at 0x408120
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.00427386
call fcn.004043b0
add esp, 8
test eax, eax
jne 0x408165
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x114]
call fcn.004274a1
add esp, 0x10c
ret 4

Function at 0x408380
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push esi
lea eax, [esp + 8]
push 0x104
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [esp + 0x114]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00427386
mov eax, esi
pop esi
add esp, 0x10c
ret 4
Function at 0x408850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor ebx, ebx
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x4089df
cmp al, 4
jbe 0x408908
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x4089df
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VerSetConditionMask
push eax
call ebx
test eax, eax
je 0x4089df
push 6
push 0x40
push ebp
push ebp
call eax
push str.KERNEL32.DLL
mov esi, eax
mov ebp, edx
call edi
test eax, eax
je 0x4089ec
push str.VerifyVersionInfoA
push eax
call ebx
mov edx, eax
test edx, edx
je 0x4089ec
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x20]
push ebp
rep stosd dword es:[edi], eax
push esi
lea eax, [esp + 0x28]
push 0x40
push eax
mov dword [esp + 0x30], 0x9c
mov word [esp + 0xc8], 0x10
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push str.SystemCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4089d0
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push ebx
push eax
push ebx
push str.ProductSuite
push ecx
call esi
test eax, eax
jne 0x4089d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4089d0
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x4089d0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push edi
push eax
push ebx
push str.ProductSuite
push ecx
call esi
test eax, eax
jne 0x4089c7
cmp dword [esp + 0x1c], 7
jne 0x4089c7
mov al, byte [edi]
mov esi, edi
test al, al
je 0x4089c7
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.Terminal_Server
push esi
call ebx
test eax, eax
je 0x4089bb
push esi
call ebp
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4089a1
jmp 0x4089c3
mov dword [esp + 0x10], 1
mov ebp, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4089df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
Function at 0x408ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x432688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
xor esi, esi
mov dword [esp + 0x10], esi
push 0x444d08
lea ecx, [esp + 8]
mov dword [esp + 0x124], 1
call fcn.00427386
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x134]
push edx
push esi
push eax
push ecx
mov byte [esp + 0x138], 2
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x408ba2
mov edx, dword [0x440a90]
push ecx
mov ecx, esp
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], esp
push eax
mov dword [ecx], edx
call fcn.004274a1
lea ecx, [esp + 0xc]
push ecx
call fcn.00403800
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x124], 3
call fcn.00427451
lea ecx, [esp + 8]
mov byte [esp + 0x120], 2
call fcn.00427318
mov esi, dword [esp + 0x128]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.0042708d
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x120], 1
call fcn.00427318
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 0
call fcn.00427318
mov ecx, dword [esp + 0x118]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x120
ret

Function at 0x408c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4326d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
xor esi, esi
mov dword [esp + 0x10], esi
push 0x444d08
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 1
call fcn.00427386
lea eax, [esp + 4]
lea edx, [esp + 0x2c]
push eax
push 0x20019
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x30], 2
mov dword [esp + 0x18], esi
call fcn.0042708d
lea eax, [esp + 0x1c]
push eax
call fcn.00404750
add esp, 8
mov ecx, eax
mov byte [esp + 0x28], 3
call fcn.00403eb0
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00427318
push ecx
lea edx, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0042708d
push esi
call fcn.00404dd0
mov eax, dword [esp + 0x10]
add esp, 8
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00408ae0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call fcn.00427451
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call fcn.00427318
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0042708d
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.00427318
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.00427318
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x408e40
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x432730
push eax
mov dword fs:[0], esp
push esi
push edi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
mov dword [esp + 0x10], 1
inc eax
push eax
push edi
call fcn.00427748
mov ecx, dword [esp + 0x1c]
push eax
push 1
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x408e91
mov edi, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00427318
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x408ed0
Capabilities:
Access peb ldr_data
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x432758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push 0x2001f
push esi
push esi
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
call fcn.0042708d
lea eax, [esp + 0x20]
push eax
call fcn.00404750
add esp, 8
mov ecx, eax
mov byte [esp + 0x28], 1
call fcn.00427748
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.00427318
push esi
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0042708d
lea eax, [esp + 0x28]
push eax
call fcn.00404dd0
add esp, 8
mov ecx, eax
mov byte [esp + 0x1c], 2
call fcn.00427748
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
sete bl
call fcn.00427318
test bl, bl
je 0x408f97
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x421590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00411b60
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42165b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42165b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42160e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x421619
or bh, 8
and edi, 0x8000000
je 0x421634
mov eax, dword [0x4487dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42165b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x421a5b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x421a7f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x421a9a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x423929
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432794
call fcn.00411e78
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0042ce35
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x423968
call fcn.0042ce35
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423976
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x423984
or eax, 0xffffffff
jmp 0x423a6c
mov ecx, esi
call fcn.0042389f
mov dword [ebp - 0x14], eax
call fcn.00424734
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4239bb
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4239bb
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004246e8
push dword [ebp - 0x14]
call fcn.00424236
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00423637
cmp eax, edi
je 0x423a2e
test byte [esi + 0x24], 0x10
je 0x4239fc
push 4
mov ecx, esi
pop ebx
call fcn.004268e9
test ah, 1
je 0x4239f4
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004262f5
cmp dword [esi + 0x1c], edi
je 0x423a2e
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00426a00
jmp 0x423a2e
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x423a42
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x423a5b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x423a5b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004238d9
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4261a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4261e5
call fcn.0042ce35
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4261e5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4261dc
xor eax, eax
jmp 0x4261ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004261f3
pop edi
pop esi
pop ebx
ret 4