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

Disassembly:
push 0xffffffffffffffff
push 0x4f1bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xa8]
push 0x2e
push edi
mov dword [esp + 0xa8], ebx
call fcn.004b77bd
add esp, 8
cmp eax, ebx
jne 0x47121b
or eax, 0xffffffff
jmp 0x47121f
sub eax, edi
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xb0]
call fcn.00406f90
mov ebp, dword [esp + 0xac]
mov ecx, dword [ebp*4 + 0x53cf58]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b8423
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47126c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, ebx
je 0x4712c7
mov eax, dword [edi - 0xc]
cmp word [edi + eax*2 - 2], 0x2e
je 0x47129a
push 0x4fb95c
call fcn.004b6b5b
add esp, 4
push eax
push 0x4fb95c
lea ecx, [esp + 0xb0]
call fcn.0040f940
mov esi, dword [ebp*4 + 0x53cf58]
cmp esi, ebx
jne 0x4712a9
xor eax, eax
jmp 0x4712b2
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0xb0]
call fcn.0040f940
mov edi, dword [esp + 0xa8]
mov al, byte [esp + 0xb8]
test al, al
je 0x4712d9
push 0x50a324
jmp 0x4712de
push 0x50a31c
push edi
call fcn.004b81f0
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x4712f9
lea eax, [edi - 0x10]
jmp 0x4723ae
mov al, byte [esp + 0xb8]
test al, al
je 0x47131e
push ebx
push 2
lea eax, [esp + 0x24]
push 1
push eax
mov dword [esp + 0x2c], 0xfeff
call fcn.004b92e8
add esp, 0x10
cmp ebp, 2
jne 0x4714ea
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push str._SAMI__n
mov byte [esp + 0xa4], 1
call fcn.004b6b5b
add esp, 4
push eax
push str._SAMI__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str._HEAD__n
call fcn.004b6b5b
add esp, 4
push eax
push str._HEAD__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str._STYLE_TYPE_text_css___n
call fcn.004b6b5b
add esp, 4
push eax
push str._STYLE_TYPE_text_css___n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str._____n
call fcn.004b6b5b
add esp, 4
push eax
push str._____n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.P_margin_left:_16pt__margin_right:_16pt__margin_bottom:_16pt__margin_top:_16pt__n
call fcn.004b6b5b
add esp, 4
push eax
push str.P_margin_left:_16pt__margin_right:_16pt__margin_bottom:_16pt__margin_top:_16pt__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.___text_align:_center__font_size:_18pt__font_family:_arial__font_weight:_bold__color:_f0f0f0__n
call fcn.004b6b5b
add esp, 4
push eax
push str.___text_align:_center__font_size:_18pt__font_family:_arial__font_weight:_bold__color:_f0f0f0__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str..UNKNOWNCC_Name:Unknown__lang:en_US__SAMIType:CC__n
call fcn.004b6b5b
add esp, 4
push eax
push str..UNKNOWNCC_Name:Unknown__lang:en_US__SAMIType:CC__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.____n
call fcn.004b6b5b
add esp, 4
push eax
push str.____n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.__STYLE__n
call fcn.004b6b5b
add esp, 4
push eax
push str.__STYLE__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.__HEAD__n
call fcn.004b6b5b
add esp, 4
push eax
push str.__HEAD__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push 0x5036f0
call fcn.004b6b5b
add esp, 4
push eax
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.0040f940
push str._BODY__n
call fcn.004b6b5b
add esp, 4
push eax
push str._BODY__n
lea ecx, [esp + 0x18]
call fcn.0040f940
mov al, byte [esp + 0xb8]
test al, al
je 0x4714b0
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov esi, dword [esp + 0x10]
push esi
push ebx
call fcn.004b9183
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4714e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, str._SYNC_Start_d__P_ClassUNKNOWNCC__n_s_n_SYNC_Start_d__P_ClassUNKNOWNCC_nbsp__n
jmp 0x471b1a
cmp ebp, 4
je 0x4714fc
cmp ebp, 5
jne 0x471adc
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push str._Script_Info__n
mov byte [esp + 0xa4], 2
call fcn.004b6b5b
add esp, 4
push eax
push str._Script_Info__n
lea ecx, [esp + 0x18]
call fcn.00403180
cmp ebp, 4
mov esi, str.__This_is_a_Sub_Station_Alpha_v4_script._n
je 0x471546
mov esi, str.__This_is_an_Advanced_Sub_Station_Alpha_v4_script._n
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.__For_Sub_Station_Alpha_info_and_downloads__n
call fcn.004b6b5b
add esp, 4
push eax
push str.__For_Sub_Station_Alpha_info_and_downloads__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.__go_to_http:__www.eswat.demon.co.uk__n
call fcn.004b6b5b
add esp, 4
push eax
push str.__go_to_http:__www.eswat.demon.co.uk__n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.__or_email_kotus_eswat.demon.co.uk_n
call fcn.004b6b5b
add esp, 4
push eax
push str.__or_email_kotus_eswat.demon.co.uk_n
lea ecx, [esp + 0x18]
call fcn.0040f940
push 0x509e0c
call fcn.004b6b5b
add esp, 4
push eax
push 0x509e0c
lea ecx, [esp + 0x18]
call fcn.0040f940
cmp ebp, 5
jne 0x471623
push str.__Advanced_Sub_Station_Alpha_script_format_developed_by_Anime_Fansubs_EfNET_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.__http:__www.anime_fansubs.org_n
lea ecx, [esp + 0x14]
call fcn.00415410
push 0x509e0c
lea ecx, [esp + 0x14]
call fcn.00415410
push str.__For_additional_info_and_downloads_go_to_http:__vobsub.edensrising.com__n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.__or_email_gabest_freemail.hu_n
lea ecx, [esp + 0x14]
call fcn.00415410
push 0x509e0c
lea ecx, [esp + 0x14]
call fcn.00415410
push str.__Note:_This_file_was_saved_by_Subresync._n
call fcn.004b6b5b
add esp, 4
push eax
push str.__Note:_This_file_was_saved_by_Subresync._n
lea ecx, [esp + 0x18]
call fcn.0040f940
push 0x509e0c
call fcn.004b6b5b
add esp, 4
push eax
push 0x509e0c
lea ecx, [esp + 0x18]
call fcn.0040f940
cmp ebp, 4
mov esi, str.ScriptType:_v4.00_n
je 0x47166a
mov esi, 0x509bac
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040f940
mov eax, dword [edi + 0x40]
test eax, eax
mov esi, str.Collisions:_Normal_n
je 0x47168f
mov esi, str.Collisions:_Reverse_n
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040f940
cmp ebp, 5
jne 0x4716bd
mov al, byte [edi + 0x44]
test al, al
je 0x4716bd
push str.ScaledBorderAndShadow:_Yes_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.PlayResX:__d_n
call fcn.004b6b5b
add esp, 4
push eax
push str.PlayResX:__d_n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.PlayResY:__d_n
call fcn.004b6b5b
add esp, 4
push eax
push str.PlayResY:__d_n
lea ecx, [esp + 0x18]
call fcn.0040f940
push str.Timer:_100.0000_n
call fcn.004b6b5b
add esp, 4
push eax
push str.Timer:_100.0000_n
lea ecx, [esp + 0x18]
call fcn.0040f940
push 0x5036f0
call fcn.004b6b5b
add esp, 4
push eax
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.0040f940
cmp ebp, 4
mov esi, str._V4_Styles__nFormat:_Name__Fontname__Fontsize__PrimaryColour__SecondaryColour__TertiaryColour__BackColour__Bold__Italic__BorderStyle__Outline__Shadow__Alignment__MarginL__MarginR__MarginV__AlphaLevel__Encoding_n
je 0x47173c
mov esi, str._V4_Styles__nFormat:_Name__Fontname__Fontsize__PrimaryColour__SecondaryColour__OutlineColour__BackColour__Bold__Italic__Underline__StrikeOut__ScaleX__ScaleY__Spacing__Angle__BorderStyle__Outline__Shadow__Alignment__MarginL__MarginR__MarginV__Encoding_n
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040f940
mov al, byte [esp + 0xb8]
test al, al
je 0x47176e
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
push ebx
call fcn.004b9183
add esp, 0x10
cmp ebp, 4
mov esi, str.Style:__s__s__d_H_06x_H_06x_H_06x_H_06x__d__d__d__d__d__d__d__d__d__d__d_n
je 0x471793
mov esi, str.Style:__s__s__d_H_08x_H_08x_H_08x_H_08x__d__d__d__d__d__d__d__.2f__d__d__d__d__d__d__d__d_n
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00403180
mov al, byte [esp + 0xb8]
test al, al
je 0x4717c5
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov eax, dword [edi + 0x6c]
neg eax
sbb eax, eax
test eax, eax
mov dword [esp + 0x2c], eax
je 0x471a2f
mov ebx, dword [esp + 0x10]
lea esp, [esp]
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
add ecx, 0x60
mov byte [esp + 0xac], 3
call fcn.004cee02
cmp ebp, 4
mov esi, dword [esp + 0x1c]
jne 0x4718f9
mov ecx, dword [esi + 0x10]
cmp ecx, 3
jle 0x47184a
cmp ecx, 6
jg 0x471838
add ecx, 0xfffffffd
or ecx, 8
jmp 0x47184a
cmp ecx, 9
jg 0x471845
add ecx, 0xfffffffa
or ecx, 4
jmp 0x47184a
mov ecx, 2
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x471858
mov edi, 1
jmp 0x471866
xor edx, edx
cmp eax, 1
setne dl
dec edx
and edx, 3
mov edi, edx
mov eax, dword [esi + 0x40]
fld qword [esi + 0x20]
movzx edx, byte [esi + 0x38]
push eax
mov eax, dword [esi + 0xc]
push edx
add eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
push eax
mov eax, dword [esi + 8]
push eax
push edx
push ecx
call fcn.004b76b8
push eax
fld qword [esi + 0x18]
call fcn.004b76b8
push eax
fld qword [esi + 0x48]
mov al, byte [esi + 0x6c]
mov edx, dword [esi + 0x34]
neg al
push edi
sbb eax, eax
push eax
mov eax, dword [esi + 0x68]
xor ecx, ecx
cmp eax, 0x190
mov eax, dword [esi + 0x30]
setle cl
and edx, 0xffffff
and eax, 0xffffff
dec ecx
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
and ecx, 0xffffff
push ecx
and edx, 0xffffff
push edx
call fcn.004b76b8
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esi + 0x44]
push eax
push ecx
push ebx
push edx
call fcn.004b9183
add esp, 0x50
jmp 0x4719fd
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x471907
mov edi, 1
jmp 0x471915
xor ecx, ecx
cmp eax, 1
setne cl
dec ecx
and ecx, 3
mov edi, ecx
mov edx, dword [esi + 0x40]
fld qword [esi + 0x20]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push edx
add eax, dword [esi + 4]
cdq
sub eax, edx
mov edx, dword [esi + 0x10]
sar eax, 1
push eax
mov eax, dword [esi + 8]
push eax
push ecx
push edx
call fcn.004b76b8
fld qword [esi + 0x18]
push eax
call fcn.004b76b8
fld qword [esi + 0x70]
push eax
push edi
sub esp, 8
fstp qword [esp]
fld qword [esi + 0x60]
call fcn.004b76b8
fld qword [esi + 0x58]
push eax
call fcn.004b76b8
fld qword [esi + 0x50]
push eax
call fcn.004b76b8
fld qword [esi + 0x48]
mov cl, byte [esi + 0x6d]
push eax
mov al, byte [esi + 0x6e]
mov dl, byte [esi + 0x6c]
neg al
sbb eax, eax
neg cl
push eax
sbb ecx, ecx
neg dl
push ecx
movzx ecx, byte [esi + 0x3b]
sbb edx, edx
push edx
mov edx, dword [esi + 0x68]
xor eax, eax
cmp edx, 0x190
mov edx, dword [esi + 0x34]
setle al
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
movzx edx, byte [esi + 0x39]
dec eax
push eax
movzx eax, byte [esi + 0x3a]
push ecx
mov ecx, dword [esi + 0x30]
and ecx, 0xffffff
shl eax, 0x18
or eax, ecx
movzx ecx, byte [esi + 0x38]
push eax
mov eax, dword [esi + 0x2c]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
push edx
mov edx, dword [esi + 0x28]
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
push ecx
call fcn.004b76b8
push eax
mov eax, dword [esi + 0x44]
push eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
push ecx
push ebx
push edx
call fcn.004b9183
add esp, 0x68
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471a23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4717e0
push 0x5036f0
call fcn.004b6b5b
add esp, 4
push eax
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00403180
push str._Events__n
call fcn.004b6b5b
add esp, 4
push eax
push str._Events__n
lea ecx, [esp + 0x18]
call fcn.0040f940
cmp ebp, 4
mov esi, str.Format:_Marked__Start__End__Style__Name__MarginL__MarginR__MarginV__Effect__Text_n
je 0x471a76
mov esi, str.Format:_Layer__Start__End__Style__Actor__MarginL__MarginR__MarginV__Effect__Text_n
push esi
call fcn.004b6b5b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0040f940
mov al, byte [esp + 0xb8]
test al, al
je 0x471aa8
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.004b9183
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
jne 0x471ae7
mov eax, str._d_n_02d:_02d:_02d__03d______02d:_02d:_02d__03d_n_s_n_n
jmp 0x471b1a
cmp ebp, 1
jne 0x471af3
mov eax, str._d_d_s_n
jmp 0x471b1a
cmp ebp, 3
jne 0x471aff
mov eax, str._d:_02d:_02d_d:_02d:_02d_s_n
jmp 0x471b1a
cmp ebp, 4
jne 0x471b0b
mov eax, str.Dialogue:_Marked0__d:_02d:_02d._02d__d:_02d:_02d._02d__s__s__04d__04d__04d__s__s_n
jmp 0x471b1a
cmp ebp, 5
mov eax, str.Dialogue:__d__d:_02d:_02d._02d__d:_02d:_02d._02d__s__s__04d__04d__04d__s__s_n
je 0x471b1a
mov eax, 0x4f724c
push eax
lea ecx, [esp + 0x24]
call fcn.00403260
mov bl, byte [esp + 0xb8]
test bl, bl
mov byte [esp + 0xa0], 4
je 0x471b4a
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x28]
call fcn.00421260
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
jle 0x4721fd
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb4]
add ecx, edi
push ecx
lea ecx, [esp + 0x68]
call fcn.0043fd90
mov edx, dword [esp + 0xb0]
push ebx
push edx
push ebp
mov ecx, esi
mov byte [esp + 0xac], 5
call fcn.0046c160
mov edi, eax
test edi, edi
mov dword [esp + 0x50], edi
jge 0x471c60
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
inc edx
add eax, 0xfffffff0
mov dword [esp + 0x4c], edx
mov byte [esp + 0xa0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471bdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471bfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471c1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471c39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4721da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4721da
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ebp
call fcn.0046c1c0
mov esi, eax
mov eax, 0x88888889
imul edi
add edx, edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
mov eax, 0x10624dd3
imul ecx
mov eax, edx
sar eax, 6
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
cdq
mov ecx, 0x3c
idiv ecx
mov eax, edi
mov ecx, 0x3e8
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], edx
cdq
idiv ecx
mov ecx, 0x3c
mov dword [esp + 0x2c], edx
cdq
idiv ecx
mov eax, 0x88888889
mov dword [esp + 0x40], edx
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x38], edx
mov eax, 0x10624dd3
imul ecx
mov eax, edx
sar eax, 6
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
cdq
mov ecx, 0x3c
idiv ecx
mov eax, esi
mov ecx, 0x3e8
mov dword [esp + 0x44], edx
cdq
idiv ecx
mov ecx, 0x3c
mov dword [esp + 0x48], edx
cdq
idiv ecx
mov al, byte [esp + 0xb8]
test al, al
mov eax, dword [esp + 0xac]
mov dword [esp + 0x28], edx
je 0x471da8
cmp eax, 4
je 0x471d83
cmp eax, 5
je 0x471d83
xor al, al
jmp 0x471d87
xor eax, eax
mov al, 1
mov ecx, dword [esp + 0x24]
push eax
push ebp
lea edx, [esp + 0x68]
push edx
call fcn.0046f2d0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xa0], 6
or ecx, 1
jmp 0x471ddd
cmp eax, 4
je 0x471db7
cmp eax, 5
sete al
test al, al
je 0x471dbb
xor eax, eax
mov al, 1
mov ecx, dword [esp + 0x24]
push eax
push ebp
lea eax, [esp + 0x5c]
push eax
call fcn.00470ed0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa0], 7
or ecx, 2
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], ecx
call fcn.00406120
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], ebp
test byte [esp + 0x18], 2
mov dword [esp + 0xa0], 0xa
je 0x471e31
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
and edx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471e31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test byte [esp + 0x18], 1
mov dword [esp + 0xa0], 9
je 0x471e6c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
and edx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0x18], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471e6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x471edf
mov al, byte [esp + 0xb8]
test al, al
je 0x471e99
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push ebp
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
push eax
sub ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
push ebx
inc ecx
push ecx
push edx
push eax
call fcn.004b9183
add esp, 0x30
jmp 0x472115
cmp eax, 1
jne 0x471f3b
push 0x7c
push 0xa
lea ecx, [esp + 0x18]
call fcn.0040f780
fild dword [esp + 0x58]
mov ebp, dword [esp + 0x10]
push ebp
fmul qword [esp + 0xb4]
fmul qword [0x507ad0]
call fcn.004b76b8
fild dword [esp + 0x54]
push eax
fmul qword [esp + 0xb8]
fmul qword [0x507ad0]
call fcn.004b76b8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004b9183
add esp, 0x14
jmp 0x472115
cmp eax, 2
jne 0x471f71
push 0x509104
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push esi
push ebp
push edi
push eax
push ecx
call fcn.004b9183
add esp, 0x14
jmp 0x472115
cmp eax, 3
jne 0x471fb9
push 0x7c
push 0xa
lea ecx, [esp + 0x18]
call fcn.0040f780
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
push ebp
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push eax
push ebx
push ecx
push edx
call fcn.004b9183
add esp, 0x24
jmp 0x472115
cmp eax, 4
jne 0x472066
push 0x504384
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
push ebp
push eax
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x80]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
push eax
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
mov eax, 0x66666667
imul dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
push edx
push eax
mov eax, 0x66666667
imul dword [esp + 0x54]
sar edx, 2
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ebx
push eax
push ecx
call fcn.004b9183
add esp, 0x44
jmp 0x472115
cmp eax, 5
jne 0x472115
push 0x504384
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00421260
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
add eax, ecx
mov ecx, dword [esp + 0x70]
push ebp
push edx
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
push eax
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
mov ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul dword [esp + 0x64]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x64]
push ecx
push edx
push eax
mov eax, 0x66666667
imul dword [esp + 0x58]
mov eax, dword [esp + 0x68]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push ebx
push ecx
push edx
push eax
call fcn.004b9183
add esp, 0x48
add ebp, 0xfffffff0
mov byte [esp + 0xa0], 5
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472138
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47215e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47217c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47219a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4721b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4721d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc ebp
add ecx, 0x34
cmp ebp, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], ecx
jl 0x471b6b
mov bl, byte [esp + 0xb8]
mov esi, dword [esp + 0xac]
cmp esi, 2
jne 0x47226e
push str.__BODY__n
lea ecx, [esp + 0x20]
call fcn.00403260
test bl, bl
mov byte [esp + 0xa0], 0xb
je 0x472236
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x24]
call fcn.00421260
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004b9183
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0xa0], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47226e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
call fcn.004b800e
mov ebp, dword [esp + 0x28]
mov al, byte [ebp + 0x46]
add esp, 4
test al, al
jne 0x4725d5
lea ecx, [esp + 0x5c]
push ecx
push 0x501b24
lea ecx, [ebp + 0x60]
call fcn.004ceca9
test eax, eax
je 0x4725d5
cmp esi, 4
je 0x4725d5
cmp esi, 5
je 0x4725d5
test bl, bl
mov esi, dword [esp + 0x5c]
push str..style
je 0x4722f3
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00410a70
mov eax, dword [eax]
mov ebx, dword [esp + 0x24]
push 0x50a324
push eax
mov byte [esp + 0xb4], 0xc
or ebx, 4
call fcn.004b81f0
jmp 0x47231d
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00410a70
mov ebx, dword [esp + 0x24]
mov eax, dword [eax]
or ebx, 8
push 0x50a31c
push eax
mov dword [esp + 0x2c], ebx
call fcn.004b81f0
add esp, 0x14
test bl, 8
mov edi, eax
je 0x47234c
mov eax, dword [esp + 0x30]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47234c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 4
mov dword [esp + 0xa0], 4
je 0x47237a
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47237a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x4723d7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4723a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4723d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x472629
mov bl, byte [esp + 0xb8]
test bl, bl
je 0x4723fc
push edi
push 2
lea eax, [esp + 0x38]
push 1
push eax
mov dword [esp + 0x40], 0xfeff
call fcn.004b92e8
add esp, 0x10
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x509bac
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 0xd
call fcn.00415410
push str.PlayResX:__d_n
lea ecx, [esp + 0x18]
call fcn.00415410
push str.PlayResY:__d_n
lea ecx, [esp + 0x18]
call fcn.00415410
push 0x5036f0
lea ecx, [esp + 0x18]
call fcn.00415410
push str._V4_Styles__nFormat:_Name__Fontname__Fontsize__PrimaryColour__SecondaryColour__OutlineColour__BackColour__Bold__Italic__Underline__StrikeOut__ScaleX__ScaleY__Spacing__Angle__BorderStyle__Outline__Shadow__Alignment__MarginL__MarginR__MarginV__Encoding_n
lea ecx, [esp + 0x18]
call fcn.00415410
test bl, bl
je 0x472474
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x1c]
call fcn.00421260
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push edi
call fcn.004b9183
add esp, 0x10
push str.Style:_Default__s__d_H_08x_H_08x_H_08x_H_08x__d__d__d__d__d__d__d__.2f__d__d__d__d__d__d__d__d_n
lea ecx, [esp + 0x18]
call fcn.00403220
test bl, bl
je 0x4724af
push 0x503880
push 0x5036f0
lea ecx, [esp + 0x1c]
call fcn.00421260
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4724bd
mov ebp, 1
jmp 0x4724cb
xor ecx, ecx
cmp eax, 1
setne cl
dec ecx
and ecx, 3
mov ebp, ecx
mov ecx, dword [esi + 4]
fld qword [esi + 0x20]
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0xc]
push edx
add eax, ecx
mov ecx, dword [esi]
cdq
sub eax, edx
mov edx, dword [esi + 0x10]
sar eax, 1
push eax
mov eax, dword [esi + 8]
push eax
push ecx
push edx
call fcn.004b76b8
fld qword [esi + 0x18]
push eax
call fcn.004b76b8
fld qword [esi + 0x70]
push eax
push ebp
sub esp, 8
fstp qword [esp]
fld qword [esi + 0x60]
call fcn.004b76b8
fld qword [esi + 0x58]
push eax
call fcn.004b76b8
fld qword [esi + 0x50]
push eax
call fcn.004b76b8
fld qword [esi + 0x48]
mov cl, byte [esi + 0x6d]
push eax
mov al, byte [esi + 0x6e]
mov dl, byte [esi + 0x6c]
neg al
mov ebx, dword [esi + 0x68]
sbb eax, eax
neg cl
push eax
sbb ecx, ecx
neg dl
push ecx
movzx ecx, byte [esi + 0x3b]
sbb edx, edx
xor eax, eax
push edx
mov edx, dword [esi + 0x34]
cmp ebx, 0x190
setle al
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
movzx edx, byte [esi + 0x39]
dec eax
push eax
movzx eax, byte [esi + 0x3a]
push ecx
mov ecx, dword [esi + 0x30]
and ecx, 0xffffff
shl eax, 0x18
or eax, ecx
movzx ecx, byte [esi + 0x38]
push eax
mov eax, dword [esi + 0x2c]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
push edx
mov edx, dword [esi + 0x28]
shl ecx, 0x18
and edx, 0xffffff
or ecx, edx
push ecx
call fcn.004b76b8
push eax
mov eax, dword [esi + 0x44]
push eax
mov esi, dword [esp + 0x70]
push esi
push edi
call fcn.004b9183
push edi
call fcn.004b800e
lea eax, [esi - 0x10]
add esp, 0x68
mov byte [esp + 0xa0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4725d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4725fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472627
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x14