Function at 0x4f9460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], edi
call dword [ecx + 0x14]
push 0x60c437
push eax
call fcn.004f67e0
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push edi
push 0x3f800000
push 0xff000000
push 1
push edi
push edi
push eax
call dword [edx + 0x28]
push str.Clear
push eax
call fcn.004f67e0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 1
push 0x1b
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_ALPHABLENDENABLE__TRUE
push eax
call fcn.004f67e0
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 5
push 0x13
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_SRCBLEND__D3DBLEND_SRCALPHA
push eax
call fcn.004f67e0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 6
push 0x14
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_DESTBLEND__D3DBLEND_INVSRCALPHA
push eax
call fcn.004f67e0
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 1
push 0x16
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_CULLMODE__D3DCULL_NONE
push eax
call fcn.004f67e0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 4
push 4
push edi
push eax
call dword [ecx + 0x94]
push str.D3DTSS_ALPHAOP__D3DTOP_MODULATE
push eax
call fcn.004f67e0
add esp, 8
push 0x40
push 0x40
lea ecx, [ebp - 0x2c]
call fcn.004e9d80
push 0xff0000ff
push 0x40
push 0x40
push edi
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004d7620
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
push edi
push edi
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004f8300
push 0xffff0000
push 0x40
push 0x40
push edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004d7620
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x18]
push 0x80ffffff
push edi
push edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004f8300
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, esi
call fcn.004f6940
lea ecx, [ebp - 0x2c]
call fcn.004e3ca0
push 0xa
push 0xa
lea edx, [ebp - 0x18]
push edx
push 0x7f007f
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
call fcn.004d7700
cmp dword [ebp - 0x18], edi
jne 0x4f9651
test al, al
je 0x4f9607
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x11]
push eax
push str.AlphaModulated_blend_test_not_uniform.
lea ecx, [ebp - 0x28]
call fcn.00402f20
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.004f67b0
mov ecx, dword [ebp - 0x28]
mov bl, al
mov eax, dword [ebp - 0x20]
jmp 0x4f967c
push eax
push ecx
call fcn.00401f50
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x11]
push edx
push str.AlphaModulated_blend_not_supported.
lea ecx, [ebp - 0x38]
call fcn.00402f20
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.004f6780
mov ecx, dword [ebp - 0x38]
mov bl, al
mov eax, dword [ebp - 0x30]
sub eax, ecx
cmp ecx, edi
je 0x4f963e
cmp eax, 0x80
jbe 0x4f9634
push ecx
call fcn.005e05ca
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret