Function at 0x438970
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9798
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d9320]
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 edx, ecx
mov dword [ebp - 0x4c], edx
cmp dword [ebp + 8], 0
jle 0x438b23
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ebx, ebx
movq qword [ebp - 0x20], xmm0
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], esi
xor edi, edi
mov eax, dword [edx + 0x54]
sub eax, dword [edx + 0x50]
sar eax, 2
mov dword [ebp - 0x40], edi
test eax, eax
je 0x438b23
nop
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x50]
sub eax, ecx
sar eax, 2
cmp eax, edi
jbe 0x438b41
push dword [ecx + edi*4]
lea eax, [ebp - 0x38]
push eax
call fcn.00454b40
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x438a36
cmp dword [ebp - 0x24], 8
jb 0x438ace
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x438ace
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 0
push ecx
push eax
mov dword [ebp - 0x44], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x48]
push eax
push 0x456e00
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x24], 8
mov edi, dword [ebp - 0x48]
jb 0x438a73
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x438acb
lea eax, [ebp - 0x3c]
cmp eax, esi
jae 0x438aab
cmp ebx, eax
ja 0x438aab
mov edi, eax
sub edi, ebx
sar edi, 2
cmp esi, dword [ebp - 0x18]
jne 0x438aa0
push ecx
lea ecx, [ebp - 0x20]
call fcn.004297c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
test esi, esi
je 0x438ac5
mov eax, dword [ebx + edi*4]
mov dword [esi], eax
jmp 0x438ac5
cmp esi, dword [ebp - 0x18]
jne 0x438abf
push ecx
lea ecx, [ebp - 0x20]
call fcn.004297c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
test esi, esi
je 0x438ac5
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
inc edi
mov dword [ebp - 0x40], edi
mov eax, dword [edx + 0x54]
sub eax, dword [edx + 0x50]
sar eax, 2
cmp edi, eax
jb 0x4389e0
cmp ebx, esi
je 0x438b15
mov ecx, dword [edx + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
sub esi, ebx
push eax
sar esi, 2
xor edx, edx
push ecx
lea eax, [ecx - 1]
add eax, esi
div ecx
lea ecx, [ebp - 0x20]
mov edx, eax
call fcn.00438270
mov ebx, dword [ebp - 0x20]
add esp, 8
test ebx, ebx
je 0x438b23
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
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.004a310c
mov esp, ebp
pop ebp
ret 4
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3