joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464b74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x464c16
cmp dword [ebx + 0x90], 0
jne 0x464c10
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464ac0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x464c10
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x464bd6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464c10
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0041965c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464be5
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464e34
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x474168]
cmp dword [eax + 0x170], 0
je 0x464f99
test bl, bl
jne 0x464ee7
cmp dword [esi + 0x98], 0
jne 0x464edc
mov eax, esi
call fcn.004679a0
push eax
push 0x464d40
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x464ead
mov eax, dword [0x474168]
cmp byte [eax + 0xcf], 0
je 0x464ead
mov eax, dword [esi + 0xd4]
call fcn.0040677c
mov edi, eax
cmp edi, 0
jl 0x464ead
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464e96
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x464edc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041965c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464ebc
inc dword [esi + 0x98]
jmp 0x464f99
cmp dword [esi + 0x98], 0
jle 0x464f99
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x464f99
cmp dword [esi + 0x40], 0
je 0x464f44
mov eax, dword [0x474168]
cmp byte [eax + 0xcf], 0
je 0x464f44
mov eax, dword [esi + 0xd4]
call fcn.0040677c
mov edi, eax
cmp edi, 0
jl 0x464f44
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464f2d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x464f73
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041965c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464f53
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x45a648]
call fcn.0040693c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x465b54
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x465bbf
cmp byte [ebx + 0xcf], 0
jne 0x465bbf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405720
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x465bac
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x465bcc
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004055e4
jmp 0x465bcc
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.004055e4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x467160
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4671ce
mov eax, esi
call fcn.0044db0c
test al, al
je 0x4671ce
mov eax, dword [ebx + 0x80]
call fcn.0044d760
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4671ce
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4671c2
push 0
mov eax, dword [ebx + 0x80]
call fcn.0044d760
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00444dc8
jmp 0x4671ce
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00466fac
pop esi
pop ebx
ret
Function at 0x4e2bca
Capabilities:
Terminate process

