Function at 0x430844
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, ecx
mov ebp, edx
mov esi, eax
cmp byte [esi + 0x1a8], 0
je 0x430879
cmp byte [esi + 0x1a7], 0
je 0x430879
cmp dword [esi + 0x17c], 0
je 0x430879
mov eax, dword [esi + 0x17c]
mov edx, ebp
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x198]
test eax, eax
je 0x430966
xor edi, edi
test ebx, ebx
je 0x43089c
mov edx, ebx
call fcn.0041365c
mov edi, eax
test edi, edi
jge 0x43089c
xor edi, edi
mov eax, dword [esi + 0x198]
mov eax, dword [eax + 8]
mov dword [esp], eax
cmp edi, dword [esp]
jge 0x430966
mov eax, dword [esi + 0x198]
mov edx, edi
call fcn.00413600
mov ebx, eax
cmp byte [ebx + 0x57], 0
jne 0x4308da
test byte [ebx + 0x1c], 0x10
je 0x43095c
test byte [ebx + 0x51], 4
jne 0x43095c
mov eax, dword [ebx + 0x44]
add eax, dword [ebx + 0x4c]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, dword [ebx + 0x40]
add ecx, dword [ebx + 0x48]
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
call fcn.004121cc
lea eax, [esp + 0x10]
push eax
push ebp
call sub.user32.dll_GetCapture
test eax, eax
je 0x43095c
test byte [esi + 0x54], 0x80
je 0x430912
or word [ebx + 0x54], 0x80
push ebp
call sub.user32.dll_GetClassNameA
mov dword [esp + 4], eax
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x40]
mov eax, ebp
call fcn.0042acc0
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
push ebp
call sub.user32.dll_EnumWindows
push 0
mov ecx, ebp
mov edx, 0xf
mov eax, ebx
call fcn.0042d4f0
mov eax, dword [esp + 4]
push eax
push ebp
call sub.user32.dll_GetClassInfoA
and word [ebx + 0x54], 0xff7f
inc edi
cmp edi, dword [esp]
jl 0x4308b1
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x430a6c
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x430a6c
inc eax
mov dword [esp + 0xc], eax
xor edi, edi
mov eax, dword [esi + 0x19c]
mov edx, edi
call fcn.00413600
mov ebx, eax
cmp byte [ebx + 0x1a5], 0
je 0x430a61
test byte [ebx + 0x50], 0x10
je 0x430a61
cmp byte [ebx + 0x57], 0
jne 0x4309c7
test byte [ebx + 0x1c], 0x10
je 0x430a61
test byte [ebx + 0x51], 4
jne 0x430a61
mov eax, 0xff000010
call fcn.0041bb1c
push eax
call sub.user32.dll_DefFrameProcA
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [ebx + 0x44]
add eax, dword [ebx + 0x4c]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, dword [ebx + 0x40]
add ecx, dword [ebx + 0x48]
mov edx, dword [ebx + 0x44]
dec edx
mov eax, dword [ebx + 0x40]
dec eax
call fcn.004121cc
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004062c8
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_DefWindowProcA
mov eax, 0xff000014
call fcn.0041bb1c
push eax
call sub.user32.dll_DefFrameProcA
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [ebx + 0x44]
add eax, dword [ebx + 0x4c]
inc eax
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, dword [ebx + 0x40]
add ecx, dword [ebx + 0x48]
inc ecx
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
call fcn.004121cc
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004062c8
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_DefWindowProcA
inc edi
dec dword [esp + 0xc]
jne 0x430987
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret