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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x7a1070]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x24], eax
mov eax, 0x38e38e39
mov dword [esp + 0x14], ebx
push esi
push edi
mov edx, dword [ebx + 0x88]
sub edx, dword [ebx + 0x84]
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x60c5a2
mov ecx, dword [ebx + 0x88]
mov eax, 0x38e38e39
sub ecx, dword [ebx + 0x84]
imul ecx
mov dword [esp + 0x28], 0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x60c41e
xor eax, eax
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov edi, dword [ebx + 0x84]
xor ecx, ecx
add edi, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x7c]
mov eax, 0xd20d20d3
sub ecx, dword [ebx + 0x78]
imul ecx
mov dword [esp + 0x20], edi
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x60c385
xor esi, esi
mov dword [esp + 0x24], esi
mov eax, dword [ebx + 0x78]
add eax, esi
xor esi, esi
mov dword [esp + 0x18], eax
lea ebx, [eax + 0x90]
mov ecx, ebx
call fcn.0052d390
test eax, eax
je 0x60c2c5
xor edi, edi
mov ecx, ebx
call fcn.004b1150
mov ebx, dword [eax]
mov eax, dword [esp + 0x20]
add ebx, edi
add eax, 0x30
push eax
lea eax, [ebx + 0x18]
push eax
call fcn.005ae490
add esp, 8
test al, al
jne 0x60c303
mov ebx, dword [esp + 0x18]
inc esi
add ebx, 0x90
add edi, 0x30
mov ecx, ebx
call fcn.0052d390
cmp esi, eax
jb 0x60c285
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, 0xd20d20d3
mov esi, dword [esp + 0x24]
inc dword [esp + 0x10]
add esi, 0x9c
mov dword [esp + 0x24], esi
mov ecx, dword [ebx + 0x7c]
sub ecx, dword [ebx + 0x78]
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x60c267
jmp 0x60c385
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0xac
mov dword [edi + 0x10], eax
lea eax, [edi + 0x30]
push eax
mov dword [edi], 2
call fcn.00510e60
push str.DEPTH
call fcn.004ace40
add esp, 4
push eax
push ecx
push str.DEPTH
mov ecx, ebx
call fcn.0060e3a0
cmp eax, 0xffffffff
je 0x60c354
mov eax, dword [edi + 8]
and eax, 0x80000000
or eax, 0
je 0x60c3d1
push str.COLOR
call fcn.004ace40
add esp, 4
push eax
push ecx
push str.COLOR
mov ecx, ebx
call fcn.0060e3a0
cmp eax, 0xffffffff
je 0x60c381
mov eax, dword [edi + 8]
and eax, 0x40000000
or eax, 0
je 0x60c3d1
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
lea ecx, [ebx + 0xc4]
call fcn.0060cc50
mov ecx, dword [ebx + 0x88]
mov eax, 0x38e38e39
sub ecx, dword [ebx + 0x84]
mov edi, dword [esp + 0x28]
add dword [esp + 0x14], 0x48
inc edi
imul ecx
mov dword [esp + 0x28], edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x60c41e
mov eax, dword [esp + 0x14]
jmp 0x60c230
lea ecx, [edi + 0x30]
call fcn.004b0d90
push eax
lea ecx, [ebx + 0x18]
call fcn.004b0d90
push eax
lea eax, [esp + 0x3c]
push str.Surface_type_mismatch_in__EFFECT_.___s__has_different_type_than___s__n
push eax
call fcn.00606f00
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push eax
call fcn.004bee30
lea ecx, [esp + 0x34]
call fcn.004b0f30
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0065c160
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0xc8]
lea esi, [ebx + 0xc4]
sub eax, dword [esi]
xor ecx, ecx
sar eax, 5
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
test eax, eax
je 0x60c5a2
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 5
cmp ecx, eax
push str.SkipGraph::getNodeData_nodeId_out_of_range
setb al
movzx eax, al
push eax
call fcn.0054d050
mov eax, dword [esi]
xor edi, edi
add esp, 8
mov dword [esp + 0x10], edi
mov ebx, dword [eax + ebx + 4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax + 0x88]
sub ecx, dword [eax + 0x84]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x60c57e
mov dword [esp + 0x14], edi
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 5
cmp edi, eax
push str.SkipGraph::getNodeData_nodeId_out_of_range
setb al
movzx eax, al
push eax
call fcn.0054d050
mov eax, dword [esi]
add esp, 8
mov ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
cmp ebx, ecx
je 0x60c54b
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x60c54b
mov eax, dword [edx + 0x88]
xor edi, edi
sub eax, dword [edx + 0x84]
sar eax, 5
test eax, eax
je 0x60c547
xor esi, esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0x84]
add eax, esi
push eax
call fcn.0058c7e0
test al, al
jne 0x60c52e
mov ecx, dword [ebx + 0x10]
inc edi
add esi, 0x20
mov eax, dword [ecx + 0x88]
sub eax, dword [ecx + 0x84]
mov ecx, dword [esp + 0x2c]
sar eax, 5
cmp edi, eax
jb 0x60c4f2
mov esi, dword [esp + 0x28]
jmp 0x60c547
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0060cba0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc edi
add dword [esp + 0x14], 0x20
mov dword [esp + 0x10], edi
mov ecx, dword [eax + 0x88]
sub ecx, dword [eax + 0x84]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x60c4a0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
sub eax, dword [esi]
inc ecx
mov ebx, dword [esp + 0x20]
add ebx, 0x20
sar eax, 5
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
cmp ecx, eax
jb 0x60c447
mov ecx, dword [esp + 0x4c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065c160
mov esp, ebp
pop ebp
ret 4