Disassembly:
jmp fcn.00632700
jmp 0x61dcf0
cmp ecx, dword [0x7933bc]
jne 0x61dcfa
repz ret
jmp 0x4ddb66
Function at 0x4f3d60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6994ab
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x3fc]
mov ecx, 0xfc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x7933bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0
mov esi, esp
push str.AS_FW_UPDATE_EXECUTE_ONCE
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp esi, esp
call fcn.004e489e
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f3df7
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004e489e
cmp eax, 0xb7
jne 0x4f3df7
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, esp
call fcn.004e489e
xor eax, eax
jmp 0x4f3e5c
push 0
call fcn.004ddfd0
add esp, 4
mov ecx, dword [ebp - 0x14]
call fcn.004dc865
push 0
lea ecx, [ebp - 0x320]
call fcn.004e58a2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x320]
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0x320]
call fcn.004deade
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.004e36b0
mov eax, dword [ebp - 0x3f8]
push edx
mov ecx, ebp
push eax
lea edx, [0x4f3e8c]
call fcn.004e08f7
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3fc
cmp ebp, esp
call fcn.004e489e
mov esp, ebp
pop ebp
ret
Function at 0x4fd360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x58], 0
je 0x4fd3b3
call fcn.004e3d13
mov dword [ebp - 0x10], eax
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4fd3c6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x4fd452
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 2]
cmp edx, 0xffff
jne 0x4fd40b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0x12]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x18], dx
jmp 0x4fd421
mov eax, dword [ebp - 8]
mov cx, word [eax + 0xa]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0xc]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x20]
and ecx, 0x1801
jne 0x4fd445
movsx edx, word [ebp - 0x1c]
test edx, edx
jne 0x4fd445
movsx eax, word [ebp - 0x18]
test eax, eax
jne 0x4fd445
mov dword [ebp - 0x28], 1
jmp 0x4fd44c
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x58], 0
jne 0x4fd464
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x4fd46d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004df0d8
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x58], 0
je 0x4fd480
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x538df0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x538e9c
cmp dword [ebp + 8], 0
je 0x538e9c
lea edx, [ebp - 4]
push edx
push 0x6ce29c
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e0dc0
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x53d5f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x7933bc]
xor eax, ebp
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0x800
jne 0x53d628
push 0x6d13e0
push 4
lea eax, [ebp - 0x5c]
push eax
call fcn.004e1158
add esp, 0xc
jmp 0x53d66a
push 4
lea ecx, [ebp - 0x5c]
push ecx
push 3
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
jne 0x53d650
xor eax, eax
jmp 0x53d79b
cmp dword [ebp - 0x294], 4
je 0x53d66a
push 0x3e
push 0x6d13e8
call fcn.004e0811
test eax, eax
je 0x53d66a
int3
call fcn.004e54ab
mov ecx, dword [eax]
mov dword [ebp - 0x298], ecx
call fcn.004e54ab
mov dword [eax], 0
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x111
push 0x112
lea edx, [ebp - 0x290]
push edx
call fcn.004dd490
add esp, 0x18
mov dword [ebp - 8], eax
call fcn.004e54ab
cmp dword [eax], 0
je 0x53d6c6
call fcn.004e54ab
mov eax, dword [eax]
push eax
call fcn.004e2616
add esp, 4
jmp 0x53d6d3
call fcn.004e54ab
mov ecx, dword [ebp - 0x298]
mov dword [eax], ecx
xor edx, edx
jne 0x53d66a
cmp dword [ebp - 8], 0xffffffff
je 0x53d6e6
cmp dword [ebp - 8], 0x112
jb 0x53d702
xor eax, eax
jne 0x53d6fb
push 0x45
push 0x6d1420
call fcn.004e0811
test eax, eax
je 0x53d6fb
int3
xor eax, eax
jmp 0x53d79b
lea edx, [ebp - 0x290]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], 0x40
push 0x3c
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.004dd8b9
add esp, 0xc
push 0x6d1458
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x64], 0
je 0x53d756
push str.FindActCtxSectionStringW
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x53d784
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
push eax
push 2
push 0
push 0
call dword [ebp - 0x60]
test eax, eax
je 0x53d784
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0xc], eax
jmp 0x53d798
push 0
push 0
lea edx, [ebp - 0x290]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.004e2bca
mov esp, ebp
pop ebp
ret
Function at 0x542cf0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69b2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x7933bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 1
mov ecx, dword [ebp - 0x250]
call fcn.004dea3e
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x542d97
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.004e2b57
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x542d95
push 0
push 0
push 0xfffffffffffffffc
push 0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x14]
call eax
jmp 0x542d50
mov ecx, dword [ebp - 0x250]
cmp dword [ecx + 0x54], 0
je 0x542f55
mov edx, dword [ebp - 0x250]
xor eax, eax
cmp dword [edx + 0x68], 0
setne al
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x542dd9
push 0x8f
push 0x6d49f4
call fcn.004e0811
test eax, eax
je 0x542dd9
int3
cmp dword [ebp - 0x248], 0
jne 0x542de7
call fcn.004de7c8
xor edx, edx
jne 0x542da7
push str.Software_
lea ecx, [ebp - 0x23c]
call fcn.004e371e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x54]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004e0cc6
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 0x68]
push eax
push 0x6d4a40
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.004e0839
add esp, 0xc
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x258]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.004e0839
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.004dfd17
lea eax, [ebp - 0x240]
push eax
push SysReAllocStringLen
mov ecx, dword [ebp - 0x250]
call fcn.004e600e
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004db56e
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x542f01
push 0x104
lea edx, [ebp - 0x224]
push edx
push 0
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x542ef4
lea ecx, [ebp - 0x23c]
push ecx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x250]
call fcn.004e600e
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004db56e
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x542f34
mov dword [ebp - 0x22c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.004dfd17
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.004dfd17
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e2bca
mov esp, ebp
pop ebp
ret
Function at 0x544e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x544f86
call fcn.004e3d13
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x544f19
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x544ef0
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x7978bc
call fcn.004e2823
push eax
push 0x16f
push 0x6d6534
lea ecx, [ebp - 0x20]
call fcn.004e515e
push eax
call fcn.004e64a5
add esp, 0x10
xor eax, eax
jmp 0x544ff4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x544f17
push 0x175
push 0x6d65a4
call fcn.004e0811
test eax, eax
je 0x544f17
int3
jmp 0x544f86
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x544f3c
push 0x17d
push 0x6d65dc
call fcn.004e0811
test eax, eax
je 0x544f3c
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x544f86
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x544f7b
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x7978bc
call fcn.004e2823
push eax
push 0x183
push 0x6d6614
lea ecx, [ebp - 0x28]
call fcn.004e515e
push eax
call fcn.004e64a5
add esp, 0x10
jmp 0x544f86
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x544f3c
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x544faf
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x544fce
cmp dword [ebp - 0xc], 0
je 0x544fce
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004df0d8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x544ff1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x54fe40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x7933bc]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004e2481
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x54fe85
push 0x66
push 0x6dd428
call fcn.004e0811
test eax, eax
je 0x54fe85
int3
mov dword [ebp - 0x8c], 0x40
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x54fefa
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx - 4]
mov dword [ebp - 0x94], eax
push 0x40
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x40
lea edx, [ebp - 0x88]
push edx
call fcn.004dc14e
add esp, 0x10
cmp eax, 1
je 0x54fef8
push 0xffffffffffffffff
push 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.004e0e06
mov ecx, dword [ebp + 8]
call fcn.004db33e
jmp 0x54ff6d
call fcn.004e54ab
mov ecx, dword [eax]
mov dword [ebp - 0x98], ecx
call fcn.004e54ab
mov dword [eax], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x3f
push 0x40
lea ecx, [ebp - 0x88]
push ecx
call fcn.004e4cc7
add esp, 0x14
call fcn.004e54ab
cmp dword [eax], 0
je 0x54ff49
call fcn.004e54ab
mov edx, dword [eax]
push edx
call fcn.004e2616
add esp, 4
jmp 0x54ff56
call fcn.004e54ab
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
xor edx, edx
jne 0x54fefa
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e34e4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e2bca
mov esp, ebp
pop ebp
ret

Function at 0x550780
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004db2a8
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004dcadb
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x550809
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x5507e0
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004e213e
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x5507fd
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.004e58d4
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.004debe2
jmp 0x55083a
mov ecx, dword [ebp + 0x10]
call fcn.004db56e
push eax
push 0xffffffffffffffff
push 0x14d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x55083a
mov ecx, dword [ebp + 0x10]
call fcn.004db56e
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004e34e4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x574fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x574fef
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x57504a
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x575013
call fcn.004e2080
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x575032
call fcn.004e2080
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x57504a
call fcn.004e2080
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 2]
cmp ecx, 0xffff
jne 0x575106
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 0x80000000
je 0x5750d5
call fcn.004e514f
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.004e1b30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x57509d
push 0x12c
push 0x6fa410
call fcn.004e0811
test eax, eax
je 0x57509d
int3
cmp dword [ebp - 0x18], 0
je 0x5750d3
push 0x6fa448
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5750d3
xor eax, eax
jne 0x5750d3
push 0x131
push 0x6fa458
call fcn.004e0811
test eax, eax
je 0x5750d3
int3
jmp 0x575106
mov edx, dword [ebp - 0x14]
and edx, 0xffff
movzx eax, dx
and eax, 0xff
movzx ecx, al
cmp ecx, 3
jne 0x575106
xor edx, edx
jne 0x575106
push 0x137
push 0x6fa490
call fcn.004e0811
test eax, eax
je 0x575106
int3
call fcn.004e514f
cmp dword [eax + 0x3c], 0
je 0x575120
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004dfc4f
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004de507
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x5c], 0
je 0x575150
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x5c], 0
cmp dword [ebp - 4], 0
je 0x575165
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
or edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret 8