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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x71714b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, 0xd
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
cmp dword [eax], 8
je 0x5fb124
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x48]
lea ecx, [esp + 0xc]
mov edi, eax
push 0
push ecx
push str.PaintType
mov ecx, edi
call fcn.005f4430
mov esi, dword [eax]
mov ebx, 1
xor edx, edx
cmp esi, ebx
sete dl
mov eax, edx
test eax, eax
je 0x5fb15f
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x5fb174
push str.Invalid_or_missing_PaintType_in_pattern
push 0xffffffffffffffff
push 0
mov dword [esp + 0x38], ebx
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.005f2e10
lea ecx, [esp + 0xc]
push 0
push ecx
push str.TilingType
mov ecx, edi
call fcn.005f4430
mov esi, dword [eax]
xor edx, edx
cmp esi, ebx
sete dl
mov eax, edx
test eax, eax
je 0x5fb1a9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
jmp 0x5fb1be
push str.Invalid_or_missing_TilingType_in_pattern
push 0xffffffffffffffff
push 0
mov dword [esp + 0x3c], ebx
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.005f2e10
lea ecx, [esp + 0xc]
push 0
push ecx
push str.BBox
mov ecx, edi
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3ff00000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3ff00000
call fcn.005f4430
mov esi, dword [eax]
xor edx, edx
cmp esi, 6
sete dl
mov eax, edx
test eax, eax
je 0x5fb285
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
cmp eax, 4
jne 0x5fb285
xor esi, esi
lea ebx, [esp + 0x54]
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.006037c0
mov eax, dword [eax]
cmp eax, 1
je 0x5fb259
cmp eax, 2
jne 0x5fb26c
cmp dword [esp + 0x34], 1
jne 0x5fb266
fild dword [esp + 0x3c]
jmp 0x5fb26a
fld qword [esp + 0x3c]
fstp qword [ebx]
lea ecx, [esp + 0x34]
call fcn.005f2e10
inc esi
add ebx, 8
cmp esi, 4
jl 0x5fb23c
mov ebx, 1
jmp 0x5fb295
push str.Invalid_or_missing_BBox_in_pattern
push 0xffffffffffffffff
push ebx
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.005f2e10
lea edx, [esp + 0xc]
push 0
push edx
push str.XStep
mov ecx, edi
call fcn.005f4430
mov eax, dword [eax]
cmp eax, ebx
je 0x5fb2bc
cmp eax, 2
jne 0x5fb2de
cmp dword [esp + 0xc], ebx
jne 0x5fb2cc
fild dword [esp + 0x14]
fstp qword [esp + 0x1c]
jmp 0x5fb2fe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x5fb2fe
push str.Invalid_or_missing_XStep_in_pattern
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.005f2e10
lea edx, [esp + 0xc]
push 0
push edx
push str.YStep
mov ecx, edi
call fcn.005f4430
mov eax, dword [eax]
cmp eax, ebx
je 0x5fb325
cmp eax, 2
jne 0x5fb347
cmp dword [esp + 0xc], ebx
jne 0x5fb335
fild dword [esp + 0x14]
fstp qword [esp + 0x24]
jmp 0x5fb367
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jmp 0x5fb367
push str.Invalid_or_missing_YStep_in_pattern
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3ff00000
call fcn.006033f0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.005f2e10
lea edx, [esp + 0x44]
push 0
push edx
push str.Resources
mov ecx, edi
call fcn.005f4430
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 7
sete cl
mov eax, ecx
test eax, eax
jne 0x5fb3b4
lea ecx, [esp + 0x44]
call fcn.005f2e10
push str.Invalid_or_missing_Resources_in_pattern
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x50], 5
call fcn.006033f0
add esp, 0xc
lea edx, [esp + 0xc]
push 0
push edx
push str.Matrix
mov ecx, edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x3ff00000
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
call fcn.005f4430
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 6
sete cl
mov eax, ecx
test eax, eax
je 0x5fb4ab
mov edx, dword [esp + 0x14]
cmp dword [edx + 0xc], 6
jne 0x5fb4ab
xor esi, esi
lea edi, [esp + 0x74]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push 0
push eax
push esi
call fcn.006037c0
mov eax, dword [eax]
cmp eax, ebx
je 0x5fb487
cmp eax, 2
jne 0x5fb499
cmp dword [esp + 0x34], ebx
jne 0x5fb493
fild dword [esp + 0x3c]
jmp 0x5fb497
fld qword [esp + 0x3c]
fstp qword [edi]
lea ecx, [esp + 0x34]
call fcn.005f2e10
inc esi
add edi, 8
cmp esi, 6
jl 0x5fb46b
lea ecx, [esp + 0xc]
call fcn.005f2e10
push 0x90
call fcn.0044f661
add esp, 4
mov dword [esp + 0xa4], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0xb0], esi
je 0x5fb50f
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x74]
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov ecx, eax
call fcn.005fb540
mov esi, eax
lea ecx, [esp + 0x44]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005f2e10
mov ecx, dword [esp + 0xa8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret