Function at 0x438540
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 dword [ebp - 0x4c], ecx
cmp dword [ebp + 0x10], 0
jle 0x438765
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 [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
mov dword [ebp - 0x48], edi
test eax, eax
je 0x4386ed
lea ecx, [ecx]
mov eax, dword [ecx + 0x54]
mov edx, dword [ecx + 0x50]
sub eax, edx
sar eax, 2
cmp eax, edi
jbe 0x438740
push dword [edx + edi*4]
lea eax, [ebp - 0x40]
push eax
call fcn.00454b40
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x438606
cmp dword [ebp - 0x2c], 8
jb 0x43869e
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x43869e
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 0
push ecx
push eax
mov dword [ebp - 0x24], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x28]
push eax
push 0x456e00
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x2c], 8
mov edi, dword [ebp - 0x28]
jb 0x438643
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x44], edi
test edi, edi
je 0x43869b
lea eax, [ebp - 0x44]
cmp eax, esi
jae 0x43867b
cmp ebx, eax
ja 0x43867b
mov edi, eax
sub edi, ebx
sar edi, 2
cmp esi, dword [ebp - 0x18]
jne 0x438670
push ecx
lea ecx, [ebp - 0x20]
call fcn.004297c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
test esi, esi
je 0x438695
mov eax, dword [ebx + edi*4]
mov dword [esi], eax
jmp 0x438695
cmp esi, dword [ebp - 0x18]
jne 0x43868f
push ecx
lea ecx, [ebp - 0x20]
call fcn.004297c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
test esi, esi
je 0x438695
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
inc edi
mov dword [ebp - 0x48], edi
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
cmp edi, eax
jb 0x4385b0
cmp ebx, esi
je 0x4386ed
mov edi, dword [ebp + 0x10]
sub esi, ebx
sar esi, 2
xor edx, edx
mov ecx, dword [ecx + 0x44]
lea eax, [edi - 1]
add eax, esi
div edi
cmp eax, 1
jge 0x438727
mov eax, dword [ecx]
push 0x28
push 0x28
push 0
push 0
call dword [eax + 0x28]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00437aa0
add esp, 0x10
xorps xmm0, xmm0
push 0xc
movq qword [ebp - 0x28], xmm0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov ecx, dword [ebp - 0x4c]
add esp, 4
test eax, eax
je 0x43874b
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], vtable.FunctionRunable_class__lambda_e771aa059c161df98f4b8c1155d228c7__.0
mov dword [eax + 4], ecx
mov dword [eax + 8], 4
jmp 0x43874d
push edi
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x28]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00437b30
jmp 0x4386ea
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
xor eax, eax
push eax
add ecx, 0x40
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::Task::post_class_Runable__]
test ebx, ebx
je 0x438765
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 0xc