Function at 0x421a90
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428e78
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x10], 0
jle 0x421c6a
xor esi, esi
xor edi, edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], edi
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x421c6a
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
lea esp, [esp]
push dword [esi + 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041e8b0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x421b2f
cmp dword [ebp - 0x18], 8
jb 0x421bcc
push dword [ebp - 0x2c]
call ebx
add esp, 4
jmp 0x421bcc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0
push ecx
push eax
mov dword [ebp - 0x40], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x44]
push eax
push 0x4212a0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x18], 8
mov ebx, dword [ebp - 0x44]
jb 0x421b6c
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x421bc6
lea eax, [ebp - 0x3c]
cmp eax, edi
jae 0x421ba9
mov ecx, eax
mov eax, dword [ebp - 0x38]
cmp eax, ecx
ja 0x421ba9
mov ebx, ecx
sub ebx, eax
sar ebx, 2
cmp edi, dword [ebp - 0x30]
jne 0x421b9e
push ecx
lea ecx, [ebp - 0x38]
call fcn.00422650
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
test edi, edi
je 0x421bc0
mov eax, dword [eax + ebx*4]
mov dword [edi], eax
jmp 0x421bc0
cmp edi, dword [ebp - 0x30]
jne 0x421bba
push ecx
lea ecx, [ebp - 0x38]
call fcn.00422650
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x421bc0
mov dword [edi], ebx
add edi, 4
mov dword [ebp - 0x34], edi
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp byte [esi + 0xd], 0
jne 0x421c12
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x421bf1
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x421c12
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x421be5
jmp 0x421c12
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x421c10
lea ebx, [ebx]
cmp esi, dword [eax + 8]
jne 0x421c10
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x421c00
mov esi, eax
mov eax, dword [ebp - 0x48]
cmp esi, dword [eax]
jne 0x421af0
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x421c60
mov ecx, dword [ebp + 0x10]
sub edi, esi
sar edi, 2
xor edx, edx
push ecx
lea eax, [ecx - 1]
add eax, edi
div ecx
cmp eax, 1
jge 0x421c4d
push 0x28
push 0x28
push 0
xor edx, edx
lea ecx, [ebp - 0x38]
call fcn.004217b0
jmp 0x421c5d
mov edx, dword [ebp + 8]
push ecx
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call fcn.00421840
add esp, 0x10
test esi, esi
je 0x421c6a
push esi
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424ad0
mov esp, ebp
pop ebp
ret 0xc