Function at 0x40e740
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4a6601
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x196d], 0
je 0x40e993
mov ecx, dword [esi + 0x195c]
xor ebp, ebp
cmp ecx, ebp
je 0x40e79a
cmp dword [ecx - 4], ebp
lea eax, [ecx - 4]
je 0x40e791
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x40e79a
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esi + 0x1960]
cmp ecx, ebp
je 0x40e7bf
cmp dword [ecx - 4], ebp
lea eax, [ecx - 4]
je 0x40e7b6
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x40e7bf
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esi + 0x1964]
cmp ecx, ebp
je 0x40e7e4
cmp dword [ecx - 4], ebp
lea eax, [ecx - 4]
je 0x40e7db
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x40e7e4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0x1968]
cmp eax, ebp
je 0x40e7f7
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
push 0x40b360
mov dword [esi + 0x1950], ebp
mov dword [esi + 0x1954], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
add dword [esi + 0x1954], 8
mov edi, dword [esi + 0x1954]
cmp edi, 1
jl 0x40e993
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0041c77c
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebp
cmp eax, ebp
je 0x40e870
push fcn.0041d940
push fcn.00401000
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.0041c86c
mov dword [esp + 0x1c], 0xffffffff
mov edi, dword [esi + 0x1954]
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
mov dword [esi + 0x195c], ebp
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0041c77c
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 1
test eax, eax
je 0x40e8d5
push fcn.0041d940
push fcn.00401000
push edi
lea ebp, [eax + 4]
push 0xc
push ebp
mov dword [eax], edi
call fcn.0041c86c
jmp 0x40e8d7
xor ebp, ebp
mov dword [esp + 0x1c], 0xffffffff
mov edi, dword [esi + 0x1954]
xor ecx, ecx
mov eax, edi
mov edx, 0x14
mul edx
seto cl
mov dword [esi + 0x1960], ebp
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0041c77c
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 2
test eax, eax
je 0x40e93e
push fcn.00401040
push fcn.00401910
push edi
lea ebp, [eax + 4]
push 0x14
push ebp
mov dword [eax], edi
call fcn.0041c86c
mov eax, ebp
jmp 0x40e940
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x1964], eax
mov eax, dword [esi + 0x1954]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c77c
add esp, 4
push esi
push 0x40b360
mov dword [esi + 0x1968], eax
mov dword [esi + 0x1950], 1
mov dword [esi + 0x1958], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret