Function at 0x46fc90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59d69b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], 2
call fcn.0040a1a0
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0x2c], xmm0
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
sub eax, dword [esp + 0x28]
xor ecx, ecx
cmp eax, 0x556
lea eax, [esp + 0xc]
push 0
setg cl
add ecx, 3
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2c]
push eax
call fcn.00407900
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jle 0x46fd42
add eax, 0xd
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x46fd4d
add edi, 0x33
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xb0]
call eax
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x5c]
sub ecx, dword [eax + 0x58]
sub edx, dword [eax + 0x54]
add ecx, dword [esp + 0x2c]
add edx, dword [esp + 0x28]
cmp dword [ebp + 0xc], 0xffffffff
mov dword [esp + 0x10], ecx
je 0x46fe26
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x46fe26
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], eax
add eax, edi
mov dword [esp + 0x14], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], ecx
add ecx, dword [esp + 0xc]
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov dword [esi + 8], ecx
jge 0x46fdf1
mov edx, dword [esp + 0x28]
add eax, edx
mov dword [esi + 8], eax
jmp 0x46fdfa
cmp ecx, edx
jle 0x46fdfc
mov dword [esi + 8], edx
sub edx, eax
mov dword [esi], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp dword [ebp + 0x10], eax
jge 0x46fe14
lea ecx, [eax + edi]
mov dword [esi + 4], eax
mov dword [esi + 0xc], ecx
jmp 0x46fe7a
mov eax, esi
cmp dword [esp + 0x14], ecx
jle 0x46fe7c
mov dword [esi + 0xc], ecx
sub ecx, edi
mov dword [esi + 4], ecx
jmp 0x46fe7c
mov eax, dword [0x6403e4]
test eax, eax
jne 0x46fe64
push 0x360
call fcn.00551c81
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0
test eax, eax
je 0x46fe55
mov ecx, eax
call fcn.00455930
jmp 0x46fe57
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [0x6403e4], eax
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0045afd0
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi], xmm0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0xc