Function at 0x10012130
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x10044100]
sub esp, 0x20c
test eax, eax
je 0x10012148
xor eax, eax
add esp, 0x20c
ret
push ebx
call fcn.100150a0
call fcn.10014ff0
push str.Afx:400000:8:10011:6:10007
call fcn.100150c0
push str.Afx:00400000:8:00010011:00000006:00010007
call fcn.100150c0
push str.ToolbarWindow32
call fcn.10015010
push str.ComboBox
call fcn.10015010
add esp, 0x10
lea eax, [esp + 0x214]
push eax
push 0x1000d420
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x214]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push ecx
call ebx
mov edx, eax
mov dword [esp + 8], 0
test edx, edx
mov dword [esp + 4], edx
je 0x100123fb
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongA]
push esi
push edi
jmp 0x100121c8
mov edx, dword [esp + 0x10]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.MDIClient
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x100122ad
mov edx, dword [esp + 0x10]
push 5
push edx
call ebx
test eax, eax
je 0x100122ad
push 5
push eax
call ebx
mov esi, eax
test esi, esi
je 0x100122ad
lea eax, [esp + 0x1c]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ecx, [esp + 0x1c]
push str.ToolbarWindow32
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x100122a2
mov edx, dword [0x100428f0]
push 0x1000e3a0
shl edx, 4
push 0xfffffffffffffffc
push esi
mov dword [edx + 0x100428fc], esi
call ebp
mov ecx, dword [0x100428f0]
mov dword [esp + 0x14], 1
shl ecx, 4
mov dword [ecx + 0x100428f8], eax
mov eax, dword [0x100428f0]
inc eax
mov dword [0x100428f0], eax
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x10012240
lea edx, [esp + 0x1c]
push str.AfxControlBar
push edx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x100123d1
mov eax, dword [esp + 0x10]
push 5
push eax
call ebx
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x100123d1
jmp 0x100122e4
mov esi, dword [esp + 0x18]
mov ecx, dword [0x100428f0]
push 0x1000e3a0
shl ecx, 4
push 0xfffffffffffffffc
push esi
mov dword [ecx + 0x100428fc], esi
call ebp
mov edx, dword [0x100428f0]
push 5
shl edx, 4
push esi
mov dword [edx + 0x100428f8], eax
mov edi, dword [0x100428f0]
inc edi
mov dword [0x100428f0], edi
call ebx
mov edi, eax
test edi, edi
je 0x100123c0
mov eax, dword [0x100428f0]
push 0x1000e3a0
shl eax, 4
push 0xfffffffffffffffc
push edi
mov dword [eax + 0x100428fc], edi
call ebp
mov ecx, dword [0x100428f0]
push 5
shl ecx, 4
push edi
mov dword [ecx + 0x100428f8], eax
mov esi, dword [0x100428f0]
inc esi
mov dword [0x100428f0], esi
call ebx
mov esi, eax
test esi, esi
je 0x100123ad
mov dword [esp + 0x14], 1
mov edx, dword [0x100428f0]
push 0x1000e3a0
shl edx, 4
push 0xfffffffffffffffc
push esi
mov dword [edx + 0x100428fc], esi
call ebp
mov ecx, dword [0x100428f0]
push 2
shl ecx, 4
push esi
mov dword [ecx + 0x100428f8], eax
mov eax, dword [0x100428f0]
inc eax
mov dword [0x100428f0], eax
call ebx
mov esi, eax
test esi, esi
jne 0x1001236f
push 2
push edi
call ebx
mov edi, eax
test edi, edi
jne 0x10012328
mov esi, dword [esp + 0x18]
push 2
push esi
call ebx
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100122e0
mov edx, dword [esp + 0x10]
push 2
push edx
call ebx
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100121c4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
je 0x100123fb
mov dword [0x10044100], 1
mov eax, 1
pop ebx
add esp, 0x20c
ret