joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014ff0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10030ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x1004415c]
push ebp
mov dword [esp + 4], eax
lea ecx, [esp + 0x10]
xor ebp, ebp
push ecx
mov dword [esp + 0x30], ebp
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x1001504c
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10026d9c
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x1f]
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and edx, 0xff
push edx
mov edx, dword [esp + 0x20]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x23]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x26]
push edx
mov edx, dword [esp + 0x29]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x2c]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x2e]
push edx
mov edx, dword [esp + 0x30]
and eax, 0xff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x30]
and edx, 0xffff
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str.SoftwareMicrosoftInternet_ExplorerExtensions_08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push ecx
mov byte [esp + 0x60], 1
call fcn.10025f9e
add esp, 0x34
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push closesocket
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebp
je 0x10015127
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10026d9c
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.1FBA04EE_3024_11D2_8F1F_0000F87ABD16
call edi
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push str.1FBA04EE_3024_11D2_8F1F_0000F87ABD16
push 1
push ebp
push str.CLSID
push esi
call ebx
push 0x10043ae8
call edi
inc eax
push eax
push 0x10043ae8
push 1
push ebp
push str.Default_Visible
push esi
call ebx
mov ebp, dword [esp + 0x40]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.ButtonText
push esi
call ebx
mov ebp, dword [esp + 0x44]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.Icon
push esi
call ebx
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.HotIcon
push esi
call ebx
mov ebp, dword [esp + 0x48]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.Exec
push esi
call ebx
test esi, esi
je 0x100151cb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x10015220
Capabilities:
Access peb ldr_data
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10030ad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x1004415c]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov ecx, dword [str.ButtonText]
mov ax, word [0x10043ad4]
mov edx, dword [0x10043ad0]
mov dword [esp + 0x28], ecx
mov cl, byte [0x10043ad6]
mov word [esp + 0x30], ax
mov byte [esp + 0x32], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x33]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x33c], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
stosb byte es:[edi], al
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
lea edx, [esp + 0xc]
push str.SoftwareMicrosoftInternet_ExplorerExtensions
push edx
mov byte [esp + 0x344], 1
call fcn.10025f9e
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push closesocket
call ebp
test eax, eax
jne 0x1001542e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x12c]
xor edi, edi
push 0x104
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100153f5
lea ecx, [esp + 0x12c]
lea edx, [esp + 0xc]
push ecx
push str.SoftwareMicrosoftInternet_ExplorerExtensions_s
push edx
call fcn.10025f9e
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call ebp
test eax, eax
jne 0x100153d3
lea edx, [esp + 0x1c]
lea eax, [esp + 0x230]
push edx
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100153c8
mov eax, dword [esp + 0x344]
lea esi, [esp + 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100153a0
test cl, cl
je 0x1001539c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100153a0
add eax, 2
add esi, 2
test cl, cl
jne 0x1001537c
xor eax, eax
jmp 0x100153a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100153c8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x12c]
push eax
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1001541a
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x12c]
inc edi
push 0x104
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1001530c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0xffffffff
call fcn.10026d9c
mov eax, dword [esp + 0x18]
jmp 0x10015444
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0xffffffff
call fcn.10026d9c
xor eax, eax
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x334
ret 4
Function at 0x10016590
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10030b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push esi
push edi
mov edi, dword [esp + 0x24]
push 0
push edi
push 0
push 0x14
call ebp
test eax, eax
je 0x10016694
push edi
lea ecx, [esp + 0x28]
call fcn.10026e0a
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 0
push eax
push 0x20006
push 0
push str.Control_PanelDesktop
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10016683
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ecx - 8]
push eax
push edi
push 1
push 0
push str.Wallpaper
push edx
call esi
test eax, eax
je 0x10016625
mov eax, dword [esp + 0x10]
push eax
jmp 0x1001667d
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push 0x1003baec
push edx
call fcn.10025f9e
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ebx, eax
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push str.WallpaperStyle
push eax
call esi
test eax, eax
jne 0x10016678
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
push eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push 0
push str.TileWallpaper
push eax
call esi
test eax, eax
je 0x10016698
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10026d9c
xor eax, eax
jmp 0x100166c1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push edi
push 0
push 0x14
call ebp
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.10026d9c
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x100166e0
Capabilities:
Find taskbar

Disassembly:
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x1001670e
mov eax, dword [esp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 4

Function at 0x10016760
Capabilities:
Find taskbar

Disassembly:
push esi
push 0x12f
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0x12f
push eax
call esi
mov esi, eax
test esi, esi
je 0x100167a4
mov eax, dword [esp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 4

Function at 0x100167b0
Capabilities:
Find taskbar

Disassembly:
push esi
push 0x130
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x100167ea
mov eax, dword [esp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 4
Function at 0x10016c60
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x10
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x10016c88
xor eax, eax
pop edi
add esp, 0x10
ret 0xc
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x10016cd4
xor ebp, ebp
mov ecx, dword [esp + 0x24]
test ecx, ecx
jge 0x10016ce4
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jle 0x10016cee
mov ebx, ecx
cmp edi, eax
jle 0x10016cf4
mov edi, eax
mov edx, dword [esp + 0x24]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x28]
pop esi
sub eax, 0
pop ebp
pop ebx
je 0x10016d7c
dec eax
jne 0x10016d93
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10016d93
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 8], 1
jmp 0x10016d93
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.10016e90
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 8]
pop edi
add esp, 0x10
ret 0xc
Function at 0x10016db0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x10016dcc
xor eax, eax
pop edi
add esp, 8
ret 4
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x10016e18
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x10016e28
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jle 0x10016e32
mov ebx, ecx
cmp edi, eax
jle 0x10016e38
mov edi, eax
mov edx, dword [esp + 0x1c]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x100170d0
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x10017100
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10030ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x1004415c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
xor edi, edi
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edi
call fcn.100270a6
xor esi, esi
mov ebx, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push edi
push str.SoftwareMicrosoftShared_ToolsMSInfo
push closesocket
mov byte [esp + 0x3c], 1
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], edi
call ebp
cmp eax, edi
jne 0x100171b2
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push ebx
push eax
push edi
push str.Path
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, edi
mov dword [esp + 0x18], eax
je 0x100171ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x18], edi
je 0x10017223
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
push ecx
push 0x20019
push edi
push str.SoftwareMicrosoftShared_Tools_Location
push closesocket
call ebp
cmp eax, edi
jne 0x10017223
xor eax, eax
cmp esi, edi
je 0x100171de
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
cmp eax, edi
mov dword [esp + 0x14], esi
jne 0x10017223
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push ebx
push eax
push edi
push str.MSInfo
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.MSInfo32.exe
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, edi
je 0x10017223
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x14], esi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.100270f5
lea ecx, [esp + 0x10]
call fcn.1002713d
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edx, dword [esp + 0x10]
push 1
push edi
push edi
push edx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, edi
je 0x10017262
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x10017290
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x19
xor eax, eax
mov edi, 0x100541c0
xor ebp, ebp
push str.User32
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], ebp
mov dword [0x100541bc], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x100172ce
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsHungAppWindow
push esi
call edi
push str.IsHungThread
push esi
mov dword [ebx + 4], eax
call edi
mov dword [ebx + 8], eax
call fcn.10011620
test eax, eax
jne 0x100172fc
call fcn.10011690
test eax, eax
je 0x10017304
mov dword [esp + 0x10], 1
push 0
push 0x10017490
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x100541bc]
mov dword [esp + 0x14], 0
test eax, eax
jl 0x100173ad
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0x100541c0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001738f
mov eax, dword [ebx + 4]
test eax, eax
jne 0x10017351
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1001738f
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1001735e
push esi
call eax
jmp 0x1001736b
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [ebx + 8]
test eax, eax
je 0x1001738f
push 0x100
call fcn.10019737
add esp, 4
mov dword [edi], eax
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
inc ebp
add edi, 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x100541bc]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jle 0x10017332
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x100173c0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10030bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1004415c]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
xor ebp, ebp
mov ecx, 0x40
xor eax, eax
mov edi, 0x100541c0
push ebp
push 0x10017490
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], ebp
mov dword [0x100541bc], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x100541bc]
cmp eax, ebp
jl 0x10017464
push ebx
mov ebx, dword [esp + 0x24]
mov esi, 0x100541c0
sub esi, ebx
mov dword [esp + 0x24], esi
jmp 0x10017427
mov esi, dword [esp + 0x24]
push 0x14
call fcn.10019737
add esp, 4
mov dword [ebx], eax
mov ecx, dword [esi + ebx]
lea edx, [esp + 0x10]
push ecx
push 0x1003baec
push edx
call fcn.10025f9e
mov esi, dword [esp + 0x1c]
mov edi, dword [ebx]
mov ecx, 5
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x100541bc]
inc ebp
add ebx, 4
cmp ebp, eax
jle 0x10017423
pop ebx
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x100175d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
lea eax, [esp + 0x10]
push edi
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [esp + 0x18]
mov ecx, 0x20
xor eax, eax
mov edi, ebx
push 0x80
push ebx
rep stosd dword es:[edi], eax
push ebp
call dword [sym.imp.USER32.dll_GetClassNameA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [esp + 0x14]
je 0x100176d3
push str.EDIT
push ebx
call fcn.100191b9
add esp, 8
test eax, eax
je 0x10017680
push str.TEDIT
push ebx
call fcn.100191b9
add esp, 8
test eax, eax
je 0x10017680
push str.ThunderTextBox
push ebx
call fcn.100191b9
add esp, 8
test eax, eax
je 0x10017680
push str.ThunderRT6TextBox
push ebx
call fcn.100191b9
add esp, 8
test eax, eax
je 0x10017680
push str.Iris.Password
push ebx
call fcn.100191b9
add esp, 8
test eax, eax
je 0x10017680
push ebx
push 0x80
push 0xd
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100176b1
push ebx
push ebp
push esi
call fcn.1000edd0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edi, 0x10048030
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x1001fb74
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10046f70
cmp edx, dword [eax]
je 0x1001fb96
add eax, 8
inc ecx
cmp eax, 0x10047000
jl 0x1001fb87
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10046f70]
jne 0x1001fcc4
mov eax, dword [0x100565c4]
cmp eax, 1
je 0x1001fc9e
test eax, eax
jne 0x1001fbc7
cmp dword [0x100565c8], 1
je 0x1001fc9e
cmp edx, 0xfc
je 0x1001fcc4
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001fbfe
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1001d600
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1001a710
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001fc41
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001a710
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100342b0
push edi
call fcn.10022330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1001d600
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1001d610
lea eax, [ebp - 0xa0]
push 0x10034290
push eax
call fcn.1001d610
push dword [esi + 0x10046f74]
lea eax, [ebp - 0xa0]
push eax
call fcn.1001d610
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10022cd5
add esp, 0x2c
pop edi
jmp 0x1001fcc4
lea eax, [ebp + 8]
lea esi, [esi + 0x10046f74]
push 0
push eax
push dword [esi]
call fcn.1001a710
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x1002b948
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 0x1002b98a
call fcn.1002e59e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1002b98a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1002b981
xor eax, eax
jmp 0x1002b992
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1002b998
pop edi
pop esi
pop ebx
ret 4