Function at 0x413e50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
cmp dword [0x441688], 0
je 0x413e6b
push dword [0x441688]
call sub.GDI32.dll_DeleteObject
push dword [0x441b97]
call fcn.00410cf2
push dword [0x441aba]
call fcn.00410cf2
push dword [0x441ab6]
call fcn.00410cf2
push dword [0x441b77]
call fcn.00410cf2
cmp dword [0x4519d8], 1
jne 0x413eb2
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov dword [0x441b5f], 1
mov dword [0x441b63], 0
mov dword [0x441d21], 0
push dword [0x441b7b]
push 0xfffffffffffffffc
push dword [0x441160]
call sub.USER32.dll_SetWindowLongA
push dword [0x441bb4]
push dword [0x441b97]
call sub.GDI32.dll_SetStretchBltMode
push 0
push dword [0x441aae]
push dword [0x441ab2]
call fcn.004090de
push dword [0x441bc8]
push dword [0x441b97]
call sub.GDI32.dll_SelectObject
push eax
call sub.GDI32.dll_DeleteObject
push dword [0x441b97]
call sub.GDI32.dll_DeleteDC
call fcn.0041482b
or eax, eax
je 0x413f74
push eax
push dword [0x441160]
call sub.USER32.dll_IsChild
or eax, eax
jne 0x413f74
mov dword [0x441d1d], 0
mov dword [0x441d19], 0
cmp dword [0x441b6b], 5
jb 0x413f74
cmp dword [0x441b6b], 7
ja 0x413f74
push 0
push 0x4145f5
call sub.USER32.dll_EnumWindows
mov dword [0x44168c], 1
call fcn.0041b29e
cmp eax, 1
jne 0x414076
push dword [0x441aae]
push dword [0x441b77]
call fcn.00419f67
mov dword [0x44310c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
call fcn.0040fdc5
cmp eax, 5
jbe 0x413fff
cmp dword [0x4419a8], 0
jne 0x413fff
cmp dword [ebp - 4], 0
jne 0x413fff
lea eax, [ebp - 0x14]
push eax
push dword [0x441160]
call sub.USER32.dll_GetWindowRect
lea eax, [ebp - 0x14]
push eax
call fcn.0040c0ec
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
call sub.GDI32.dll_CreateRectRgnIndirect
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
push 0
push dword [0x441160]
push dword [ebp - 4]
call fcn.00419ea3
mov dword [0x44310c], 0
cmp dword [ebp - 0x1c], 0
je 0x414027
push dword [ebp - 0x1c]
call sub.GDI32.dll_DeleteObject
call fcn.0040fdc5
cmp eax, 5
jbe 0x414064
cmp dword [0x4419a8], 1
jne 0x414050
push 0x503
push 0
push 0
push dword [0x4419ac]
call sub.USER32.dll_RedrawWindow
jmp 0x414064
push 0x503
push 0
push 0
push dword [0x441160]
call sub.USER32.dll_RedrawWindow
cmp dword [0x441d35], 0
jne 0x414076
push 1
push 0
call fcn.0040f710
cmp dword [0x4415f4], 1
jne 0x41409b
cmp dword [0x4430f8], 0
jne 0x414091
push 0
push 0
call fcn.0040f710
mov dword [0x4415f4], 0
cmp dword [0x441d2d], 0
jne 0x4140af
push dword [0x441160]
call fcn.00408d72
call sub.USER32.dll_ReleaseCapture
cmp dword [0x441d35], 0
jne 0x4140c2
call fcn.0040fb9f
push dword [0x441160]
call sub.USER32.dll_SetFocus
cmp dword [0x441d2d], 1
jne 0x4140f0
call fcn.00409a1c
mov dword [0x441d2d], 0
push dword [0x441160]
call fcn.00408d72
cmp dword [0x441d35], 1
jne 0x41410c
cmp dword [0x441d39], 0
jne 0x41410c
mov dword [0x441d39], 1
mov dword [0x44e2dd], 0
cmp dword [0x441a4c], 0
jne 0x414182
mov dword [0x441a50], 0
mov eax, dword [0x441d19]
cmp dword [0x441d1d], eax
jae 0x414164
mov ebx, dword [0x441d1d]
shl ebx, 4
push dword [ebx + 0x452477]
push dword [ebx + 0x452473]
push dword [ebx + 0x45246f]
push dword [ebx + 0x45246b]
call sub.USER32.dll_SendMessageA
inc dword [0x441d1d]
jmp 0x4141c0
cmp dword [0x441d1d], eax
jne 0x4141c0
mov dword [0x441d1d], 0
mov dword [0x441d19], 0
jmp 0x4141c0
push 1
push dword [0x4419a4]
push dword [0x441994]
push dword [0x441aae]
push dword [0x44199c]
call fcn.00414687
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
push 5
push dword [0x441160]
call sub.USER32.dll_SetTimer
mov dword [0x4519dc], 1
cmp dword [0x4430d0], 1
jne 0x4141e0
push 0
push 0x6b4
push 0x111
push dword [0x441160]
call sub.USER32.dll_SendMessageA
pop ebx
leave
ret