Function at 0x46c870
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 0x580d95
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.0054fad4
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 0x44f4c0
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x5cc230
call fcn.0042eba0
lea ecx, [ebp - 0x1c]
call fcn.00445250
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 0x46c920
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0042d7e0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.00452d50
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x46c963
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00424df0
test al, al
je 0x46c966
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x46c9a0
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46c996
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cbe9
push ecx
push edx
call fcn.0054fb04
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 0x46c9bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [ebp - 0x18]
je 0x46cbb8
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 0x46c9fb
cmp dword [ebp - 0x28], edi
jle 0x46cbb8
call fcn.0044bd90
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.0046e0d0
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.0046e0d0
movsd xmm1, qword [ebp - 0x20]
comisd xmm0, xmm1
jbe 0x46cbb8
subsd xmm0, xmm1
push 0x80
mulsd xmm0, qword [0x5af758]
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.0054fad4
mov ecx, 0x1d
mov dword [ebp - 0x64], eax
mov esi, str.cE1mTOAtvMB0gAHb1xDRUiADHVgUSTFV0RjPwVQUUncdSGgQi9FhpKHaAIUsUiEDWXgRvjXB0UDYURagHzkS6Vx1vbXB0UfYURKsGSoOeTFJ30Q1wNXMBs
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.0044bed0
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.0042d3b0
lea ecx, [ebp - 0x7c]
call fcn.00444f00
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x46caef
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.0045a670
mov ecx, dword [ebp - 0x68]
add esp, 0x18
cmp ecx, 0x10
jb 0x46cb33
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46cb29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cbee
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x1c]
mov esi, dword [esi]
call fcn.0042e150
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.0042eab0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00464560
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46cb88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x46cbb8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46cbae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46cbf3
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00452db0
push 0x2c
push dword [ebp - 0x18]
call fcn.0054fb04
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.005549df
call fcn.005549df
call fcn.005549df
int3