Function at 0x46c570
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 0x580a45
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.0054f7c4
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 0x44f110
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x5cc230
call fcn.0042e950
lea ecx, [ebp - 0x1c]
call fcn.00445000
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 0x46c620
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0042d590
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.00452a60
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x46c663
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00424ba0
test al, al
je 0x46c666
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x46c6a0
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46c696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8e9
push ecx
push edx
call fcn.0054f7f4
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 0x46c6bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [ebp - 0x18]
je 0x46c8b8
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 0x46c6fb
cmp dword [ebp - 0x28], edi
jle 0x46c8b8
call fcn.0044b9e0
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.0046ddc0
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.0046ddc0
movsd xmm1, qword [ebp - 0x20]
comisd xmm0, xmm1
jbe 0x46c8b8
subsd xmm0, xmm1
push 0x80
mulsd xmm0, qword [0x5af6a0]
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.0054f7c4
mov ecx, 0x1d
mov dword [ebp - 0x64], eax
mov esi, str.Y1JWKRxhwANzcTlcGw8CQT8zTKRYNoJSICcIDUv8QWgtoZRc9rJmVZDdzJrLQT4z4IRdwwbGIHRfnQlfDCYiEKA5wXbGIHufnQ1YCjUJM0FoucyMesLys
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.0044bb20
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.0042d160
lea ecx, [ebp - 0x7c]
call fcn.00444cb0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x46c7ef
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.0045a380
mov ecx, dword [ebp - 0x68]
add esp, 0x18
cmp ecx, 0x10
jb 0x46c833
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46c829
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8ee
push ecx
push edx
call fcn.0054f7f4
add esp, 8
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x1c]
mov esi, dword [esi]
call fcn.0042df00
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.0042e860
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00464270
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c888
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x46c8b8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46c8ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c8f3
push ecx
push edx
call fcn.0054f7f4
add esp, 8
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00452ac0
push 0x2c
push dword [ebp - 0x18]
call fcn.0054f7f4
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.005546cf
call fcn.005546cf
call fcn.005546cf
int3