Function at 0x46dd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f31e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call dword [ecx + 0x14]
push 0x4f8517
push eax
call fcn.0046b550
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push ebx
push 0x3f800000
push 0xff000000
push 1
push ebx
push ebx
push eax
call dword [edx + 0x28]
push str.Clear
push eax
call fcn.0046b550
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.0046b550
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.0046b550
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.0046b550
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.0046b550
add esp, 8
push 0x40
push 0x40
lea ecx, [ebp - 0x2c]
call fcn.00465c80
push 0xff0000ff
push 0x40
push 0x40
push ebx
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00457af0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
push 0xffffffffffffffff
push ebx
push ebx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0046d670
push 0x80ff0000
push 0x40
push 0x40
push ebx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00457af0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
push ebx
push ebx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046d670
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, esi
call fcn.0046b6d0
lea ecx, [ebp - 0x2c]
call fcn.00462b30
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], ebx
call fcn.00457bd0
cmp dword [ebp - 0x18], ebx
jne 0x46df20
cmp al, bl
je 0x46deb9
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
mov eax, str.Alpha_blend_test_not_uniform.
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46ded0
sub eax, edx
push eax
push str.Alpha_blend_test_not_uniform.
lea ecx, [ebp - 0x38]
call fcn.004066c0
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0046b530
mov bl, al
cmp dword [ebp - 0x20], 0x10
jb 0x46df0d
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004d88be
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
mov eax, str.Alpha_blend_Not_Supported
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46df35
sub eax, edx
push eax
push str.Alpha_blend_Not_Supported
lea ecx, [ebp - 0x54]
call fcn.004066c0
lea edx, [ebp - 0x54]
push edx
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0046b510
mov bl, al
cmp dword [ebp - 0x3c], 0x10
jb 0x46df0d
mov eax, dword [ebp - 0x50]
push eax
call fcn.004d88be
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