Function at 0x1002d715
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d741
push 0x20dc
push 0x55de
push 0
call fcn.1002ee82
add esp, 0xc
jmp 0x1002da33
lea eax, [ebp + 0x14]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1002d790
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x1002d78b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x1002da33
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x10], 0x642c
mov dword [ebp - 0x14], 0xbfbd3aeb
mov dword [ebp - 0x18], 0xd2f38d9
mov dword [ebp - 0x20], 0x8b92
mov dword [ebp - 0x2c], 0xe094bf7d
mov dword [ebp - 0x24], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x1002d869
mov eax, dword [ebp - 0x10]
dec eax
dec eax
je 0x1002d828
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
cmp eax, 0xfe6d39c7
jbe 0x1002d7f4
mov dword [ebp - 0x40], 1
jmp 0x1002d7f8
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x40], eax
jge 0x1002d80c
cmp dword [ebp - 0x14], 0
jne 0x1002d80c
and dword [ebp - 0x44], 0
jmp 0x1002d813
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
jne 0x1002d834
mov eax, 0x3b8a
test eax, eax
jne 0x1002d834
cmp dword [ebp - 0x14], 0
jne 0x1002d834
and dword [ebp - 0x34], 0
jmp 0x1002d83b
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x34], eax
jl 0x1002d84c
mov dword [ebp - 0x78], 1
jmp 0x1002d850
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x20], 0
je 0x1002d869
push 0x4cc1
push 0
call fcn.1003199b
pop ecx
pop ecx
jmp 0x1002d9e7
mov dword [ebp - 8], 7
mov dword [ebp - 0x48], 0xa5c25cce
mov dword [ebp - 0x1c], 0
jmp 0x1002d887
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002d89a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x64], 0x64f8
jmp 0x1002d880
cmp dword [ebp - 0x18], 0
jne 0x1002d8a6
cmp dword [ebp - 0x14], 0
je 0x1002d8b5
cmp dword [ebp - 8], 0
je 0x1002d8b5
mov dword [ebp - 0x54], 1
jmp 0x1002d8b9
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x54], eax
jne 0x1002d8ca
mov dword [ebp - 0x60], 1
jmp 0x1002d8ce
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x8c], eax
or eax, 0xffffffff
cmp eax, 0x9097d93c
jb 0x1002d8f3
mov dword [ebp - 0x3c], 1
jmp 0x1002d8f7
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 8]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x64]
imul eax, eax, 0xa381
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
jg 0x1002d928
mov dword [ebp - 0x4c], 1
jmp 0x1002d92c
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
neg eax
je 0x1002d942
cmp dword [ebp - 0x2c], 0
je 0x1002d942
mov dword [ebp - 0x30], 1
jmp 0x1002d946
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x30]
jge 0x1002d957
mov dword [ebp - 0x38], 1
jmp 0x1002d95b
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jge 0x1002d96c
mov dword [ebp - 0x28], 1
jmp 0x1002d970
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x48], eax
jle 0x1002d987
mov dword [ebp - 0x50], 1
jmp 0x1002d98b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x50], eax
jge 0x1002d99c
mov dword [ebp - 0x58], 1
jmp 0x1002d9a0
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x58]
jg 0x1002d9c1
mov byte [ebp - 9], 0
push 0
push 0x182a
lea eax, [ebp - 9]
push eax
call fcn.1002f662
add esp, 0xc
jmp 0x1002d9e7
mov byte [ebp - 1], 0
push 0x6fbc
push 0
push 0x49b3
push 0x62f1
lea eax, [ebp - 1]
push eax
push 0x4369
call fcn.1002dae2
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
push 1
push 0xe62
push 0
call fcn.1002f345
add esp, 0x10
lea eax, [ebp - 0xa4]
push eax
call fcn.100282c1
pop ecx
mov esi, eax
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call fcn.10029b0e
shl eax, 1
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx + eax*4]
sub eax, 0x12c
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret