Function at 0x46d5e0
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 0x581e45
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.00550cf4
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 0x44fd80
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x5cd2a4
call fcn.004306a0
lea ecx, [ebp - 0x1c]
call fcn.00446d80
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 0x46d690
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0042cb00
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.00453b10
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x46d6d3
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00425f50
test al, al
je 0x46d6d6
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x46d710
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46d706
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d959
push ecx
push edx
call fcn.00550d24
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 0x46d72f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [ebp - 0x18]
je 0x46d928
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 0x46d76b
cmp dword [ebp - 0x28], edi
jle 0x46d928
call fcn.0044df30
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.0046f160
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.0046f160
movsd xmm1, qword [ebp - 0x20]
comisd xmm0, xmm1
jbe 0x46d928
subsd xmm0, xmm1
push 0x80
mulsd xmm0, qword [0x5b0928]
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.00550cf4
mov ecx, 0x1d
mov dword [ebp - 0x64], eax
mov esi, str.T1lD6bTR7pIh0_He3kWJbTQmUAzoGIMAguzKyAF9bWM4aTzs2EM0919fCdB7bTUm4Czt7QeUgrTdWEPeIC03dAiJ74eUgrWdWEfTJj4r4GW1jPZgkyuJD4
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.0044e070
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.0042e7e0
lea ecx, [ebp - 0x7c]
call fcn.00446a30
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x46d85f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.0045b7d0
mov ecx, dword [ebp - 0x68]
add esp, 0x18
cmp ecx, 0x10
jb 0x46d8a3
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46d899
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d95e
push ecx
push edx
call fcn.00550d24
add esp, 8
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x1c]
mov esi, dword [esi]
call fcn.0042d470
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.004305b0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004655a0
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d8f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x46d928
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46d91e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d963
push ecx
push edx
call fcn.00550d24
add esp, 8
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00453b70
push 0x2c
push dword [ebp - 0x18]
call fcn.00550d24
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.00555bff
call fcn.00555bff
call fcn.00555bff
int3