Function at 0x10016570
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x100165e8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 3
jmp 0x100165af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jl 0x100165e3
mov dword [ebp - 0x78], 0x7ab89bdd
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100165d6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x100165a4
jmp 0x10016795
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0xde4b
mov ecx, dword [ebp - 0x4c]
cmp eax, dword [ecx]
jge 0x1001667c
mov dword [ebp - 0x38], 1
jmp 0x10016680
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jne 0x10016693
mov dword [ebp - 0x30], 1
jmp 0x10016697
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
dec eax
jne 0x100166ab
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100166ab
and dword [ebp - 0x40], 0
jmp 0x100166b2
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0x765e4b
je 0x100166c4
mov dword [ebp - 0x18], 1
jmp 0x100166c8
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x100166e3
mov dword [ebp - 0x50], 1
jmp 0x100166e7
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xe311
je 0x10016711
mov dword [ebp - 0x28], 1
jmp 0x10016715
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x58]
cmp ecx, dword [eax]
jge 0x1001672d
mov dword [ebp - 0x2c], 1
jmp 0x10016731
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jne 0x10016744
mov dword [ebp - 0x34], 1
jmp 0x10016748
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
cmp eax, 0x3ede
jne 0x10016761
mov dword [ebp - 0x3c], 1
jmp 0x10016765
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x3c]
cmp dword [eax], ecx
jle 0x10016789
mov dword [ebp - 0x44], 1
jmp 0x1001678d
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret