Function at 0x1002b460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x101b82cc]
sub esp, 0xa4
push esi
mov esi, ecx
test eax, eax
jne 0x1002b484
push str.gpu.angle
call fcn.1002e160
add esp, 4
mov dword [0x101b82cc], eax
mov dword [esp + 0x60], 0
cmp byte [eax], 0
je 0x1002b4c8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x101816a0
push eax
push 0x42
call fcn.1002dc40
mov eax, dword [0x101b82cc]
add esp, 0x28
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x68], 0x101816a0
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x14], ecx
push ebx
mov ebx, dword [eax + 0x950]
mov dword [esp + 0x14], ebx
push ebp
push edi
lea edi, [esi + 0x50]
test ecx, ecx
je 0x1002b4ec
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x1002b50c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x1002b520
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x54], 0
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x1002b534
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x58], 0
mov eax, dword [esi + 0x10]
add eax, 0x958
push eax
push dword [esi + 4]
call fcn.1008e4f0
add esp, 8
mov dword [esp + 0x18], eax
cmp byte [esi + 0x20], 0
je 0x1002b604
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0x10181670
push dword [esi + 0xc]
push ebx
call dword [ecx + 0x70]
test eax, eax
js 0x1002b5f3
mov ecx, dword [esp + 0x10]
push edi
push 0x10181680
push ecx
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [esp + 0x10]
mov ebx, eax
test edx, edx
je 0x1002b598
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov dword [esp + 0x10], 0
test ebx, ebx
js 0x1002b5f3
push 0x2c
lea eax, [esp + 0x38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi]
lea edx, [esp + 0x40]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
mov ebp, dword [esp + 0xb8]
cmp dword [esp + 0x34], ebp
jne 0x1002b5f3
mov ebx, dword [esp + 0xbc]
cmp dword [esp + 0x38], ebx
jne 0x1002b5f3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
cmp eax, dword [edx + 8]
jne 0x1002b5f3
cmp dword [esp + 0x3c], 1
jne 0x1002b5f3
cmp dword [esp + 0x40], 1
je 0x1002b72d
mov ecx, esi
call fcn.1002afc0
mov esi, 0x300c
jmp 0x1002b992
mov eax, dword [esi + 0x2c]
cmp dword [eax + 4], 0
jne 0x1002b61d
mov ecx, dword [esi + 0x10]
call fcn.1007d8d0
test al, al
je 0x1002b61d
mov cl, 1
jmp 0x1002b61f
xor cl, cl
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov byte [esp + 0x17], cl
mov eax, dword [edx + 8]
lea edx, [esp + 0x34]
mov dword [esp + 0x44], eax
movzx eax, cl
mov ecx, dword [esp + 0x1c]
push edi
shl eax, 8
push 0
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
push edx
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x68], 0
call dword [eax + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
jns 0x1002b6cb
mov ecx, esi
call fcn.1002afc0
push dword [esp + 0x10]
call fcn.1002af70
add esp, 4
test al, al
je 0x1002b6c1
mov esi, 0x300e
jmp 0x1002b992
mov esi, 0x3003
jmp 0x1002b992
push str.Offscreen_back_buffer_texture
push dword [edi]
call fcn.1001cdc0
add esp, 8
cmp byte [esp + 0x17], 0
je 0x1002b72d
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0
push 0x10181690
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
js 0x1002b72d
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0xc]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
test edx, edx
je 0x1002b722
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
test eax, eax
jns 0x1002b72d
mov dword [esi + 0xc], 0
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push edx
push 0x1018195c
push ecx
mov eax, dword [ecx]
mov dword [esp + 0x1c], 0
call dword [eax]
test eax, eax
js 0x1002b750
mov eax, dword [esp + 0x10]
jmp 0x1002b760
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1002b75e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x54]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x18]
push edx
lea edx, [esp + 0xa4]
push edx
mov eax, dword [eax + 0x10]
push dword [edi]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 4
mov dword [esp + 0xb4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
push str.Offscreen_back_buffer_render_target
push dword [esi + 0x54]
call fcn.1001cdc0
mov eax, dword [esp + 0x20]
lea edx, [esi + 0x58]
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [eax + 0xc]
push edx
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], eax
push edx
push dword [edi]
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
push str.Offscreen_back_buffer_shader_resource
push dword [esi + 0x58]
call fcn.1001cdc0
add esp, 8
cmp dword [esp + 0x20], 0
je 0x1002b98d
mov eax, dword [esp + 0x64]
mov edx, 0
mov ecx, dword [esp + 0x68]
cmp ebp, eax
mov dword [esp + 0x34], 0
cmovl eax, ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
lea ebp, [esp + 0x34]
mov eax, ecx
mov dword [esp + 0x3c], edx
sub eax, ebx
mov dword [esp + 0x48], 1
push ebp
cmovs eax, edx
mov ebp, 0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x10]
push 0
push dword [esp + 0x28]
mov edx, dword [eax + 0x980]
mov eax, ebx
sub eax, ecx
push 0
cmovs eax, ebp
mov ecx, dword [edx]
push eax
push ebp
push ebp
push dword [edi]
push edx
call dword [ecx + 0xb8]
mov ecx, dword [esp + 0x20]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esi + 0x34], ebp
mov ebp, dword [esp + 0xb8]
je 0x1002b98d
cmp byte [esi + 0x4c], 0
je 0x1002b8b2
push ebx
push ebp
push 0
push 0
mov ecx, esi
call fcn.1002a8f0
cmp eax, 0x3000
jne 0x1002b98d
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1002b985
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x24]
test edx, edx
je 0x1002b950
cmp byte [esi + 0x30], 0
mov dword [esp + 0x24], 0
je 0x1002b901
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
push ecx
push 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [edx]
push edi
push edx
call dword [eax + 0x58]
jmp 0x1002b959
mov ecx, dword [esi + 0x18]
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x78]
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ebp
push 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [edx]
push edi
push edx
call dword [eax + 0x58]
jmp 0x1002b959
mov eax, dword [ecx]
push 0
push edi
push ecx
call dword [eax + 0x20]
mov ecx, dword [esi + 0x10]
mov edi, eax
add ecx, 0x410
mov byte [esi + 0x30], 0
call fcn.100801e0
cmp edi, 0x887a0005
je 0x1002b98d
cmp edi, 0x887a0007
je 0x1002b98d
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.100819f0
mov esi, 0x3000
mov eax, dword [esp + 0x6c]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x1002b9c0
mov ecx, dword [eax]
cmp byte [ecx], 0
je 0x1002b9c0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [eax + 4]
push ecx
push 0x45
call fcn.1002dc40
add esp, 0x28
mov eax, esi
pop esi
add esp, 0xa4
ret 8