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

Disassembly:
sub esp, 0xac
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov ebp, ecx
mov ecx, ebx
mov eax, dword [ebx]
push edi
call dword [eax + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
mov edi, eax
call dword [edx + 8]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov ecx, dword [eax + 0x950]
mov eax, dword [eax + 0x980]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], ecx
push eax
mov ecx, ebp
call fcn.10058f60
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10060058
mov edi, dword [esp + 0xc0]
mov dword [edi], eax
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [edi + 8], eax
call fcn.100899f0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10060049
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1006002e
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10060024
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060301
mov eax, edx
push ecx
push eax
call fcn.10174919
add esp, 8
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.mozglue.dll_free]
test esi, esi
je 0x100600b0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10060099
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1006008f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060301
mov eax, edx
push ecx
push eax
call fcn.10174919
add esp, 8
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call edi
add esp, 4
mov ecx, dword [ebp]
call fcn.10081580
mov esi, dword [esp + 0x10]
push 0
push esi
mov eax, dword [esi]
call dword [eax + 0x44]
mov eax, dword [esi]
push 4
push esi
call dword [eax + 0x60]
mov eax, dword [esi]
lea ecx, [ebp + 0x1f4]
push dword [esp + 0x20]
mov esi, dword [eax + 0x2c]
call fcn.1005ff00
push 0
push 0
push eax
push dword [esp + 0x1c]
call esi
mov esi, dword [esp + 0x10]
push 0
push 0
push 0
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0xac]
mov eax, dword [esi]
push 0xffffffffffffffff
push 0
push esi
call dword [eax + 0x90]
mov ecx, dword [esi]
lea eax, [ebp + 0x27c]
push 0
push eax
push 1
push esi
call dword [ecx + 0x84]
mov eax, dword [esi]
push 0xfffffff
push 0
push 0
push esi
call dword [eax + 0x8c]
movd xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x54]
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3f800000
movss dword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
push 1
push esi
movss dword [esp + 0x6c], xmm0
mov eax, dword [esi]
call dword [eax + 0xb0]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
push ecx
push 1
push 0
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
lea ecx, [ebp + 0x20c]
push dword [esp + 0x20]
mov esi, dword [eax + 0x24]
call fcn.1005fea0
push 0
push 0
push eax
push dword [esp + 0x1c]
call esi
mov ecx, dword [esp + 0x10]
push 0
push 6
push ecx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], 1
call dword [eax + 0x10]
push eax
call fcn.1004b380
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x14], eax
push dword [esi + 8]
call fcn.100941a0
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x2c]
mov dword [esp + 0x74], ecx
add esp, 8
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 1
mov ecx, dword [esi + 8]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
push edx
push 0
mov dword [esp + 0x40], eax
lea edx, [esp + 0x74]
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 8
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x10060307
push str.Error_creating_depth_resolve_dest_texture.
lea eax, [esp + 0x18]
push 0x505
push eax
call fcn.101314c0
mov esi, dword [esp + 0xcc]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
call fcn.100899f0
lea ecx, [esp + 0x1c]
call fcn.100016b0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.resolveDepthDest
push dword [esp + 0x28]
call fcn.1001cdc0
push dword [ebx + 0x14]
lea eax, [esp + 0xa4]
push dword [esp + 0x30]
push eax
call fcn.10095c30
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov ecx, ebp
push dword [esp + 0x10]
push dword [eax]
lea eax, [esp + 0x30]
push 8
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0x5c]
push eax
push 0
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
lea eax, [ebp + 0x258]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1004f470
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10060417
mov edi, dword [esp + 0xc0]
mov dword [edi], eax
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [edi + 8], eax
call fcn.100899f0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100603fc
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x100603e1
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100603d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060301
mov eax, edx
push ecx
push eax
call fcn.10174919
add esp, 8
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call dword [sym.imp.mozglue.dll_free]
add esp, 4
lea ecx, [esp + 0x98]
call fcn.1008a0f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10060469
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10060452
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10060448
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10060301
mov eax, edx
push ecx
push eax
call fcn.10174919
add esp, 8
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call edi
add esp, 4
mov esi, dword [esp + 0xc0]
lea eax, [esp + 0x98]
push eax
lea ecx, [esi + 0xc]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10089c40
lea ecx, [esp + 0x98]
call fcn.1008a0f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8