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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, 0xd
push ebx
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x20]
push 0
push eax
push str.Domain
mov ecx, edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x3ff00000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3ff00000
call fcn.005f4430
mov ecx, dword [eax]
mov esi, 6
cmp ecx, esi
jne 0x5fc337
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0xc], 4
jne 0x5fc337
lea edx, [esp + 0x10]
push 0
push edx
push 0
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc27b
fild dword [eax + 8]
fstp qword [esp + 0x38]
jmp 0x5fc289
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 1
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc2b2
fild dword [eax + 8]
fstp qword [esp + 0x40]
jmp 0x5fc2c0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 2
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc2e9
fild dword [eax + 8]
fstp qword [esp + 0x48]
jmp 0x5fc2f7
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 3
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc320
fild dword [eax + 8]
fstp qword [esp + 0x30]
jmp 0x5fc32e
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
lea ecx, [esp + 0x20]
call fcn.005f2e10
lea eax, [esp + 0x20]
push 0
push eax
push str.Matrix
mov ecx, edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x3ff00000
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x3ff00000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.005f4430
cmp dword [eax], esi
jne 0x5fc517
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0xc], esi
jne 0x5fc517
lea edx, [esp + 0x10]
push 0
push edx
push 0
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc3ed
fild dword [eax + 8]
fstp qword [esp + 0x50]
jmp 0x5fc3fb
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 1
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc424
fild dword [eax + 8]
fstp qword [esp + 0x58]
jmp 0x5fc432
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 2
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc45b
fild dword [eax + 8]
fstp qword [esp + 0x60]
jmp 0x5fc469
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 3
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc492
fild dword [eax + 8]
fstp qword [esp + 0x68]
jmp 0x5fc4a0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 4
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc4c9
fild dword [eax + 8]
fstp qword [esp + 0x70]
jmp 0x5fc4d7
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
push 5
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fc500
fild dword [eax + 8]
fstp qword [esp + 0x78]
jmp 0x5fc50e
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0x10]
call fcn.005f2e10
lea ecx, [esp + 0x20]
call fcn.005f2e10
lea eax, [esp + 0x20]
push 0
push eax
push str.Function
mov ecx, edi
call fcn.005f4430
cmp dword [esp + 0x20], esi
jne 0x5fc62d
mov ecx, dword [esp + 0x28]
mov ebx, dword [ecx + 0xc]
cmp ebx, 0x20
jle 0x5fc56c
push str.Invalid_Function_array_in_shading_dictionary
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.005f2e10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
test ebx, ebx
jle 0x5fc5b7
lea edi, [esp + 0x80]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push 0
push edx
push esi
call fcn.006037c0
push 0
push 1
lea eax, [esp + 0x18]
push 2
push eax
call fcn.0062bf10
add esp, 0x10
mov dword [edi], eax
test eax, eax
lea ecx, [esp + 0x10]
je 0x5fc616
call fcn.005f2e10
inc esi
add edi, 4
cmp esi, ebx
jl 0x5fc579
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.005f2e10
push 0x198
call fcn.0044f661
add esp, 4
test eax, eax
je 0x5fc666
lea edx, [esp + 0x80]
push ebx
lea ecx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push ecx
mov ecx, eax
call fcn.005fbf50
mov esi, eax
jmp 0x5fc668
call fcn.005f2e10
lea ecx, [esp + 0x20]
call fcn.005f2e10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push 2
push ecx
mov ebx, 1
call fcn.0062bf10
add esp, 0x10
mov dword [esp + 0x80], eax
test eax, eax
jne 0x5fc5b7
lea ecx, [esp + 0x20]
call fcn.005f2e10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
push edi
mov ecx, esi
call fcn.005fbcd0
test eax, eax
jne 0x5fc689
test esi, esi
je 0x5fc680
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x190]
mov dword [esp + 0x30], 0
test eax, eax
jle 0x5fc6c8
lea edi, [esi + 0x110]
mov ecx, dword [esi + 0xc]
mov eax, dword [edi]
mov edx, dword [ecx]
mov ebx, dword [eax + 0xc]
call dword [edx + 0x18]
cmp ebx, eax
jne 0x5fc6d1
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x190]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x5fc6a1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_function_in_shading_dictionary
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0xc
test esi, esi
je 0x5fc6ee
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret