Function at 0x466710
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b7d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x870
push esi
push edi
push 0x2c
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00549e14
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x44f0f0
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x5c51ec
call fcn.0042d2f0
lea ecx, [ebp - 0x1c]
call fcn.00443a10
add esp, 0x18
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov edx, dword [eax]
mov ecx, edx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4667c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0042c350
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.00451f80
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x466803
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00423530
test al, al
je 0x466806
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x466840
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x466836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466a89
push ecx
push edx
call fcn.00549e44
add esp, 8
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46685f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [ebp - 0x18]
je 0x466a58
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [esi + 0x28]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
cmp dword [ebp - 0x30], 0
jl 0x46689b
cmp dword [ebp - 0x28], edi
jle 0x466a58
call fcn.0044baa0
mov eax, dword [ebp - 0x28]
movaps xmm1, xmm0
sub eax, dword [ebp - 0x30]
cdq
xor eax, edx
movsd qword [ebp - 0x48], xmm1
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
call fcn.00467f50
mov eax, edi
movsd qword [ebp - 0x20], xmm0
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [ebp - 0x48]
call fcn.00467f50
movsd xmm1, qword [ebp - 0x20]
comisd xmm0, xmm1
jbe 0x466a58
subsd xmm0, xmm1
push 0x80
mulsd xmm0, qword [0x5a9ab0]
cvttsd2si eax, xmm0
mov dword [ebp - 0x30], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x64], xmm0
call fcn.00549e14
mov ecx, 0x1d
mov dword [ebp - 0x64], eax
mov esi, str.QmdVxRTlFTNDUyYRW8NYAowbKzc4dJiAjfFTYtTYF0ukZzYI4JWd4VQjFpJYAsw3IzZFCb2Am2S3cnCLRMhdKi9Fsb2AmfS3c37KwA9jMWBdrcCE_0Gig
mov dword [ebp - 0x54], 0x77
mov edi, eax
mov dword [ebp - 0x50], 0x7f
rep movsd dword es:[edi], dword [esi]
add esp, 4
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x77], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
movsd xmm1, qword [ebp - 0x48]
call fcn.0044bbe0
push dword [ebp - 0x28]
lea eax, [ebp - 0x64]
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0042bf20
lea ecx, [ebp - 0x7c]
call fcn.00443680
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x46698f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.00454550
mov ecx, dword [ebp - 0x68]
add esp, 0x18
cmp ecx, 0x10
jb 0x4669d3
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4669c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466a8e
push ecx
push edx
call fcn.00549e44
add esp, 8
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x1c]
mov esi, dword [esi]
call fcn.0042cd10
mov byte [ebp - 4], 3
mov edi, dword [esi + 0x4c]
push 0x20
push ecx
mov esi, esp
mov dword [ebp - 0x40], esi
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0042d200
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0045e3f0
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466a28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x466a58
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x466a4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466a93
push ecx
push edx
call fcn.00549e44
add esp, 8
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00451fe0
push 0x2c
push dword [ebp - 0x18]
call fcn.00549e44
mov ecx, dword [ebp - 0xc]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054ed2f
call fcn.0054ed2f
call fcn.0054ed2f
int3