Function at 0x1000d115
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ec65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000d19b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x1000d179
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], 1
jge 0x1000d196
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.100129c3
or dword [eax], 0xffffffff
jmp 0x1000d16e
jmp 0x1000d75a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
push 3
lea ecx, [ebp - 0x118]
call fcn.10012956
and dword [ebp - 4], 0
mov dword [ebp - 0x100], 0x3f7e813a
mov dword [ebp - 0xf8], 0xfffffff6
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x38], 0xdac3
mov dword [ebp - 0x1c], 0
jmp 0x1000d202
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1000d218
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x128], 0xffffffff
jmp 0x1000d1fb
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100090c8
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0xb0], 4
jne 0x1000d24f
mov dword [ebp - 0x70], 1
jmp 0x1000d253
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x128], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.100129be
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0x53d8da8e
push 2
lea ecx, [ebp - 0xa4]
call fcn.10012956
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0x598aaf0a
mov dword [ebp - 0x4c], 0x7e7c14ab
mov dword [ebp - 0x48], 0xdab551fa
mov dword [ebp - 0x7c], 0xfffffff8
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x8c], 0xdd2e91c8
mov dword [ebp - 0x84], 0x38ca8c98
mov dword [ebp - 0xac], 0xc914a3a6
mov dword [ebp - 0x108], 0x550e3526
lea eax, [ebp - 0xf4]
push eax
push 0
push 0x4c80
push 0x6839
lea eax, [ebp - 0xa4]
push eax
call fcn.10009b38
add esp, 0x14
push 0
lea ecx, [ebp - 0xa4]
call fcn.100129c3
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xbc], eax
push 0
lea ecx, [ebp - 0xa4]
call fcn.100129c3
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], 0xfffffff9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, dword [ebp - 0x48]
jl 0x1000d362
mov dword [ebp - 0x74], 1
jmp 0x1000d366
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x2c], 1
jb 0x1000d37b
mov dword [ebp - 0x54], 1
jmp 0x1000d37f
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x1f90ef30
je 0x1000d394
mov dword [ebp - 0x94], 1
jmp 0x1000d39b
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x94], eax
je 0x1000d3af
mov dword [ebp - 0x5c], 1
jmp 0x1000d3b3
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x5c], eax
jl 0x1000d3d9
cmp dword [ebp - 0x7c], 0
jne 0x1000d3d9
push 1
lea ecx, [ebp - 0xa4]
call fcn.100129c3
cmp dword [eax], 0
jne 0x1000d3d9
and dword [ebp - 0x64], 0
jmp 0x1000d3e0
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x20], eax
je 0x1000d403
mov dword [ebp - 0x6c], 1
jmp 0x1000d407
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x1000d42c
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x13]
push eax
push 0
call fcn.1000a87d
pop ecx
pop ecx
jmp 0x1000d462
mov dword [ebp - 0xcc], 0xfff8
mov dword [ebp - 0xc4], 0xfa8fad74
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x7e07
push 0x6ab4
lea eax, [ebp - 0xc4]
push eax
call fcn.1000b23a
add esp, 0x14
mov esi, dword [ebp - 0xac]
push 0
lea ecx, [ebp - 0xa4]
call fcn.100129c3
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.100129be
cmp dword [ebp - 0x34], 0
jle 0x1000d75a
push 1
lea ecx, [ebp - 0xe8]
call fcn.10012956
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.1000d099
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
push 0
push 0x7261
push 0x753f
call fcn.100122a2
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.100129be
push 4
push 0x1000
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xb8]
add ecx, dword [eax + 0xc]
push ecx
push 0x429c
push 0x559e
call fcn.1003be2c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x28], 0xfd77ccca
mov dword [ebp - 0x10c], 0xfffffff9
mov dword [ebp - 0x10], 0
jmp 0x1000d547
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1000d55a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x18], 0x1d925b0e
jmp 0x1000d540
mov dword [ebp - 0x10], 0
jmp 0x1000d56a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1000d580
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xdc], 0xffffffff
jmp 0x1000d563
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x18], 0
jne 0x1000d6b5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x40], eax
jge 0x1000d5a9
mov dword [ebp - 0x44], 1
jmp 0x1000d5ad
and dword [ebp - 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x44], eax
jg 0x1000d5c5
mov dword [ebp - 0x50], 1
jmp 0x1000d5c9
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xcd2466e9
jbe 0x1000d5db
mov dword [ebp - 0x58], 1
jmp 0x1000d5df
and dword [ebp - 0x58], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x58], eax
jne 0x1000d5f7
mov dword [ebp - 0x60], 1
jmp 0x1000d5fb
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x1000d619
mov eax, 0x623b
test eax, eax
jne 0x1000d619
and dword [ebp - 0xc0], 0
jmp 0x1000d623
mov dword [ebp - 0xc0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
mov dword [ebp - 0x104], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
mov dword [ebp - 0xf0], eax
mov eax, 0x4c55
inc eax
cmp eax, 0x5f40
jg 0x1000d659
mov dword [ebp - 0x78], 1
jmp 0x1000d65d
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x28]
jne 0x1000d675
cmp dword [ebp - 0x28], 0
jne 0x1000d675
and dword [ebp - 0x80], 0
jmp 0x1000d67c
mov dword [ebp - 0x80], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp eax, dword [ebp - 0x80]
jl 0x1000d697
mov dword [ebp - 0x88], 1
jmp 0x1000d69e
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
jne 0x1000d6b5
and dword [ebp - 0x90], 0
jmp 0x1000d6bf
mov dword [ebp - 0x90], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0xdc], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xdc], 0
je 0x1000d71d
mov dword [ebp - 0xc8], 0xe1054d81
mov byte [ebp - 0x12], 0
push 0x6c54
push 0
lea eax, [ebp - 0x12]
push eax
push 0x2aff
call fcn.1000b52b
add esp, 0x10
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0xdc], ecx
jmp 0x1000d733
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000d733
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
call fcn.1000968a
add esp, 0xc
push dword [ebp - 0x34]
push 0
mov eax, dword [ebp - 0x3c]
push dword [eax]
call fcn.1003bef9
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret