Function at 0x10050080
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100711c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100503f3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x100502ec
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xa4], 0x1ca0
cmp dword [ebp - 0xa4], 0xf63
jge 0x100502c4
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x10618cf0
call fcn.1002929f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.10052161
and dword [ebp - 4], 0
and dword [ebp - 0x30], 0
jmp 0x10050117
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jge 0x10050138
push dword [ebp - 0x30]
lea ecx, [ebp - 0x64]
call fcn.100521cd
mov edx, eax
mov ecx, 0x10618cf0
call fcn.10052272
jmp 0x10050110
push 0
lea ecx, [ebp - 0x64]
call fcn.100521cd
mov ecx, eax
call fcn.1001f1f4
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x2c], 0
jmp 0x1005015d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jge 0x1005029f
and dword [ebp - 0x18], 0
and dword [ebp - 0x34], 0
jmp 0x1005017a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x14]
jge 0x1005027e
push dword [ebp - 0x34]
lea ecx, [ebp - 0x64]
call fcn.100521cd
push eax
lea ecx, [ebp - 0xf4]
call fcn.1001ed6a
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.100521cd
mov edx, eax
lea ecx, [ebp - 0xf4]
call fcn.10052277
movzx eax, al
test eax, eax
je 0x1005026a
push dword [0x10007fbc]
push 1
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xf4]
call fcn.10051eca
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0xf4]
call fcn.10020fa5
mov al, byte [eax]
movzx eax, al
push eax
mov edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0x10c]
call fcn.100522c8
pop ecx
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0xf4]
call fcn.1001f548
lea ecx, [ebp - 0x10c]
call fcn.1001ede2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.1001ede2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x64]
call fcn.100521cd
mov ecx, eax
call fcn.1001f1f4
imul eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jbe 0x10050265
or dword [ebp - 0x20], 0xffffffff
jmp 0x1005026a
jmp 0x100501a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.1001ede2
jmp 0x10050173
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jge 0x1005028e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
jmp 0x10050294
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
jmp 0x10050156
push fcn.1002373f
push dword [ebp - 0x20]
mov ecx, 0x10618c38
call fcn.100293df
mov ecx, eax
call fcn.1001efd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.100521c8
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100502e7
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x100503ee
mov dword [ebp - 0x40], 0x8cccddd
push 2
lea ecx, [ebp - 0xcc]
call fcn.1001f1f8
mov dword [ebp - 4], 3
push 3
lea ecx, [ebp - 0xd8]
call fcn.1001f1f8
mov byte [ebp - 4], 4
mov dword [ebp - 0xac], 0x21ebc5f9
push 0xabe
lea eax, [ebp - 0xcc]
push eax
push 0x7597
push 0xba3
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x748e
push 1
call fcn.10037a2c
add esp, 0x20
mov dword [ebp - 0x1c], 0
jmp 0x1005035d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10050379
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.1001f296
mov dword [eax], 1
jmp 0x10050356
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xcc]
push eax
push 1
push 0x367f
push 0x5ced
push 0x30ac
push 5
push 0
call fcn.1003a11e
add esp, 0x20
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x7f5d
push 0x2f90
push 1
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.1003e717
add esp, 0x20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.1001f27a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1001f27a
jmp 0x100505f2
lea eax, [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x10050505
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xbc], 0x25ab
cmp dword [ebp - 0xbc], 0xf1b
jge 0x100504bb
and dword [ebp - 0x28], 0
jmp 0x1005046c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 8
jge 0x1005048d
push dword [ebp - 0x28]
mov ecx, 0x10619eb4
call fcn.100521cd
mov edx, eax
mov ecx, 0x10618cf0
call fcn.100522ee
jmp 0x10050465
push 0
push 0
push 7
call fcn.1004ff95
add esp, 0xc
movzx eax, al
test eax, eax
je 0x100504ab
mov dword [ebp - 0x54], 0x100092d0
jmp 0x100504b2
mov dword [ebp - 0x54], 0x100092d4
push dword [ebp - 0x54]
call fcn.10058bd6
pop ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x100504e3
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 3
jge 0x10050500
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.1001f296
mov dword [eax], 0xccce42bf
jmp 0x100504d8
jmp 0x100505f2
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1005055e
mov dword [ebp - 0x38], 1
jmp 0x10050562
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x48]
cmp ecx, dword [eax]
jg 0x1005057a
mov dword [ebp - 0x3c], 1
jmp 0x1005057e
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jg 0x10050591
mov dword [ebp - 0x44], 1
jmp 0x10050595
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x44]
add edx, 3
imul ecx, edx
imul eax, ecx
test eax, eax
je 0x100505c0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x100505c0
mov dword [ebp - 0x50], 1
jmp 0x100505c4
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx]
cmp eax, dword [ebp - 0x50]
jle 0x100505dc
mov dword [ebp - 0x58], 1
jmp 0x100505e0
and dword [ebp - 0x58], 0
push 2
mov ecx, dword [ebp - 0xa0]
call fcn.1001f296
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret