Function at 0x100159c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f892
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x10070020]
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.10015590
test eax, eax
jne 0x10015cba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0xfc]
push eax
push 0x10015d50
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.100158f0
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.10013b20
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.10013d00
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 2
call fcn.10013c10
mov byte [ebp - 4], 4
push ebx
lea ecx, [ebp - 0xbc]
call fcn.10013d00
add esp, 0x24
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0xa4]
call fcn.10013d00
add esp, 4
mov byte [ebp - 4], 6
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10013d00
add esp, 4
mov byte [ebp - 4], 7
push 0x1004615c
lea ecx, [ebp - 0x2c]
call fcn.10001680
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10015b9c
mov dword [ebp - 0x10c], 0x10046418
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.10013d00
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 9
call fcn.10013c10
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], 0x10046418
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x10015b8b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x10015b9c
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.10013d00
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 8
call fcn.10013c10
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