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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, 0xd
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x10]
push 0
push eax
push str.Coords
mov ecx, esi
call fcn.005f4430
mov ecx, dword [eax]
mov edi, 6
cmp ecx, edi
jne 0x5fd7e2
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xc], edi
jne 0x5fd7e2
lea edx, [esp + 0x20]
push 0
push edx
push 0
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd39a
fild dword [eax + 8]
fstp qword [esp + 0x48]
jmp 0x5fd3a8
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
push 1
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd3d1
fild dword [eax + 8]
fstp qword [esp + 0x58]
jmp 0x5fd3df
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
push 2
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd408
fild dword [eax + 8]
fstp qword [esp + 0x40]
jmp 0x5fd416
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
push 3
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd43f
fild dword [eax + 8]
fstp qword [esp + 0x60]
jmp 0x5fd44d
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
push 4
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd476
fild dword [eax + 8]
fstp qword [esp + 0x50]
jmp 0x5fd484
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
push 5
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd4ad
fild dword [eax + 8]
fstp qword [esp + 0x68]
jmp 0x5fd4bb
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
lea ecx, [esp + 0x10]
call fcn.005f2e10
lea eax, [esp + 0x10]
push 0
push eax
push str.Domain
mov ecx, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x3ff00000
call fcn.005f4430
cmp dword [eax], edi
jne 0x5fd578
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xc], 2
jne 0x5fd578
lea edx, [esp + 0x20]
push 0
push edx
push 0
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd52a
fild dword [eax + 8]
fstp qword [esp + 0x38]
jmp 0x5fd538
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
push 1
call fcn.006037c0
cmp dword [eax], 1
jne 0x5fd561
fild dword [eax + 8]
fstp qword [esp + 0x30]
jmp 0x5fd56f
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x20]
call fcn.005f2e10
lea ecx, [esp + 0x10]
call fcn.005f2e10
lea eax, [esp + 0x10]
push 0
push eax
push str.Function
mov ecx, esi
call fcn.005f4430
cmp dword [esp + 0x10], edi
jne 0x5fd715
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0xc]
cmp ebx, 0x20
jle 0x5fd5b4
push str.Invalid_Function_array_in_shading_dictionary
jmp 0x5fd7e7
xor esi, esi
test ebx, ebx
jle 0x5fd5fd
lea edi, [esp + 0x70]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0
push edx
push esi
call fcn.006037c0
push 0
push 1
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0062bf10
add esp, 0x10
mov dword [edi], eax
test eax, eax
je 0x5fd6fa
lea ecx, [esp + 0x20]
call fcn.005f2e10
inc esi
add edi, 4
cmp esi, ebx
jl 0x5fd5be
lea ecx, [esp + 0x10]
call fcn.005f2e10
mov ecx, dword [ebp + 8]
xor esi, esi
lea edx, [esp + 0x10]
push esi
push edx
push str.Extend
xor edi, edi
call fcn.005f4430
cmp dword [eax], 6
jne 0x5fd661
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xc], 2
jne 0x5fd661
lea eax, [esp + 0x20]
push esi
push eax
push esi
call fcn.006037c0
mov esi, dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.005f2e10
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, dword [esp + 0x20]
push 1
call fcn.006037c0
mov edi, dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.005f2e10
lea ecx, [esp + 0x10]
call fcn.005f2e10
push 0x190
call fcn.0044f661
add esp, 4
test eax, eax
je 0x5fd74a
mov ecx, dword [esp + 0x34]
push edi
push esi
lea edx, [esp + 0x78]
push ebx
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push ecx
push edx
mov ecx, eax
call fcn.005fd010
mov esi, eax
jmp 0x5fd74c
lea ecx, [esp + 0x10]
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
mov ebx, 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.0062bf10
add esp, 0x10
mov dword [esp + 0x70], eax
test eax, eax
jne 0x5fd5fd
lea ecx, [esp + 0x10]
call fcn.005f2e10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.005fbcd0
test eax, eax
jne 0x5fd774
test esi, esi
je 0x5fd7f3
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 + 0x180]
mov dword [esp + 0x30], 0
test eax, eax
jle 0x5fd7b3
lea edi, [esi + 0x100]
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 0x5fd7bc
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x180]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x5fd78c
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 0x5fd7f3
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Missing_or_invalid_Coords_in_shading_dictionary
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret