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

Disassembly:
sub esp, 0x100
push ebp
mov ebp, dword [esp + 0x118]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], edi
test ebp, ebp
jne 0x1006f672
mov esi, dword [esp + 0x110]
push str.Failed_to_retrieve_the_internal_draw_render_target_from_the_draw_framebuffer.
push 0x505
push esi
call fcn.101314c0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x100
ret 0x28
mov eax, dword [ebp]
mov ecx, ebp
mov esi, dword [ebp + 0x14]
push ebx
call dword [eax + 0x20]
push esi
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.10095cb0
mov eax, dword [ebp]
add esp, 0xc
mov ecx, ebp
call dword [eax + 0x34]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x6c], eax
call dword [edx + 0x24]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0xc4], eax
call dword [edx + 0x28]
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x70], eax
test ebx, ebx
jne 0x1006f6e1
mov esi, dword [esp + 0x114]
push str.Failed_to_retrieve_the_internal_read_render_target_from_the_read_framebuffer.
push 0x505
push esi
call fcn.101314c0
add esp, 0xc
jmp 0x10070025
lea ecx, [esp + 0xc8]
call fcn.100899f0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
call dword [eax + 0x14]
cmp eax, 1
jle 0x1006f848
push dword [esp + 0x138]
lea eax, [esp + 0x98]
mov ecx, edi
push dword [esp + 0x138]
push ebx
push eax
call fcn.100832d0
cmp dword [esp + 0x94], 0
je 0x1006f78d
mov ecx, dword [esp + 0x114]
lea eax, [esp + 0x94]
push eax
call fcn.10047940
lea ecx, [esp + 0xa0]
call fcn.1008a0f0
lea ecx, [esp + 0x9c]
call fcn.100016b0
lea ecx, [esp + 0xc8]
call fcn.1008a0f0
lea ecx, [esp + 0xec]
call fcn.1008a0f0
mov eax, dword [esp + 0x114]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x100
ret 0x28
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xcc]
call fcn.1008a160
lea ecx, [esp + 0xa0]
call fcn.1008a0f0
lea ecx, [esp + 0x9c]
call fcn.100016b0
cmp byte [esp + 0x138], 0
jne 0x1006f8ac
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0xc8]
mov edi, dword [edi + 0x950]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 4
mov dword [esp + 0xa0], 1
mov dword [esp + 0x9c], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
call fcn.10098900
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x98]
push ecx
push eax
push edi
call esi
test eax, eax
jns 0x1006f8ac
mov esi, dword [esp + 0x114]
push str.Renderer11::blitRenderbufferRect:_Failed_to_create_temporary_SRV.
push 0x505
push esi
call fcn.101314c0
add esp, 0xc
jmp 0x10070019
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 0x14]
call dword [eax + 0x20]
push esi
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.10095cb0
add esp, 0xc
lea ecx, [esp + 0xc8]
push eax
call fcn.1008a160
lea ecx, [esp + 0x94]
call fcn.1008a0f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x48], eax
call dword [edx + 0x30]
mov ecx, eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x1006f8a6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 4]
mov dword [esp + 0x80], eax
mov ecx, ebp
mov eax, dword [ebp]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 1
call dword [eax + 8]
mov edx, dword [ebp]
mov ecx, ebp
mov esi, eax
call dword [edx + 4]
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x118]
mov dword [esp + 0x74], eax
movups xmm0, xmmword [edi]
mov dword [esp + 0x7c], 1
movups xmm1, xmmword [esi]
mov dword [esp + 0x2c], edi
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x30], esi
movd ecx, xmm1
movups xmmword [esp + 0x50], xmm1
mov dword [esp + 0x18], ecx
test ecx, ecx
jns 0x1006f951
mov eax, ecx
neg eax
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
push eax
call fcn.1006bb30
add dword [esp + 0x1c], eax
sub dword [esp + 0x24], eax
jmp 0x1006f959
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x68], ebp
test ebp, ebp
jns 0x1006f998
mov eax, ebp
lea ecx, [esp + 0x8c]
neg eax
add ebp, eax
sub esi, eax
push eax
mov dword [esp + 0x6c], ebp
call fcn.1006bb80
add dword [esp + 0x20], eax
sub dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add eax, ecx
jns 0x1006f9ba
neg eax
add ecx, eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
push eax
call fcn.1006bb30
add dword [esp + 0x24], eax
lea eax, [esi + ebp]
test eax, eax
jns 0x1006f9d6
neg eax
lea ecx, [esp + 0x8c]
push eax
add esi, eax
call fcn.1006bb80
add dword [esp + 0x28], eax
mov edi, dword [esp + 0x12c]
test edi, edi
je 0x1006f9fa
push 0
lea eax, [esp + 0x20]
push edi
push eax
call fcn.1014e140
add esp, 0xc
mov byte [esp + 0x12], 1
test al, al
jne 0x1006f9ff
mov byte [esp + 0x12], 0
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.1014e780
mov edx, dword [ebx]
add esp, 4
mov edi, eax
mov ecx, ebx
mov dword [esp + 0x2c], edi
call dword [edx + 0x10]
push eax
call fcn.1014e780
mov ecx, dword [esp + 0x128]
add esp, 4
cmp byte [esp + 0x130], 0
mov dword [esp + 0x44], eax
mov ecx, dword [ecx + 0x14]
je 0x1006fa47
mov ecx, dword [ecx + 0x10]
jmp 0x1006fa4a
mov ecx, dword [ecx + 0x14]
push ecx
call fcn.100940b0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], ecx
cmp dword [eax + 0x14], 0
jbe 0x1006fa73
cmp dword [edi + 0x14], 0
jne 0x1006fa73
cmp dword [ecx + 0xc], 0
jbe 0x1006fa73
mov al, 1
jmp 0x1006fa75
xor al, al
cmp byte [esp + 0x12], 0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x17], al
mov byte [esp + 0x8c], al
jne 0x1006fad6
test al, al
mov eax, dword [esp + 0x38]
jne 0x1006fada
test ecx, ecx
jne 0x1006fada
cmp eax, dword [esp + 0x80]
jne 0x1006fada
test ebp, ebp
jne 0x1006fada
cmp esi, dword [esp + 0x84]
jne 0x1006fada
cmp dword [esp + 0x1c], ebp
jne 0x1006fada
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
jne 0x1006fade
test edx, edx
jne 0x1006fade
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x28], edi
jne 0x1006fade
mov byte [esp + 0x13], 1
jmp 0x1006fae3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x13], 0
mov edi, dword [esp + 0x12c]
cmp eax, dword [esp + 0x24]
jne 0x1006fafb
mov byte [esp + 0x14], 0
cmp esi, dword [esp + 0x28]
je 0x1006fb00
mov byte [esp + 0x14], 1
test eax, eax
js 0x1006fb1b
test esi, esi
js 0x1006fb1b
cmp dword [esp + 0x24], 0
jl 0x1006fb1b
cmp dword [esp + 0x28], 0
mov byte [esp + 0x16], 0
jge 0x1006fb20
mov byte [esp + 0x16], 1
test ecx, ecx
js 0x1006fb68
add eax, ecx
cmp eax, dword [esp + 0x80]
jg 0x1006fb68
test ebp, ebp
js 0x1006fb68
lea eax, [esi + ebp]
cmp eax, dword [esp + 0x84]
jg 0x1006fb68
mov ecx, dword [esp + 0x1c]
test ecx, ecx
js 0x1006fb68
mov eax, dword [esp + 0x24]
add eax, ecx
cmp eax, dword [esp + 0x74]
jg 0x1006fb68
test edx, edx
js 0x1006fb68
mov eax, dword [esp + 0x28]
add eax, edx
mov byte [esp + 0x15], 0
cmp eax, dword [esp + 0x78]
jle 0x1006fb6d
mov byte [esp + 0x15], 1
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x14], 0
jbe 0x1006fb89
cmp byte [esp + 0x134], 0
mov dword [esp + 0x40], 1
jne 0x1006fb91
mov dword [esp + 0x40], 0
cmp dword [eax + 0x18], 0
jbe 0x1006fba9
cmp byte [esp + 0x138], 0
mov dword [esp + 0x44], 1
jne 0x1006fbb1
mov dword [esp + 0x44], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x124]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1006fd4a
cmp byte [esp + 0x14], 0
jne 0x1006fd4a
cmp byte [esp + 0x15], 0
jne 0x1006fd4a
cmp byte [esp + 0x16], 0
jne 0x1006fd4a
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
jne 0x1006fd4a
cmp byte [esp + 0x17], 0
jne 0x1006fd4a
cmp byte [esp + 0x134], 0
jne 0x1006fc1c
cmp byte [esp + 0x138], 0
je 0x1006fc27
cmp byte [esp + 0x13], 0
je 0x1006fd4a
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x40], edx
add ebp, ebx
cmp byte [esp + 0x12], 0
mov edx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x5c], ebp
lea ebx, [esi + eax]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 1
je 0x1006fcf2
mov esi, dword [edi]
cmp ecx, esi
jge 0x1006fc8d
mov eax, esi
mov dword [esp + 0x40], esi
sub eax, ecx
add eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov edi, dword [edi + 4]
cmp edx, edi
jge 0x1006fca4
mov eax, edi
mov dword [esp + 0x44], edi
sub eax, edx
add eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x24]
mov edx, dword [edx + 8]
lea ecx, [edx + esi]
cmp eax, ecx
jle 0x1006fccd
sub edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
add edx, esi
add ebp, edx
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
add ecx, edi
lea eax, [esi + edx]
cmp eax, ecx
jle 0x1006fcf2
sub ecx, esi
sub ecx, edx
add ebx, ecx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [ecx + 0x980]
lea ecx, [esp + 0xc8]
mov eax, dword [ebx]
mov edi, dword [eax + 0xb8]
call fcn.10098900
lea ecx, [esp + 0xec]
mov esi, eax
call fcn.10098900
xor edx, edx
lea ecx, [esp + 0x50]
cmp byte [esp + 0x13], dl
cmovne ecx, edx
push ecx
push dword [esp + 0x4c]
push esi
push edx
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x84]
push eax
push ebx
call edi
jmp 0x1006ffe8
cmp byte [esp + 0x134], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x928]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 1
je 0x1006fee5
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x74]
push edi
push eax
lea eax, [esp + 0x58]
push eax
je 0x1006fe56
push dword [esp + 0x78]
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1004fd70
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006fe48
mov esi, dword [esp + 0x114]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
lea ecx, [esp + 0x34]
call fcn.100016b0
jmp 0x10070019
lea ecx, [esp + 0x34]
call fcn.100016b0
jmp 0x1006ffe8
push dword [esp + 0x7c]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x48]
push eax
call fcn.1004fa40
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006fea4
mov esi, dword [esp + 0x114]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov dword [esp + 0x34], 0
mov dword [esi + 8], ecx
jmp 0x10070019
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1006ffe8
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1006ffcd
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1006ffc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006ffc1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp byte [esp + 0x138], 0
je 0x1006ff3a
push edi
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10050910
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1006fe1b
jmp 0x1006ff92
mov eax, dword [esp + 0x2c]
push 0
push 0
push dword [esp + 0x94]
push dword [esp + 0x134]
push dword [eax + 0x38]
lea eax, [esp + 0x88]
push edi
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0xe4]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x5c]
push eax
call fcn.10051840
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1006fe80
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1006ffe8
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1006ffcd
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1006ffc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006fedf
mov eax, edx
push ecx
push eax
call fcn.10174919
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push esi
mov byte [esi], 0
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1006fffe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x3c], 0
mov esi, dword [esp + 0x114]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [esp + 0xc8]
call fcn.1008a0f0
lea ecx, [esp + 0xec]
call fcn.1008a0f0
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x100
ret 0x28