Function at 0x40ab80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610e24
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0x17c]
push 0x320
call fcn.005c92a6
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004b0f10
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebx + 0x178]
push 1
sub esp, 0x10
mov dword [ebp - 0x18], ecx
mov edx, dword [edi]
mov eax, esp
mov dword [ebp - 0x20], 0
mov ecx, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], esi
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov eax, dword [edi]
mov ecx, edi
push dword [ebx + 0x16c]
call dword [eax + 0x14]
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
mov dword [edi + 0x2d0], 0
call dword [eax + 0x150]
movaps xmm0, xmmword [0x687950]
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x30]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.004b5370
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x2dc], xmm0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407830
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
lea ecx, [edi + 0xf0]
push eax
call fcn.00407890
lea eax, [ebp - 0x24]
lea ecx, [edi + 0xec]
push eax
call fcn.00407890
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40aca0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0xe8
mov dword [edi + 0x8c], 1
call fcn.005c92a6
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00499b50
mov esi, eax
mov byte [ebp - 4], 0
push 0
push str.menuhover.png
mov ecx, esi
call fcn.0049a720
movaps xmm0, xmmword [0x687b10]
movups xmmword [esi + 0x6c], xmm0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 2
cmp dword [esi + 0x74], eax
jge 0x40acf6
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
cmp dword [esi + 0x78], eax
jge 0x40ad01
mov dword [esi + 0x78], eax
cmp dword [edi + 0x1ec], esi
je 0x40ad25
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1ec]
mov dword [edi + 0x1ec], esi
test eax, eax
je 0x40ad25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0xc], 0
je 0x40ad4f
cmp dword [edi + 0x1f0], esi
je 0x40ad4f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1f0]
mov dword [edi + 0x1f0], esi
test eax, eax
je 0x40ad4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx + 0x14c], 0
je 0x40ada6
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40ad69
or eax, 0xffffffff
not eax
shr eax, 0x1f
jmp 0x40adb7
mov ecx, dword [ebx + 0x148]
cmp dword [ecx - 0xc], 0
jge 0x40ad7f
or eax, 0xffffffff
not eax
shr eax, 0x1f
jmp 0x40adb7
push eax
push ecx
call fcn.005e176e
add esp, 8
test eax, eax
jne 0x40ad97
or eax, 0xffffffff
not eax
shr eax, 0x1f
jmp 0x40adb7
sub eax, dword [ebx + 0x148]
sar eax, 1
not eax
shr eax, 0x1f
jmp 0x40adb7
lea ecx, [ebx + 0x148]
lea edx, [ebp + 8]
call fcn.0040b070
movzx eax, al
push eax
push edi
call fcn.0040ae90
add ebx, 0x150
je 0x40add0
push ebx
push 0
mov ecx, edi
call fcn.004a1600
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40adf2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 8