Function at 0x10016650
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100405c2
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x10071020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov ebx, ecx
call fcn.10016200
test eax, eax
jne 0x1001694a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0xfc]
push eax
push 0x100169e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10016580
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10014740
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x6f
call fcn.10014920
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 2
call fcn.10014830
mov byte [ebp - 4], 4
push ebx
lea ecx, [ebp - 0xbc]
call fcn.10014920
add esp, 0x24
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0xa4]
call fcn.10014920
add esp, 4
mov byte [ebp - 4], 6
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10014920
add esp, 4
mov byte [ebp - 4], 7
push 0x10046e9c
lea ecx, [ebp - 0x2c]
call fcn.10001680
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1001682c
mov dword [ebp - 0x10c], 0x10047158
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10c]
call fcn.10002450
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x7e
call fcn.10014920
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 9
call fcn.10014830
add esp, 0x20
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001640
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.10001800
mov byte [ebp - 4], 8
mov dword [ebp - 0x10c], 0x10047158
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x1001681b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x1001682c
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
cmovae eax, dword [ebp - 0xbc]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x70
call fcn.10014920
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 8
call fcn.10014830
add esp, 0x30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 8
cmovae ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push 0x30
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.10001800
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.10001800
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.10001800
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.10001800
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
call fcn.10001800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.10001800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10001800
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10001800
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100029f5
mov esp, ebp
pop ebp
ret