Function at 0x1003caaf
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ca22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x13c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003cb13
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
push 0
push dword [ebp - 0xa0]
push dword [ebp - 0xbc]
push 0x403c
push 0x6070
call fcn.100469b7
add esp, 0x14
jmp 0x1003d1c1
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0x7e73
mov dword [ebp - 0xd0], 0x1000c028
cmp dword [ebp - 0x90], 0x824c
jle 0x1003cc15
and dword [ebp - 0x38], 0
jmp 0x1003cb71
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1c1f
jge 0x1003cbfe
and dword [ebp - 0x2c], 0
jmp 0x1003cb8b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x721f
jge 0x1003cbf9
and dword [ebp - 0x20], 0
jmp 0x1003cba1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3049
jge 0x1003cbf7
and dword [ebp - 0x34], 0
jmp 0x1003cbb7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xc3f
jge 0x1003cbf5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
shl eax, cl
mov ecx, dword [ebp - 0x20]
sar eax, cl
xor eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
mov ecx, 0x10623738
call fcn.10027de2
jmp 0x1003cbb0
jmp 0x1003cb9a
jmp 0x1003cb84
jmp 0x1003cb6a
push 0
push 0x18cd
push 0x25f2
push 0xc43
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x90], 0x7bfb
jge 0x1003cc3e
mov edx, dword [ebp - 0xd0]
mov ecx, 0x10623738
call fcn.1002cb18
jmp 0x1003cc5a
or dword [ebp - 4], 0xffffffff
jmp 0x1003cc64
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1003d190
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jle 0x1003d18e
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x64], 0xfffffff8
mov dword [ebp - 0x14], 0xa41b8700
mov dword [ebp - 0x12c], 0x371
mov dword [ebp - 0x24], 0
jmp 0x1003cce7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1003ccfa
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x50], 0
jmp 0x1003cce0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x144], eax
mov eax, 0x5ebda184
cmp eax, 0xfffffffe
jb 0x1003cd2b
cmp dword [ebp - 0x18], 0
jne 0x1003cd2b
and dword [ebp - 0x54], 0
jmp 0x1003cd32
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x54]
jg 0x1003cd43
mov dword [ebp - 0x5c], 1
jmp 0x1003cd47
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x5c], eax
jg 0x1003cd5b
mov dword [ebp - 0x84], 1
jmp 0x1003cd62
and dword [ebp - 0x84], 0
mov eax, 0x758e
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
imul eax, dword [ebp - 0x18], 0x59ec
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jle 0x1003cd8f
mov dword [ebp - 0x7c], 1
jmp 0x1003cd93
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 1
jbe 0x1003cda2
mov dword [ebp - 0x6c], 1
jmp 0x1003cda6
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
add eax, 0x420874eb
imul eax, dword [ebp - 0x14]
cmp eax, 0xfffc
je 0x1003cdc5
mov dword [ebp - 0x8c], 1
jmp 0x1003cdcc
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x8c], eax
jg 0x1003cde0
mov dword [ebp - 0x74], 1
jmp 0x1003cde4
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x74]
cmp eax, 0xfffffff6
jne 0x1003cdf9
mov dword [ebp - 0x58], 1
jmp 0x1003cdfd
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x14]
je 0x1003ce1a
mov eax, 0x457a23a3
test eax, eax
je 0x1003ce1a
mov dword [ebp - 0xd4], 1
jmp 0x1003ce21
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x130], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x50]
cmp ecx, dword [ebp + eax - 0x50]
jg 0x1003ce48
mov dword [ebp - 0x60], 1
jmp 0x1003ce4c
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x60], eax
jge 0x1003cf57
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x50], 0
je 0x1003cf57
mov dword [ebp - 0xf0], 2
mov dword [ebp - 0xec], 2
mov dword [ebp - 0xe8], 2
mov dword [ebp - 0xe4], 2
lea ecx, [ebp - 0x41]
call fcn.100280ab
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x14c]
call fcn.100280ae
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x13c]
call fcn.1002805a
mov dword [ebp - 4], 2
mov dword [ebp - 0x10c], 0xcd219fa4
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x9c], 0x6529
push 0
lea ecx, [ebp - 0x13c]
call fcn.1002809c
cmp dword [eax], 0
je 0x1003cf2f
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x140], 0xfffffffa
mov dword [ebp - 0x11c], 0xafa0b2b0
push 0
lea eax, [ebp - 0x9c]
push eax
push 0x2418
call fcn.1002e36a
add esp, 0xc
jmp 0x1003cf43
push 0x6556
push 0
push 0x6584
call fcn.100380b4
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.10028080
jmp 0x1003d05d
mov dword [ebp - 0xa8], 0xfffffff6
mov dword [ebp - 0x14], 2
jmp 0x1003cf71
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1003d05d
mov dword [ebp - 0x68], 0xc7f5175d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x50], eax
mov dword [ebp - 0x18], 2
jmp 0x1003cfa0
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1003d058
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x14]
jg 0x1003cfd8
mov dword [ebp - 0x70], 1
jmp 0x1003cfdc
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
cmp eax, dword [ebp - 0x70]
jge 0x1003cff1
mov dword [ebp - 0x78], 1
jmp 0x1003cff5
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0x9d3b
jle 0x1003d007
mov dword [ebp - 0x80], 1
jmp 0x1003d00b
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0x80], eax
jle 0x1003d023
mov dword [ebp - 0x98], 1
jmp 0x1003d02a
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [ebp - 0x108], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x50]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x50], eax
cmp dword [ebp - 0xa8], 0
je 0x1003d053
jmp 0x1003d058
jmp 0x1003cf99
jmp 0x1003cf6a
push 4
push 0x1000
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xb0]
add ecx, dword [eax + 0xc]
push ecx
push 0x1fba
push 0x21b4
call fcn.1002705c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ebp - 0x28], 0x48bbca63
mov dword [ebp - 0x110], 0xaeb9
mov dword [ebp - 0x28], 0
jmp 0x1003d0b0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xe
je 0x1003d16e
mov dword [ebp - 0x30], 0
jmp 0x1003d0ca
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x1003d0e0
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x100], 1
jmp 0x1003d0c3
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x100], 0
jmp 0x1003d10e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x100]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x100], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x100], 0
je 0x1003d134
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1003d132
push 0
call fcn.1003959f
pop ecx
jmp 0x1003d0f3
mov byte [ebp - 0x19], 0
push 0x6bdc
push 0x7ce0
push 0x7f9f
push 0
lea eax, [ebp - 0x19]
push eax
push 0x4b5d
push 0x7d98
push 0x7d2c
push 0x6cc2
call fcn.1002e334
add esp, 0x24
jmp 0x1003d0a9
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
push dword [ebp - 0x3c]
push 0
mov eax, dword [ebp - 0x40]
push dword [eax]
call fcn.10027ade
add esp, 0xc
jmp 0x1003d1c1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x1003d1c1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret