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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x6c8ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x7a1070]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x7c]
mov eax, 0xd20d20d3
sub ecx, dword [esi + 0x78]
mov edi, dword [ebp + 0x80]
mov ebx, dword [ebp + 0x7c]
imul ecx
mov dword [ebp - 0x14], ebx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
setb al
movzx eax, al
push eax
call fcn.0058c010
mov eax, dword [esi + 0x5c]
add esp, 4
sub eax, dword [esi + 0x54]
imul edi, edi, 0x9c
sar eax, 2
add edi, dword [esi + 0x78]
mov dword [ebp - 0x1c], edi
mov ecx, dword [edi + 0x88]
sub ecx, dword [edi + 0x84]
sar ecx, 5
mov dword [ebp - 0x18], ecx
cmp eax, ecx
jae 0x60c81e
cmp ecx, 0x3fffffff
jbe 0x60c815
push str.vector_T__too_long
call fcn.0065a109
push ecx
lea ecx, [esi + 0x54]
call fcn.0060df00
push edi
lea ecx, [ebx + 0x164]
call fcn.0058ea80
lea eax, [esi + 0x90]
push eax
lea ecx, [ebx + 0x270]
call fcn.004bed80
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x18], ecx
jbe 0x60c963
mov dword [ebp - 0x20], ecx
jmp 0x60c853
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x84]
add eax, ecx
mov ecx, esi
push eax
call fcn.0060c5c0
test eax, eax
js 0x60ca12
push 0x70
lea eax, [ebp]
push 0
push eax
call fcn.00676230
add esp, 0xc
lea ecx, [ebp]
call fcn.0058c770
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], 0
call fcn.0058c770
lea eax, [ebp]
mov dword [ebp - 4], 1
lea edi, [ebx + 0x148]
push eax
mov ecx, edi
call fcn.0060d350
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.00591270
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0060e240
mov ecx, edi
mov ebx, dword [eax]
call fcn.005a48a0
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
sar ecx, 2
lea edi, [eax - 1]
cmp edi, ecx
setb cl
movzx ecx, cl
push ecx
call fcn.0058c010
mov eax, dword [esi + 0x54]
lea ecx, [ebx - 0x70]
add esp, 4
mov edi, dword [eax + edi*4]
push edi
call fcn.0058e520
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebx - 0x54]
call fcn.0058e520
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebx - 0x10], 0
mov dword [ebx - 0xc], 0
mov eax, dword [eax + 0x84]
mov al, byte [ecx + eax + 0x1c]
add ecx, 0x20
mov byte [ebx - 0x37], al
mov eax, dword [edi + 0x38]
mov dword [ebx - 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx - 0x30], eax
mov eax, dword [edi + 0x40]
mov dword [ebx - 0x2c], eax
mov eax, dword [edi + 0x4c]
mov dword [ebx - 0x20], eax
mov eax, dword [edi + 0x44]
mov dword [ebx - 0x28], eax
mov eax, dword [edi + 0x48]
mov dword [ebx - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ecx
cmp eax, dword [ebp - 0x18]
jb 0x60c850
mov ecx, dword [esi + 0x70]
mov eax, 0x78787879
sub ecx, dword [esi + 0x6c]
xor edi, edi
imul ecx
mov dword [ebp - 0x14], edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x60ca69
mov eax, dword [ebp - 0x1c]
add eax, 0x34
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x70]
mov eax, 0x78787879
sub ecx, dword [esi + 0x6c]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
setb al
movzx eax, al
push eax
call fcn.0058c010
mov edi, dword [esi + 0x6c]
add esp, 4
add edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push edi
call fcn.0058c7e0
test al, al
je 0x60c9e7
push edi
lea ecx, [ebx + 0x18]
call fcn.0058e520
cmp byte [edi + 0x1c], 0
jne 0x60ca59
lea ecx, [edi + 0x50]
call fcn.004be7b0
test al, al
je 0x60ca47
mov ecx, dword [esi + 0x70]
mov eax, 0x78787879
sub ecx, dword [esi + 0x6c]
mov edi, dword [ebp - 0x14]
add dword [ebp - 0x10], 0x88
inc edi
imul ecx
mov dword [ebp - 0x14], edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x60c991
jmp 0x60ca69
mov ecx, dword [ebp - 0x10]
shl ecx, 5
add ecx, dword [edi + 0x84]
call fcn.0058c8f0
push eax
mov ecx, edi
call fcn.0058c8f0
push eax
push str.Effect__s_requests_non_existent_texture:__s_n
push 1
push 0x7a28e0
call fcn.004b6190
add esp, 0x14
xor al, al
jmp 0x60cb79
lea eax, [edi + 0x50]
push eax
lea ecx, [ebx + 0x68]
call fcn.004bed80
mov byte [ebx + 0x34], 0
jmp 0x60ca69
lea eax, [edi + 0x20]
push eax
lea ecx, [ebx + 0x38]
call fcn.004bed80
mov byte [ebx + 0x34], 1
mov ecx, dword [esi + 0x64]
mov eax, 0x78787879
sub ecx, dword [esi + 0x60]
xor edi, edi
imul ecx
mov dword [ebp - 0x14], edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x60cb56
mov eax, dword [ebp - 0x1c]
add eax, 0x50
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x64]
mov eax, 0x78787879
sub ecx, dword [esi + 0x60]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
setb al
movzx eax, al
push eax
call fcn.0058c010
mov edi, dword [esi + 0x60]
add esp, 4
add edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push edi
call fcn.0058c7e0
test al, al
je 0x60caf9
push edi
lea ecx, [ebx + 0xa4]
call fcn.0058e520
cmp byte [edi + 0x1c], 0
jne 0x60cb40
lea ecx, [edi + 0x50]
call fcn.004be7b0
test al, al
je 0x60cb28
mov ecx, dword [esi + 0x64]
mov eax, 0x78787879
sub ecx, dword [esi + 0x60]
mov edi, dword [ebp - 0x14]
add dword [ebp - 0x10], 0x88
inc edi
imul ecx
mov dword [ebp - 0x14], edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x60caa0
jmp 0x60cb56
lea eax, [edi + 0x50]
push eax
lea ecx, [ebx + 0xf4]
call fcn.004bed80
mov byte [ebx + 0xc0], 0
jmp 0x60cb56
lea eax, [edi + 0x20]
push eax
lea ecx, [ebx + 0xc4]
call fcn.004bed80
mov byte [ebx + 0xc0], 1
mov esi, dword [ebp - 0x1c]
lea ecx, [ebx + 0x130]
lea eax, [esi + 0x6c]
push eax
call fcn.0060d430
lea eax, [esi + 0x78]
push eax
lea ecx, [ebx + 0x13c]
call fcn.0060d430
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.0065c160
lea esp, [ebp + 0x74]
pop ebp
ret 8