Function at 0x46a7b0
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 0x57e9f5
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.0054db04
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 0x44d460
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x5c9230
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
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 0x46a860
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0042d600
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.00450cf0
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x46a8a3
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00424c00
test al, al
je 0x46a8a6
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x46a8e0
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46a8d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ab29
push ecx
push edx
call fcn.0054db34
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 0x46a8ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [ebp - 0x18]
je 0x46aaf8
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 0x46a93b
cmp dword [ebp - 0x28], edi
jle 0x46aaf8
call fcn.0044bbe0
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.0046c000
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.0046c000
movsd xmm1, qword [ebp - 0x20]
comisd xmm0, xmm1
jbe 0x46aaf8
subsd xmm0, xmm1
push 0x80
mulsd xmm0, qword [0x5ad258]
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.0054db04
mov ecx, 0x1d
mov dword [ebp - 0x64], eax
mov esi, str.WHJDdNyNQsIkco9UHlMEeh8miWS0tmMFI5rACBfqekg48FSwdXMxViWVycbkeh4mIUSxQkeRI8zXmFVENwY3WWDVQTeRI8LXmFFxMRUr3Q3pIFZlMl4Dz4
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.0044bd20
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.0042d1c0
lea ecx, [ebp - 0x7c]
call fcn.00444d40
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x46aa2f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.00458580
mov ecx, dword [ebp - 0x68]
add esp, 0x18
cmp ecx, 0x10
jb 0x46aa73
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46aa69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ab2e
push ecx
push edx
call fcn.0054db34
add esp, 8
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x1c]
mov esi, dword [esi]
call fcn.0042df70
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.0042e8d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004624a0
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46aac8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x46aaf8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46aaee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ab33
push ecx
push edx
call fcn.0054db34
add esp, 8
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00450d50
push 0x2c
push dword [ebp - 0x18]
call fcn.0054db34
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.00552a0f
call fcn.00552a0f
call fcn.00552a0f
int3