Function at 0x438300
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8f58
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 0x4384b3
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 0x4384b3
nop
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x50]
sub eax, ecx
sar eax, 2
cmp eax, edi
jbe 0x4384d1
push dword [ecx + edi*4]
lea eax, [ebp - 0x38]
push eax
call fcn.00454390
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 0x4383c6
cmp dword [ebp - 0x24], 8
jb 0x43845e
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x43845e
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 0x456600
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x24], 8
mov edi, dword [ebp - 0x48]
jb 0x438403
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 0x43845b
lea eax, [ebp - 0x3c]
cmp eax, esi
jae 0x43843b
cmp ebx, eax
ja 0x43843b
mov edi, eax
sub edi, ebx
sar edi, 2
cmp esi, dword [ebp - 0x18]
jne 0x438430
push ecx
lea ecx, [ebp - 0x20]
call fcn.00429810
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
test esi, esi
je 0x438455
mov eax, dword [ebx + edi*4]
mov dword [esi], eax
jmp 0x438455
cmp esi, dword [ebp - 0x18]
jne 0x43844f
push ecx
lea ecx, [ebp - 0x20]
call fcn.00429810
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
test esi, esi
je 0x438455
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 0x438370
cmp ebx, esi
je 0x4384a5
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.00437d20
mov ebx, dword [ebp - 0x20]
add esp, 8
test ebx, ebx
je 0x4384b3
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.004a285c
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