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

Disassembly:
sub esp, 0x5c
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0xc], 0
mov eax, dword [edi + 0x26c]
mov ebp, dword [edi + 0xb0]
mov esi, dword [edi + 0xa8]
cmp eax, 1
jne 0x4723c2
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x5c
ret
push ebx
lea eax, [edi + 0x920]
push edi
push eax
call fcn.004737d0
lea eax, [edi + 0x29c]
push edi
push eax
call fcn.00473a90
mov ebx, dword [esp + 0x80]
add esp, 0x10
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
add eax, 0xfffffffe
cmp eax, 0x59
ja case.0x472401.8
xor ecx, ecx
mov cl, byte [eax + 0x4733f0]
jmp dword [ecx*4 + 0x4733d4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x9a8]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x3c], eax
test ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x74], 5
je 0x4726ec
mov ecx, dword [edi + 0xb8]
mov dword [ebp + ecx*8], eax
mov edx, dword [edi + 0xb8]
mov eax, dword [esp + 0x40]
mov dword [ebp + edx*8 + 4], eax
mov ecx, dword [edi + 0xb8]
mov bl, byte [ecx + esi]
lea eax, [ecx + esi]
and bl, 0xfe
mov byte [eax], bl
mov edx, dword [edi + 0xb8]
lea eax, [edx + esi]
mov dl, byte [edx + esi]
and dl, 0xfd
mov byte [eax], dl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
or cl, 4
mov byte [eax], cl
mov ecx, dword [edi + 0xb8]
mov bl, byte [ecx + esi]
lea eax, [ecx + esi]
and bl, 0xf7
mov byte [eax], bl
mov edx, dword [edi + 0xb8]
lea eax, [edx + esi]
mov dl, byte [edx + esi]
and dl, 0xcf
mov byte [eax], dl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0x3f
mov byte [eax], cl
mov ebx, dword [edi + 0xb8]
mov ecx, dword [esp + 0x44]
inc ebx
mov eax, ebx
mov dword [edi + 0xb8], ebx
mov dword [ebp + eax*8], ecx
mov edx, dword [edi + 0xb8]
mov eax, dword [esp + 0x40]
mov dword [ebp + edx*8 + 4], eax
mov ecx, dword [edi + 0xb8]
mov dl, byte [ecx + esi]
lea eax, [ecx + esi]
and dl, 0xfe
mov byte [eax], dl
mov edx, dword [edi + 0xb8]
mov cl, byte [edx + esi]
lea eax, [edx + esi]
and cl, 0xfd
mov byte [eax], cl
mov eax, dword [edi + 0xb8]
add eax, esi
mov bl, byte [eax]
or bl, 4
mov byte [eax], bl
mov ecx, dword [edi + 0xb8]
mov dl, byte [ecx + esi]
lea eax, [ecx + esi]
and dl, 0xf7
mov byte [eax], dl
mov edx, dword [edi + 0xb8]
mov cl, byte [edx + esi]
lea eax, [edx + esi]
and cl, 0xcf
mov byte [eax], cl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0x3f
or cl, 0x40
mov byte [eax], cl
mov ebx, dword [edi + 0xb8]
mov edx, dword [esp + 0x44]
inc ebx
mov eax, ebx
mov dword [edi + 0xb8], ebx
mov dword [ebp + eax*8], edx
mov eax, dword [edi + 0xb8]
mov ecx, dword [esp + 0x48]
mov dword [ebp + eax*8 + 4], ecx
mov edx, dword [edi + 0xb8]
lea eax, [edx + esi]
mov dl, byte [edx + esi]
and dl, 0xfe
mov byte [eax], dl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0xfd
mov byte [eax], cl
mov ecx, dword [edi + 0xb8]
mov bl, byte [ecx + esi]
lea eax, [ecx + esi]
or bl, 4
mov byte [eax], bl
mov edx, dword [edi + 0xb8]
lea eax, [edx + esi]
mov dl, byte [edx + esi]
and dl, 0xf7
mov byte [eax], dl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0xcf
mov byte [eax], cl
mov ecx, dword [edi + 0xb8]
mov dl, byte [ecx + esi]
lea eax, [ecx + esi]
and dl, 0x3f
or dl, 0x40
mov byte [eax], dl
mov ebx, dword [edi + 0xb8]
mov ecx, dword [esp + 0x3c]
inc ebx
mov eax, ebx
mov dword [edi + 0xb8], ebx
mov dword [ebp + eax*8], ecx
mov edx, dword [edi + 0xb8]
mov eax, dword [esp + 0x48]
mov dword [ebp + edx*8 + 4], eax
mov ecx, dword [edi + 0xb8]
mov dl, byte [ecx + esi]
lea eax, [ecx + esi]
and dl, 0xfe
mov byte [eax], dl
mov edx, dword [edi + 0xb8]
mov cl, byte [edx + esi]
lea eax, [edx + esi]
and cl, 0xfd
mov byte [eax], cl
mov eax, dword [edi + 0xb8]
add eax, esi
mov bl, byte [eax]
or bl, 4
mov byte [eax], bl
mov ecx, dword [edi + 0xb8]
mov dl, byte [ecx + esi]
lea eax, [ecx + esi]
and dl, 0xf7
mov byte [eax], dl
mov edx, dword [edi + 0xb8]
mov cl, byte [edx + esi]
lea eax, [edx + esi]
and cl, 0xcf
mov byte [eax], cl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0x3f
or cl, 0x40
mov byte [eax], cl
mov ebx, dword [edi + 0xb8]
mov edx, dword [esp + 0x3c]
inc ebx
mov eax, ebx
mov dword [edi + 0xb8], ebx
mov dword [ebp + eax*8], edx
mov eax, dword [edi + 0xb8]
mov ecx, dword [esp + 0x40]
mov dword [ebp + eax*8 + 4], ecx
mov edx, dword [edi + 0xb8]
lea eax, [edx + esi]
mov dl, byte [edx + esi]
and dl, 0xfe
mov byte [eax], dl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0xfd
mov byte [eax], cl
mov ecx, dword [edi + 0xb8]
mov bl, byte [ecx + esi]
lea eax, [ecx + esi]
or bl, 4
mov byte [eax], bl
mov edx, dword [edi + 0xb8]
lea eax, [edx + esi]
mov dl, byte [edx + esi]
and dl, 0xf7
mov byte [eax], dl
mov eax, dword [edi + 0xb8]
add eax, esi
mov cl, byte [eax]
and cl, 0xcf
mov byte [eax], cl
mov ecx, dword [edi + 0xb8]
add esi, ecx
mov dl, byte [esi]
and dl, 0x3f
or dl, 0x40
mov byte [esi], dl
mov eax, dword [edi + 0xb8]
inc eax
mov dword [edi + 0xb8], eax
jmp 0x4733b2
mov eax, dword [edi + 0x9d8]
test eax, eax
je 0x472708
mov ecx, dword [edi + 0x298]
push ecx
call eax
mov dword [esp + 0x10], eax
jmp 0x4733b2
lea eax, [edi + 0x29c]
push edi
push eax
lea eax, [edi + 0x920]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.00474a00
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x4733b2
mov eax, dword [edi + 0x9a8]
mov ecx, dword [edi + 0xb8]
test eax, eax
mov eax, dword [ebx + 0x18]
je 0x47274c
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], eax
jmp 0x472758
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], 0
test eax, eax
mov dword [esp + 0x28], eax
je 0x4733b2
cmp eax, dword [edi + 0xb4]
jbe 0x472791
add eax, 0x14
push edi
push eax
call fcn.00474ad0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4733b2
mov ebp, dword [edi + 0xb0]
mov esi, dword [edi + 0xa8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x70], eax
jae 0x4728b7
lea ecx, [ebp + eax*8]
lea edx, [ebx + eax*8 + 0x20]
lea eax, [ebx + eax*4 + 0x1e]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jmp 0x4727c7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x9a8]
test eax, eax
je 0x4727d7
inc dword [edi + 0xb8]
mov eax, dword [ebx]
cmp eax, 3
je 0x472835
cmp eax, 4
je 0x472835
cmp eax, 2
je 0x472835
mov eax, dword [esp + 0x18]
movsx edx, word [eax - 2]
mov dword [ecx], edx
movsx eax, word [eax]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
cmp eax, 0x55
jne 0x47282b
mov ecx, dword [esp + 0x70]
push 3
push ecx
call dword [sym.imp.MSVCRT.dll_div]
add esp, 8
mov dword [esp + 0x3c], eax
test edx, edx
jne 0x472821
mov edx, dword [esp + 0x70]
mov byte [edx + esi], 0x84
jmp 0x47287a
mov eax, dword [esp + 0x70]
mov byte [eax + esi], 0xc0
jmp 0x47287a
mov ecx, dword [esp + 0x70]
mov byte [ecx + esi], 0x44
jmp 0x47287a
mov eax, dword [edx - 4]
mov dword [ecx], eax
mov edx, dword [edx]
mov dword [ecx + 4], edx
mov eax, dword [ebx]
cmp eax, 2
jne 0x472872
mov eax, dword [esp + 0x70]
push 3
push eax
call dword [sym.imp.MSVCRT.dll_div]
add esp, 8
mov dword [esp + 0x3c], eax
test edx, edx
jne 0x472868
mov ecx, dword [esp + 0x70]
mov byte [ecx + esi], 0x84
jmp 0x47287a
mov edx, dword [esp + 0x70]
mov byte [edx + esi], 0xc0
jmp 0x47287a
mov eax, dword [esp + 0x70]
mov byte [eax + esi], 0x44
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, 4
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov ecx, 8
add edx, ecx
inc eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], edx
jb 0x4727bf
mov eax, dword [esp + 0x14]
mov byte [eax + esi], 4
mov ecx, dword [edi + 0x9a8]
test ecx, ecx
jne 0x4728d8
mov ecx, dword [esp + 0x70]
push edi
push ecx
push ebp
call fcn.00474660
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [ebx]
cmp ebx, 3
je 0x472951
cmp ebx, 0x56
je 0x472951
mov eax, dword [edi + 0x9a8]
test eax, eax
jne 0x4733b2
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x4c]
push edx
push eax
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
mov ecx, dword [edi + 0x264]
mov edx, dword [edi + 0x260]
push ecx
push edx
lea ecx, [edi + 0xd4]
lea edx, [esp + 0x54]
push ecx
lea eax, [edi + 0x29c]
push edx
lea ecx, [edi + 0x920]
push 0
push ecx
mov ecx, dword [edi + 0x298]
mov word [eax], 0
push eax
mov eax, dword [esp + 0x90]
push esi
push ebp
push eax
push ecx
call dword [edi + 0x9c0]
mov dword [esp + 0x10], eax
jmp 0x4733b2
mov edx, dword [esp + 0x74]
mov ebx, dword [ebp + edx*8 - 8]
lea ecx, [ebp + edx*8]
mov edx, dword [ebp + eax*8]
cmp edx, ebx
jne 0x472974
mov edx, dword [ebp + eax*8 + 4]
mov ebx, dword [ecx - 4]
cmp edx, ebx
je 0x4729f4
mov edx, dword [ebp + eax*8]
mov dword [ecx], edx
mov edx, dword [ebp + eax*8 + 4]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x74]
mov dl, byte [ecx + esi]
and dl, 0xfe
mov byte [ecx + esi], dl
mov ecx, dword [esp + 0x74]
mov bl, byte [ecx + esi]
and bl, 0xfd
mov byte [ecx + esi], bl
mov ecx, dword [esp + 0x74]
mov dl, byte [ecx + esi]
or dl, 4
mov byte [ecx + esi], dl
mov ecx, dword [esp + 0x74]
mov bl, byte [ecx + esi]
and bl, 0xf7
mov byte [ecx + esi], bl
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dl, byte [ecx + esi]
and dl, 0xcf
mov byte [ecx + esi], dl
mov ecx, dword [esp + 0x74]
mov dl, byte [ecx + esi]
and dl, 0x3f
or dl, 0x40
inc ebx
mov byte [ecx + esi], dl
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0x9a8]
inc edx
test ecx, ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
je 0x4729f4
inc dword [edi + 0xb8]
mov ecx, dword [esp + 0x70]
mov dl, byte [ecx + esi - 1]
or dl, 8
mov byte [ecx + esi - 1], dl
mov cl, byte [eax + esi]
or cl, 8
mov byte [eax + esi], cl
mov eax, dword [edi + 0x9a8]
test eax, eax
jne 0x472a26
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x4c]
push eax
push ecx
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
mov eax, dword [edi + 0x26c]
cmp eax, 2
mov eax, dword [edi + 0x9a8]
jne 0x472a4a
test eax, eax
jne 0x4733b2
mov edx, dword [esp + 0x70]
push 0
jmp 0x473381
test eax, eax
jne 0x4733b2
mov ecx, dword [edi + 0x264]
mov edx, dword [edi + 0x260]
push ecx
lea eax, [edi + 0xd4]
push edx
lea ecx, [esp + 0x54]
push eax
mov edx, dword [esp + 0x80]
push ecx
lea eax, [edi + 0x920]
push 0
push eax
lea eax, [edi + 0x29c]
push eax
push esi
push ebp
push edx
mov eax, dword [edi + 0x298]
push eax
call dword [edi + 0x9c0]
mov dword [esp + 0x10], eax
jmp 0x4733b2
mov eax, dword [edi + 0x9a8]
test eax, eax
je 0x472aae
mov edx, dword [edi + 0xb8]
jmp 0x472ab0
xor edx, edx
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
cmp eax, 8
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x14], edx
lea ecx, [ebx + ecx*4 + 0x20]
jne 0x472ad1
mov dword [esp + 0x34], ecx
jmp 0x472ad5
mov dword [esp + 0x34], ecx
test eax, eax
je 0x4733b2
mov ecx, dword [edi + 0xb4]
add eax, edx
cmp eax, ecx
jbe 0x472b0e
add eax, 0x14
push edi
push eax
call fcn.00474ad0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4733b2
mov ebp, dword [edi + 0xb0]
mov esi, dword [edi + 0xa8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
test ecx, ecx
mov ebx, edx
mov dword [esp + 0x1c], edx
jbe 0x472c3c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], ecx
add eax, 0x20
mov ecx, dword [eax]
mov dword [esp + 0x20], 0
test ecx, ecx
jbe 0x472bcf
mov ecx, dword [esp + 0x34]
lea edx, [ecx + ebx*4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
lea ecx, [edx + ebx*8]
sub edx, ebp
mov dword [esp + 0x28], ecx
lea ecx, [ebp + ebx*8 + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x70]
cmp dword [edx], 8
jne 0x472b7c
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
mov dword [ecx - 4], edx
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + ecx]
jmp 0x472b8e
mov edx, dword [esp + 0x18]
movsx edx, word [edx]
mov dword [ecx - 4], edx
mov edx, dword [esp + 0x18]
movsx edx, word [edx + 2]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
add edx, 4
mov byte [ebx + esi], 0x44
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
add edx, 8
inc ebx
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x9a8]
add ecx, 8
test edx, edx
je 0x472bbe
inc dword [edi + 0xb8]
mov edx, dword [esp + 0x20]
inc edx
cmp edx, dword [eax]
mov dword [esp + 0x20], edx
jb 0x472b61
mov edx, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, dword [eax]
and byte [ecx + esi], 0xfe
add eax, 4
add ecx, esi
mov ecx, ebx
sub ecx, dword [eax - 4]
and byte [ecx + esi], 0xfd
add ecx, esi
mov ecx, ebx
sub ecx, dword [eax - 4]
or byte [ecx + esi], 4
add ecx, esi
mov ecx, ebx
sub ecx, dword [eax - 4]
and byte [ecx + esi], 0xf7
add ecx, esi
mov ecx, ebx
sub ecx, dword [eax - 4]
and byte [ecx + esi], 0xcf
add ecx, esi
mov ecx, ebx
sub ecx, dword [eax - 4]
and byte [ecx + esi], 0x3f
add ecx, esi
mov cl, byte [ebx + esi - 1]
or cl, 8
mov byte [ebx + esi - 1], cl
mov cl, byte [edx + esi]
or cl, 8
mov byte [edx + esi], cl
mov ecx, dword [esp + 0x30]
mov edx, ebx
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ecx
jne 0x472b2f
mov eax, dword [edi + 0x9a8]
test eax, eax
jne 0x472c6b
mov edx, dword [esp + 0x14]
push edi
lea eax, [ebx + edx]
push eax
push ebp
call fcn.00474660
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
lea eax, [ebx + ecx]
push eax
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
cmp dword [edi + 0x26c], 2
jne 0x472c82
mov edx, dword [esp + 0x14]
push 0
add ebx, edx
push ebx
jmp 0x473382
mov eax, dword [edi + 0x9a8]
test eax, eax
jne 0x4733b2
mov ecx, dword [edi + 0x264]
mov edx, dword [edi + 0x260]
push ecx
lea eax, [edi + 0xd4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push eax
push ecx
lea eax, [edi + 0x920]
push 0
push eax
lea eax, [edi + 0x29c]
add ebx, edx
push eax
push esi
push ebp
push ebx
jmp 0x472a86
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x64], edx
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x24]
sub eax, ecx
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x60], ecx
mov ecx, eax
mov eax, dword [esp + 0x64]
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x5c]
sub eax, edx
cdq
mov ebx, eax
mov eax, dword [esp + 0x64]
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x5c]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
add eax, edx
cdq
sub eax, edx
sar eax, 1
test ebx, ebx
mov dword [esp + 0x40], eax
je 0x4733b2
test ecx, ecx
je 0x4733b2
fild dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fild dword [esp + 0x3c]
fild dword [esp + 0x38]
fsub st(4)
fmul st(3)
fdiv st(2)
fild dword [esp + 0x34]
fsub st(2)
fpatan
fmul qword [0x51f988]
fmul qword [0x51f980]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x2c]
mov ebx, eax
fsub st(4)
fmul st(3)
fdiv st(2)
fild dword [esp + 0x28]
fsub st(2)
fpatan
fmul qword [0x51f988]
fmul qword [0x51f980]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x30]
fstp st(0)
fstp st(0)
fstp st(0)
sub ecx, 0x2d
fstp st(0)
je 0x473050
dec ecx
je 0x472f0e
dec ecx
jne 0x4733b2
mov ecx, dword [edi + 0x9e4]
test ecx, ecx
je 0x472df9
mov eax, dword [edi + 0x298]
push eax
call ecx
mov dword [esp + 0x10], eax
jmp 0x4733b2
push eax
lea ecx, [esp + 0x60]
push ebx
lea edx, [esp + 0x78]
push ecx
push edx
push esi
push ebp
call fcn.00473450
mov eax, dword [esp + 0x88]
mov byte [esi + 1], 0x44
push edi
mov dl, byte [eax + esi - 1]
and dl, 0xfe
mov byte [eax + esi - 1], dl
mov eax, dword [esp + 0x8c]
mov cl, byte [eax + esi - 1]
and cl, 0xfd
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x8c]
mov bl, byte [eax + esi - 1]
or bl, 4
mov byte [eax + esi - 1], bl
mov eax, dword [esp + 0x8c]
mov dl, byte [eax + esi - 1]
and dl, 0xf7
mov byte [eax + esi - 1], dl
mov eax, dword [esp + 0x8c]
mov cl, byte [eax + esi - 1]
and cl, 0xcf
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x8c]
mov cl, byte [eax + esi - 1]
and cl, 0x3f
or cl, 0x40
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x8c]
mov bl, byte [eax + esi - 1]
or bl, 8
mov byte [eax + esi - 1], bl
mov dl, byte [esi]
or dl, 8
mov byte [esi], dl
mov edx, dword [esp + 0x8c]
push edx
push ebp
call fcn.00474660
lea ebx, [edi + 0x29c]
push edi
push ebx
call fcn.00473a90
mov ecx, dword [esp + 0x9c]
add esp, 0x2c
lea eax, [esp + 0x4c]
push eax
push ecx
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
mov edx, dword [edi + 0x264]
mov eax, dword [edi + 0x260]
push edx
lea ecx, [edi + 0xd4]
push eax
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [edi + 0x298]
push edx
lea eax, [edi + 0x920]
push 0
push eax
mov eax, dword [esp + 0x88]
push ebx
push esi
push ebp
push eax
push ecx
call dword [edi + 0x9c0]
mov dword [esp + 0x10], eax
jmp 0x4733b2
mov ecx, dword [edi + 0x9ec]
test ecx, ecx
je 0x472f2a
mov edx, dword [edi + 0x298]
push edx
call ecx
mov dword [esp + 0x10], eax
jmp 0x4733b2
push eax
lea eax, [esp + 0x60]
push ebx
lea ecx, [esp + 0x78]
push eax
push ecx
push esi
push ebp
call fcn.00473450
mov eax, dword [esp + 0x88]
mov edx, dword [ebp + 8]
push edi
mov dword [ebp + eax*8 - 8], edx
mov edx, dword [esp + 0x8c]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + edx*8 - 4], ecx
mov eax, dword [esp + 0x8c]
mov cl, byte [eax + esi - 1]
and cl, 0xfe
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x8c]
mov bl, byte [eax + esi - 1]
and bl, 0xfd
mov byte [eax + esi - 1], bl
mov eax, dword [esp + 0x8c]
mov dl, byte [eax + esi - 1]
or dl, 4
mov byte [eax + esi - 1], dl
mov eax, dword [esp + 0x8c]
mov cl, byte [eax + esi - 1]
and cl, 0xf7
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x8c]
mov bl, byte [eax + esi - 1]
and bl, 0xcf
mov byte [eax + esi - 1], bl
mov eax, dword [esp + 0x8c]
mov cl, byte [eax + esi - 1]
and cl, 0x3f
or cl, 0x40
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x8c]
mov dl, byte [eax + esi - 1]
or dl, 8
mov byte [eax + esi - 1], dl
mov cl, byte [esi]
mov edx, dword [esp + 0x8c]
or cl, 8
push edx
push ebp
mov byte [esi], cl
call fcn.00474660
mov ecx, dword [esp + 0x94]
add esp, 0x24
lea eax, [esp + 0x4c]
push eax
push ecx
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
mov edx, dword [edi + 0x264]
mov eax, dword [edi + 0x260]
push edx
lea ecx, [edi + 0xd4]
push eax
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [edi + 0x298]
push edx
lea eax, [edi + 0x920]
push 0
push eax
lea eax, [edi + 0x29c]
push eax
mov eax, dword [esp + 0x8c]
push esi
push ebp
push eax
push ecx
call dword [edi + 0x9c0]
mov dword [esp + 0x10], eax
jmp 0x4733b2
mov ecx, dword [edi + 0x9e8]
test ecx, ecx
je 0x47306c
mov edx, dword [edi + 0x298]
push edx
call ecx
mov dword [esp + 0x10], eax
jmp 0x4733b2
push eax
lea eax, [esp + 0x60]
push ebx
lea ecx, [esp + 0x78]
push eax
push ecx
push esi
push ebp
call fcn.00473450
mov edx, dword [esp + 0x88]
push edi
push edx
push ebp
call fcn.00474660
mov ecx, dword [esp + 0x94]
add esp, 0x24
lea eax, [esp + 0x4c]
push eax
push ecx
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
mov edx, dword [edi + 0x264]
mov ecx, dword [edi + 0x260]
push edx
push ecx
lea edx, [edi + 0xd4]
lea ecx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x7c]
push ecx
lea ecx, [edi + 0x920]
lea eax, [edi + 0x29c]
push 0
push ecx
push eax
push esi
mov word [eax], 0
push ebp
jmp 0x472a85
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x9e0]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x60], edx
test eax, eax
mov dword [esp + 0x68], ecx
je 0x473116
mov edx, dword [edi + 0x298]
push edx
call eax
mov dword [esp + 0x10], eax
jmp 0x4733b2
push 0x15752a00
lea eax, [esp + 0x60]
push 0
lea ecx, [esp + 0x7c]
push eax
push ecx
push esi
push ebp
call fcn.00473450
mov dl, byte [esi + 1]
push edi
or dl, 8
mov byte [esi + 1], dl
mov eax, dword [esp + 0x90]
mov cl, byte [eax + esi - 2]
or cl, 8
mov byte [eax + esi - 2], cl
mov edx, dword [esp + 0x90]
push edx
push ebp
call fcn.00474660
add esp, 0x24
jmp 0x47335e
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x60], edx
cdq
mov dword [esp + 0x68], ecx
mov ecx, eax
mov eax, dword [ebx + 0x1c]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
sub eax, edx
cdq
mov ebx, eax
mov eax, dword [esp + 0x64]
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x5c]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x9dc]
test eax, eax
je 0x4731d2
mov edx, dword [edi + 0x298]
push edx
call eax
mov dword [esp + 0x10], eax
jmp 0x4733b2
lea edx, [ecx + ecx*8]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
mov dword [esp + 0x74], 0x11
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x70]
sub eax, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
sub eax, edx
mov byte [esi + 1], 0x44
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 5], 0x44
mov byte [esi + 9], 0x44
lea edx, [eax + eax*8]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
mov byte [esi + 0xd], 0x44
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
sub eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, edx
xor edx, edx
mov byte [esi + 2], 0xc0
mov byte [esi + 3], 0xc0
mov byte [esi + 6], 0xc0
mov byte [esi + 7], 0xc0
mov byte [esi + 0xa], 0xc0
mov byte [esi + 0xb], 0xc0
mov byte [esi + 0xe], 0xc0
mov byte [esi + 0xf], 0xc0
mov byte [esi + 4], 0x84
mov byte [esi + 8], 0x84
mov byte [esi + 0xc], 0x84
mov byte [esi + 0x10], 0x8c
mov byte [esi], 0xc
mov dword [ebp + 0x70], edx
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x60], edx
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x84], edx
mov dword [ebp + 0x7c], edx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], edx
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x70]
mov dword [ebp + 0x80], ecx
mov dword [ebp + 0x48], ecx
mov dword [ebp], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x30], edx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x18], edx
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x40], ecx
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x78], edx
mov dword [ebp + 0x50], edx
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x5c], eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x64]
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x64], edx
cmp eax, ecx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x2c], edx
jge 0x473317
mov edx, eax
mov dword [esp + 0x3c], edx
jmp 0x47331f
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
cmp ebx, eax
jl 0x47332d
mov ebx, eax
mov edx, dword [esp + 0x74]
xor ecx, ecx
test edx, edx
jbe 0x473353
mov eax, ebp
mov edx, dword [esp + 0x3c]
add dword [eax], edx
mov edx, dword [eax + 4]
add edx, ebx
inc ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
add eax, 8
cmp ecx, edx
jb 0x473339
push edi
push edx
push ebp
call fcn.00474660
add esp, 0xc
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x4c]
push eax
push ecx
push ebp
call sub.CRLUTL110.dll__UTLGetBBox_12
cmp dword [edi + 0x26c], 2
jne 0x472a52
mov edx, dword [esp + 0x74]
push 0
push edx
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xa8]
push eax
mov eax, dword [edi + 0x298]
lea edx, [edi + 0xd4]
push ecx
push edx
push eax
call dword [edi + 0x9cc]
mov dword [esp + 0x10], eax
jmp 0x4733b2
mov dword [esp + 0x10], 2
mov eax, dword [edi + 0x260]
pop ebx
test eax, eax
je 0x4733c7
mov dword [edi + 0x260], 0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
add esp, 0x5c
ret