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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x8f0
test eax, eax
je 0x48a88f
push eax
call sub.CRLUTL110.dll__MEMMANLock_4
test eax, eax
mov dword [esp + 0xc], eax
je 0x48a88f
lea ecx, [esp + 8]
lea edx, [esp]
push ecx
push edx
push eax
call fcn.0048a970
mov eax, dword [esp + 0x910]
mov ecx, dword [esp + 0x914]
add esp, 0xc
test eax, eax
jne 0x489c89
test ecx, ecx
jne 0x489c89
mov eax, 0x3e030
mov dword [esp + 0x904], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x928]
push edi
push 1
mov dword [esi], eax
mov eax, dword [esp + 0x924]
push eax
push esi
mov dword [esi + 4], ecx
call sub.CRLUTL110.dll__UTLTransformPoint_12
push 1
push esi
call fcn.0048a9b0
mov ecx, dword [esp + 0x92c]
add esp, 8
push 1
push ecx
push esi
call sub.CRLUTL110.dll__UTLTransformPoint_12
fild dword [esp + 0x914]
fstp qword [esp + 0x30]
fild dword [esp + 0x918]
fstp qword [esp + 0x48]
fild dword [esi + 4]
fmul qword [esp + 0x30]
fild dword [esi]
fmul qword [esp + 0x48]
fsubp st(1)
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
fld qword [esp + 0x30]
fmul qword [esp + 0x30]
faddp st(1)
fsqrt
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x904]
fild dword [esp + 0x28]
fmul qword [0x51fd28]
fst qword [esp + 0x20]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
je 0x489d42
fstp st(0)
mov dword [esp + 0x14], 0x1f018
mov dword [esp + 0x938], 0
jmp 0x489e9e
fmul qword [0x51fd70]
fdiv qword [esp + 0x20]
fld st(0)
fcom qword [0x51be98]
fnstsw ax
test ah, 0x41
jne 0x489d63
fadd qword [0x51be90]
jmp 0x489d69
fsub qword [0x51be90]
fld st(1)
fcom qword [0x51be98]
fnstsw ax
test ah, 0x41
jne 0x489d80
fadd qword [0x51be90]
jmp 0x489d86
fsub qword [0x51be90]
call sub.MSVCRT.dll__ftol
mov edi, eax
neg edi
call sub.MSVCRT.dll__ftol
fcom qword [0x51be98]
cmp eax, edi
fnstsw ax
jl 0x489dc3
test ah, 0x41
jne 0x489db4
fadd qword [0x51be90]
call sub.MSVCRT.dll__ftol
mov edi, eax
jmp 0x489ddf
fsub qword [0x51be90]
call sub.MSVCRT.dll__ftol
mov edi, eax
jmp 0x489ddf
test ah, 0x41
jne 0x489dd0
fadd qword [0x51be90]
jmp 0x489dd6
fsub qword [0x51be90]
call sub.MSVCRT.dll__ftol
mov edi, eax
neg edi
mov eax, dword [esp + 0x938]
mov dword [esp + 0x14], edi
test eax, eax
jne 0x489e7c
cmp dword [ebx], 0
je 0x489e6d
lea edx, [esp + 0x58]
push 2
push edx
push esi
push ebx
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
call dword [ebx]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x74]
mov eax, edx
mov dword [esi + 8], ecx
sub eax, ecx
sub ecx, edx
add esp, 0x10
cmp ecx, eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebp
mov dword [esp + 0x938], 0
jl 0x489e4a
mov eax, ecx
cmp eax, 2
jl 0x489e60
mov eax, ebx
sub eax, ebp
sub ebp, ebx
cmp ebp, eax
jl 0x489e5b
mov eax, ebp
cmp eax, 2
jge 0x489e7c
mov dword [esp + 0x938], 1
jmp 0x489e7c
xor eax, eax
cmp edi, 8
setl al
mov dword [esp + 0x938], eax
cmp edi, 0xde4
jge 0x489e8e
mov dword [esp + 0x14], 0xde4
jmp 0x489e9e
cmp edi, 0x1f018
jle 0x489e9e
mov dword [esp + 0x14], 0x1f018
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x91c]
mov edi, dword [esp + 0x910]
xor ebx, ebx
fild dword [ecx]
test eax, eax
fimul dword [esp + 0x14]
fmul qword [0x51fd28]
fmul qword [0x51fd68]
jne 0x489f1e
mov eax, dword [esp + 0x90c]
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sub edx, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
fild dword [esp + 0x44]
fild dword [esp + 0x40]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
call sub.MSVCRT.dll__ftol
fstp st(0)
fstp st(0)
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul qword [0x51fd28]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x489f1e
mov ebx, 1
fld qword [esp + 0x30]
fmul st(1)
fdiv qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x48]
fmul st(1)
mov dword [esp + 0x40], eax
fdiv qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
mov ebp, dword [edi + 4]
test ebx, ebx
mov ebx, dword [edi]
fstp st(0)
je 0x489f5f
mov ecx, dword [esp + 0x40]
mov edx, ebx
sub edx, ecx
mov ecx, dword [edi + 4]
sub ecx, eax
mov dword [edi], edx
mov dword [edi + 4], ecx
jmp 0x489f67
mov edx, dword [esp + 0x40]
add ebx, edx
add ebp, eax
lea edx, [esp + 0x90]
push edx
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
fild dword [esp + 0x14]
fmul dword [0x51fd60]
fld qword [esp + 0x48]
fld qword [esp + 0x30]
fpatan
fcom qword [0x51be98]
fnstsw ax
test ah, 1
je 0x489f9d
fld qword [0x51f990]
jmp 0x489fa3
fld qword [0x51be90]
fxch st(1)
fmul qword [0x51cf38]
fadd st(1)
call sub.MSVCRT.dll__ftol
fstp st(0)
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul qword [0x51fd58]
fcom qword [0x51be98]
fnstsw ax
test ah, 0x41
jne 0x489fd7
fadd qword [0x51be90]
jmp 0x489fdd
fsub qword [0x51be90]
call sub.MSVCRT.dll__ftol
mov edi, eax
mov eax, dword [esp + 0x930]
cmp eax, 0x4803
jne 0x48a010
push 0
push 0
fld st(0)
sub esp, 8
lea eax, [esp + 0xa0]
fchs
fstp qword [esp]
sub esp, 8
fstp qword [esp]
push eax
jmp 0x48a02c
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push 0
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0xa8]
push ecx
call sub.CRLUTL110.dll__UTLStretchMatrix_28
lea edx, [esp + 0x90]
push edi
push edx
call sub.CRLUTL110.dll__UTLRotateMatrix_8
push ebp
lea eax, [esp + 0x94]
push ebx
push eax
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ebp, ebp
mov ax, word [ecx + 4]
mov dword [esp + 0x48], ebp
cmp eax, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebp
jle 0x48a87e
mov edi, dword [esp + 0x928]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [ebx]
mov edx, ecx
shr edx, 6
sub edx, 0
je 0x48a896
dec edx
je 0x48a42d
dec edx
jne 0x48a833
mov edx, dword [eax - 0x18]
push 4
mov dword [esp + 0x74], edx
mov ecx, dword [eax - 0x14]
mov dword [esp + 0x78], ecx
mov edx, dword [eax - 0x10]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [eax - 8]
mov dword [esp + 0x84], edx
mov ecx, dword [eax - 4]
mov dword [esp + 0x88], ecx
mov edx, dword [eax]
mov dword [esp + 0x8c], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x74]
push ecx
push edx
mov dword [esp + 0x98], eax
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x934]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xf0]
push eax
mov eax, dword [esp + 0x908]
add edx, 0xffffffe8
push ecx
push edx
push eax
call fcn.0048b230
mov ebx, eax
mov eax, dword [esp + 0x58]
add esp, 0x10
inc ebx
test eax, eax
je 0x48a184
lea edx, [ebx + ebp]
cmp edx, 0x3e80
jg 0x48a158
test ebx, ebx
jle 0x48a158
lea eax, [edi + ebp*8]
lea ecx, [esp + 0xf0]
mov ebp, edx
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
add eax, 8
dec ebx
jne 0x48a145
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
dec eax
cmp ecx, eax
je 0x48a173
mov ecx, dword [esp + 0x18]
test byte [ecx + 1], 0xc0
jne 0x48a82f
cmp ebp, 0x3e80
jge 0x48a82f
jmp 0x48a8e2
mov eax, dword [esp + 0x938]
test eax, eax
je 0x48a1fc
lea edx, [ebx + ebp]
cmp edx, 0x3e80
jg 0x48a1bd
test ebx, ebx
jle 0x48a1bd
lea eax, [edi + ebp*8]
lea ecx, [esp + 0xf0]
mov ebp, edx
mov edx, dword [ecx]
add ecx, 8
mov dword [eax], edx
mov edx, dword [ecx - 4]
mov dword [eax + 4], edx
add eax, 8
dec ebx
jne 0x48a1aa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
dec eax
cmp ecx, eax
je 0x48a1d8
mov ecx, dword [esp + 0x18]
test byte [ecx + 1], 0xc0
jne 0x48a82f
lea edx, [esp + 0x90]
push ebp
push edx
push edi
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x904]
push ebp
push edi
push eax
call dword [eax + 8]
add esp, 0xc
jmp 0x48a81d
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [eax - 0x14]
mov edx, dword [eax - 0x18]
push ecx
mov ecx, dword [eax - 0xc]
push edx
mov edx, dword [eax - 0x10]
push ecx
push edx
call fcn.00489bf0
mov eax, dword [esi]
add esp, 0x14
test eax, eax
jne 0x48a243
mov eax, dword [esi + 4]
test eax, eax
jne 0x48a243
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [eax - 0x14]
mov edx, dword [eax - 0x18]
push ecx
mov ecx, dword [eax - 4]
push edx
mov edx, dword [eax - 8]
push ecx
push edx
call fcn.00489bf0
add esp, 0x14
mov eax, dword [esp + 0x10]
lea ebp, [esi + ebx*8]
mov dword [esp + 0x30], ebp
add ebp, 0xfffffff8
mov ecx, dword [eax - 4]
mov edx, dword [eax - 8]
push ebp
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.00489bf0
mov eax, dword [ebp]
add esp, 0x14
test eax, eax
jne 0x48a297
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 4]
test ecx, ecx
jne 0x48a297
mov eax, dword [esp + 0x10]
push ebp
mov ecx, dword [eax - 0xc]
mov edx, dword [eax - 0x10]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.00489bf0
add esp, 0x14
lea eax, [ebx - 1]
cmp eax, 1
jle 0x48a2f1
mov ebp, esi
lea edx, [esp + 0xf4]
sub ebp, edx
lea edx, [ebx - 2]
lea ecx, [esi + 8]
lea eax, [esp + 0xf4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
sub edx, dword [eax - 4]
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
sub edx, dword [eax]
mov dword [ecx + 4], edx
cmp dword [ecx], 0
jne 0x48a2e0
test edx, edx
jne 0x48a2e0
mov edx, dword [eax + ebp]
mov dword [ecx], edx
mov edx, dword [eax + ebp + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
add eax, 8
add ecx, 8
dec edx
mov dword [esp + 0x1c], edx
jne 0x48a2bb
mov eax, dword [esp + ebx*8 + 0xe8]
mov ebp, dword [esp + 0x20]
mov dword [esp + ebx*8 + 0xf0], eax
mov ecx, dword [esp + ebx*8 + 0xec]
lea edx, [esp + 0x38]
xor eax, eax
push edx
mov edx, dword [esp + 0x14]
push eax
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + ebx*8 + 0x100], ecx
mov ecx, dword [esp + 0x24]
push eax
push ebp
push ecx
push edx
call fcn.00489ac0
mov eax, dword [esp + 0x4c]
inc ebx
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.00489bf0
push ebx
push esi
call fcn.0048aa40
mov eax, dword [esi + ebx*8 - 8]
add esp, 0x38
test eax, eax
jne 0x48a36a
mov eax, dword [esi + ebx*8 - 4]
test eax, eax
jne 0x48a36a
dec ebx
test ebx, ebx
jle 0x48a405
lea eax, [edi + ebx*8]
lea edx, [esp + 0xf0]
mov dword [esp + 0x1c], eax
add eax, 0xfffffff8
mov dword [esp + 0x30], eax
mov eax, esi
sub eax, edx
lea ebp, [esp + 0xf0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + ebp + 4]
mov edx, dword [eax + ebp]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call fcn.00489bf0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
push edx
mov ecx, dword [eax + ebp + 4]
mov edx, dword [eax + ebp]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call fcn.00489c10
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov eax, 8
add esp, 0x28
sub ecx, eax
add edx, eax
add ebp, eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
jne 0x48a39a
mov ebp, dword [esp + 0x20]
add ebx, ebx
lea edx, [esp + 0x90]
push ebx
push edx
push edi
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x904]
push 0
push ebx
push edi
push eax
call dword [eax + 0xc]
add esp, 0x10
jmp 0x48a5dd
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x48a464
cmp ebp, 0x3e80
jge 0x48a44e
mov ecx, dword [eax]
mov dword [edi + ebp*8], ecx
inc ebp
mov edx, dword [eax + 4]
mov dword [edi + ebp*8 - 4], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
dec ecx
cmp edx, ecx
je 0x48a8d6
jmp 0x48a8c8
mov ecx, dword [esp + 0x938]
test ecx, ecx
je 0x48a4b1
cmp ebp, 0x3e80
jge 0x48a488
mov ecx, dword [eax]
mov dword [edi + ebp*8], ecx
inc ebp
mov edx, dword [eax + 4]
mov dword [edi + ebp*8 - 4], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
dec ecx
cmp edx, ecx
je 0x48a4a3
mov edx, dword [esp + 0x18]
test byte [edx + 1], 0xc0
jne 0x48a833
lea eax, [esp + 0x90]
push ebp
push eax
jmp 0x48a1e1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
xor ecx, ecx
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
push ebx
push eax
call fcn.00489ac0
mov eax, dword [esp + 0x2c]
push esi
mov edx, dword [eax - 4]
mov ecx, dword [eax - 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.00489bf0
mov eax, dword [esp + 0x40]
lea ebp, [esi + 8]
push ebp
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.00489bf0
add esp, 0x44
push 2
push esi
call fcn.0048aa40
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push edi
push edx
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [edi + 8]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [edi + 0x10]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
mov ecx, dword [eax - 4]
mov edx, dword [eax - 8]
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add esp, 0x44
lea eax, [edi + 0x18]
push eax
push ecx
push edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 4]
mov edx, dword [eax - 8]
push ecx
push edx
call fcn.00489c10
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [edi + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00489c10
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
lea eax, [edi + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00489c10
add esp, 0x3c
lea eax, [esp + 0x90]
push 6
push eax
push edi
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x904]
push 0
push 6
push edi
push eax
call dword [eax + 0xc]
mov ebp, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x18]
test byte [ecx], 0x30
jne 0x48a81d
mov edx, dword [esp + 0x14]
dec edx
cmp ebp, edx
jge 0x48a81d
test byte [ecx + 1], 0xc0
je 0x48a81d
lea eax, [esp + 0x50]
push eax
xor eax, eax
push eax
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00489b70
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x50]
xor eax, eax
push edx
mov edx, dword [esp + 0x2c]
push eax
push eax
mov eax, dword [esp + 0x38]
push eax
push ebp
push ecx
push edx
call fcn.00489ac0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push esi
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.00489bf0
mov eax, dword [esp + 0x58]
add esp, 0x48
lea ebx, [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
call fcn.00489bf0
push 2
push esi
call fcn.0048aa40
mov eax, dword [esi]
add esp, 0x1c
test eax, eax
mov dword [esp + 0x40], eax
jne 0x48a696
mov eax, dword [esi + 4]
test eax, eax
je 0x48a81d
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x48a6ab
mov eax, dword [esi + 0xc]
test eax, eax
je 0x48a81d
fild dword [esi + 4]
push edi
fimul dword [esp + 0x2c]
fild dword [esi + 0xc]
fild dword [esp + 0x44]
fmulp st(1)
fsubp st(1)
fcomp qword [0x51be98]
fnstsw ax
test ah, 1
je 0x48a738
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00489c10
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.00489c10
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
call fcn.00489c10
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x4c]
mov edx, dword [ebx]
lea ebp, [edi + 0x10]
push ebp
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.00489c10
jmp 0x48a7a3
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.00489bf0
mov edx, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
call fcn.00489bf0
mov edx, dword [esi + 4]
mov eax, dword [esi]
lea ebp, [edi + 0x10]
push ebp
push edx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00489bf0
add esp, 0x50
lea eax, [esp + 0x68]
lea ecx, [esp + 0xd8]
push eax
push edi
push ecx
call fcn.00487210
add esp, 0xc
test eax, eax
je 0x48a81d
lea edx, [esp + 0x58]
lea eax, [esp + 0xc0]
push edx
push ebp
push eax
call fcn.00487210
add esp, 0xc
test eax, eax
je 0x48a81d
lea ecx, [esp + 0xc0]
lea edx, [esp + 0xd8]
push ecx
lea eax, [edi + 8]
push edx
push eax
call fcn.00487280
add esp, 0xc
test eax, eax
je 0x48a81d
lea ecx, [esp + 0x90]
push 3
push ecx
push edi
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x904]
push 0
push 3
push edi
push eax
call dword [eax + 0xc]
add esp, 0x10
mov ebp, 1
mov dword [edi + 4], 0
mov dword [edi], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 8
inc ebx
cmp ecx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
jl 0x48a079
cmp ebp, 2
jle 0x48a87e
lea eax, [esp + 0x90]
push ebp
push eax
push edi
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x904]
push 0
push ebp
push edi
push eax
call dword [eax + 0xc]
add esp, 0x10
mov ecx, dword [esp + 0x908]
push ecx
call sub.CRLUTL110.dll__MEMMANUnlock_4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8f0
ret
shr ecx, 3
and ecx, 1
mov dword [esp + 0x48], ecx
je 0x48a8f7
cmp ebp, 0x3e80
jge 0x48a8bb
mov edx, dword [eax]
mov dword [edi + ebp*8], edx
inc ebp
mov eax, dword [eax + 4]
mov dword [edi + ebp*8 - 4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
dec ecx
cmp edx, ecx
je 0x48a8d6
mov edx, dword [esp + 0x18]
test byte [edx + 1], 0xc0
jne 0x48a833
cmp ebp, 0x3e80
jge 0x48a833
mov dword [edi + ebp*8 + 4], 0
mov dword [edi + ebp*8], 0
inc ebp
jmp 0x48a82f
cmp ebp, 2
jle 0x48a921
lea eax, [esp + 0x90]
push ebp
push eax
push edi
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [esp + 0x904]
push 0
push ebp
push edi
push eax
call dword [eax + 0xc]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x938]
test ecx, ecx
je 0x48a93b
mov ecx, dword [eax]
mov ebp, 1
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
dec ecx
cmp edx, ecx
je 0x48a956
mov edx, dword [esp + 0x18]
test byte [edx + 1], 0xc0
jne 0x48a833
mov ebp, 1
mov dword [edi + 4], 0
mov dword [edi], 0
jmp 0x48a833