Function at 0x4b04e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x518d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x4b059d
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 8]
test eax, eax
jne 0x4b0559
mov edx, dword [ebp + 0x2c]
mov eax, dword [ecx]
push edx
mov edx, dword [ebp + 0x24]
push 0
push edx
mov edx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call dword [eax + 0x3c]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov esi, dword [ebp + 0x2c]
mov edx, dword [ecx]
push esi
mov esi, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x134]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push 0xa
push 0xa
lea ecx, [esp + 0x58]
call fcn.00462500
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x24]
test eax, eax
mov dword [esp + 0xf0], 0
je 0x4b05d3
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00462890
jmp 0x4b05fa
push esi
lea ecx, [esp + 0x54]
call fcn.004628d0
lea ecx, [esp + 0x50]
call fcn.00462580
push eax
mov eax, dword [ebp + 0x28]
push eax
lea ecx, [esp + 0x58]
call fcn.00462590
push eax
call sub.CRLUTL110.dll__UTLTransformPoint_12
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x54]
call fcn.00462580
push eax
lea ecx, [esp + 0x58]
call fcn.00462590
push eax
call sub.CRLUTL110.dll__UTLGetBBox_12
add edi, 0x14
lea edx, [esp + 0x50]
push edi
push edx
call fcn.004b0010
add esp, 8
test eax, eax
je 0x4b08a1
lea eax, [esp + 0x34]
lea ecx, [esp + 0x50]
push eax
call fcn.00462580
push eax
lea ecx, [esp + 0x58]
call fcn.00462590
push eax
call fcn.00427320
add esp, 0xc
lea ecx, [esp + 0x34]
lea edx, [esp + 0xa8]
lea eax, [esp + 0x20]
push ecx
push edx
push eax
call sub.CDRRIP110.dll_RIPIntersectRRect
test eax, eax
je 0x4b08a1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x40]
sar ebx, 1
sub eax, ebx
sub edx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
fild dword [esp + 0xc]
sub eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
sub eax, ebx
sar edi, 1
fdivp st(1)
sub ecx, edi
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
fild dword [esp + 0xc]
sub eax, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
fdivp st(1)
sub eax, edi
fst qword [esp + 0x44]
fild dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
fild dword [esp + 0xc]
sub ecx, edi
mov dword [esp + 0xc], ecx
fdivp st(1)
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdivp st(1)
fstp qword [esp + 0x14]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4b0724
fstp qword [esp + 0x14]
jmp 0x4b0736
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp st(0)
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4b0753
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
fstp st(0)
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
jmp 0x4b0757
fstp qword [esp + 0xc]
lea eax, [esp + 0x78]
push eax
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
neg ecx
neg edx
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x78]
push ecx
push edx
call sub.CRLUTL110.dll__UTLTransformMatrix_8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov eax, ebx
mov ecx, edi
neg eax
neg ecx
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
call sub.CRLUTL110.dll__UTLStretchMatrix_28
push ebx
lea edx, [esp + 0x7c]
push edi
push edx
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
lea eax, [esp + 0xb8]
push eax
call sub.CRLUTL110.dll__UTLGetIdentityMatrix_4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
lea eax, [esp + 0xbc]
push edx
push eax
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
lea ecx, [esp + 0x78]
lea edx, [esp + 0xb8]
push ecx
push edx
call sub.CRLUTL110.dll__UTLTransformMatrix_8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
neg eax
neg ecx
push eax
lea edx, [esp + 0xbc]
push ecx
push edx
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
mov edi, dword [esp + 0x30]
mov ecx, dword [ebp + 0x2c]
push ecx
lea edx, [esp + 0xbc]
mov eax, dword [edi + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x20]
push edx
push esi
push eax
lea ecx, [esp + 0x60]
call fcn.004625a0
push eax
lea ecx, [esp + 0x64]
call fcn.00462590
push eax
lea ecx, [esp + 0x68]
call fcn.00462580
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
call dword [ebx + 0x134]
lea ecx, [esp + 0x50]
mov esi, eax
mov dword [esp + 0xf0], 0xffffffff
call fcn.00462540
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
lea ecx, [esp + 0x50]
mov dword [esp + 0xf0], 0xffffffff
call fcn.00462540
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x28