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

Disassembly:
push 0xffffffffffffffff
push 0x4f281e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x53ffd0]
xor eax, dword [esp + 0x148]
push ebx
push ebp
mov dword [esp + 0x140], eax
push esi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0xe0]
mov dword [esp + 0x150], ebx
call fcn.0048d2e0
mov esi, dword [esp + 0x158]
push esi
lea ecx, [esp + 0xe4]
mov byte [esp + 0x154], 1
call fcn.0048d300
test al, al
jne 0x483147
lea ecx, [esp + 0xe0]
mov byte [esp + 0x150], al
call fcn.004d5b25
lea eax, [esi - 0x10]
mov dword [esp + 0x150], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x4835a3
or eax, 0xffffffff
mov byte [esp + 0xf], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x150], 2
mov dword [esp + 0x34], ebx
push edi
jmp 0x483190
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xe8]
call fcn.0048d640
test eax, eax
je 0x48352f
lea ecx, [esp + 0x14]
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
cmp dword [esp + 0x38], ebx
mov eax, dword [esp + 0x14]
jne 0x48325a
mov ecx, 0xa
mov esi, str.VobSub_index_file__v
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [eax - 0xc], ebx
mov edi, eax
jl 0x483244
lea ecx, [esp + 0x11c]
push ecx
push eax
call fcn.004b775f
add esp, 8
cmp eax, ebx
je 0x483244
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, ebx
jl 0x483244
mov edx, dword [esp + 0x160]
push edx
lea eax, [esp + 0x120]
push 0x4fae90
push eax
call fcn.004b6b5b
add eax, esi
lea ecx, [edi + eax*2]
add esp, 4
push ecx
call fcn.004b7226
add esp, 0xc
cmp eax, 1
jne 0x483244
mov edx, dword [esp + 0x160]
cmp dword [edx], 7
jle 0x4832ed
push ebx
push ebx
push str.Wrong_file_version_
call fcn.004ddac3
mov byte [esp + 0x13], 1
jmp 0x48351a
cmp dword [eax - 0xc], ebx
je 0x48351a
cmp word [eax], 0x23
jne 0x4832ed
mov ecx, 6
mov esi, str.Vob_Cell_ID:
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [eax - 0xc], ebx
mov edi, eax
jl 0x48351a
lea ecx, [esp + 0x100]
push ecx
push eax
call fcn.004b775f
add esp, 8
cmp eax, ebx
je 0x483518
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, ebx
jl 0x48351a
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x10c]
push str._d___d__PTS:__d_
push edx
call fcn.004b6b5b
add eax, esi
lea eax, [edi + eax*2]
add esp, 4
push eax
call fcn.004b7226
add esp, 0x14
jmp 0x48351a
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jle 0x48351a
push 0x3a
push eax
call fcn.004b7104
add esp, 8
cmp eax, ebx
je 0x483518
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, ebx
jle 0x48351a
push esi
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00406da0
mov ecx, eax
mov byte [esp + 0x154], 3
call fcn.0040f820
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00406120
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x154], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483376
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
push esi
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406f90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 6
call fcn.00406f20
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
mov byte [esp + 0x154], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4833c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x483d26
push str.size
push edi
call fcn.004b772d
add esp, 8
test eax, eax
jne 0x483432
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x8c]
push edx
push str._dx_d
push eax
call fcn.004b7226
add esp, 0x10
cmp eax, 2
je 0x48341c
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
jmp 0x4834f2
lea eax, [esp + 0x18]
push 0x50bc90
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483477
mov ecx, dword [esp + 0x14]
lea esi, [ebp + 0x24]
push esi
lea edi, [ebp + 0x20]
push edi
push str._d__d
push ecx
call fcn.004b7226
add esp, 0x10
cmp eax, 2
jne 0x4834ed
mov esi, dword [esi]
mov edi, dword [edi]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x2c], esi
jmp 0x4834f2
lea edx, [esp + 0x18]
push str.scale
push edx
call fcn.0040be10
add esp, 8
test al, al
je 0x4835d0
mov eax, dword [esp + 0x160]
cmp dword [eax], 5
mov edx, dword [esp + 0x14]
jge 0x4834d2
lea ecx, [esp + 0x34]
push ecx
push str._d__
push edx
mov dword [esp + 0x40], 0x64
call fcn.004b7226
add esp, 0xc
cmp eax, 1
je 0x4834c6
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x30], eax
jmp 0x4834f2
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x30]
push ecx
push str._d____d__
push edx
call fcn.004b7226
add esp, 0x10
cmp eax, 2
je 0x4834f2
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x154], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483518
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor ebx, ebx
mov ecx, dword [esp + 0x38]
mov al, byte [esp + 0x13]
inc ecx
test al, al
mov dword [esp + 0x38], ecx
je 0x483190
mov dl, byte [esp + 0x13]
mov eax, dword [esp + 0x14]
test dl, dl
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x154], 1
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x483561
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x150], 0
call fcn.004d5b25
mov eax, dword [esp + 0x158]
add eax, 0xfffffff0
mov dword [esp + 0x150], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4835a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x144]
xor ecx, dword [esp + 0x154]
pop esi
pop ebp
pop ebx
call fcn.004b8f56
add esp, 0x148
ret 8
lea eax, [esp + 0x18]
push str.alpha
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483604
mov edx, dword [esp + 0x14]
lea ecx, [ebp + 0x38]
push ecx
push 0x4fae90
push edx
call fcn.004b7226
add esp, 0xc
cmp eax, 1
jmp 0x4834eb
lea eax, [esp + 0x18]
push str.smooth
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x4836bd
lea ecx, [esp + 0x14]
call fcn.0040f820
push ebx
push 0x50bc34
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x4836b1
push ebx
push 0x4faf30
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x4836b1
push ebx
push 0x50bc2c
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x4836a5
push ebx
push 0x4faf34
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x4836a5
push ebx
push 0x50bc24
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x48369d
push ebx
push 0x4f86b0
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jl 0x4834ed
mov dword [ebp + 0x3c], ebx
jmp 0x4834f2
mov dword [ebp + 0x3c], 1
jmp 0x4834f2
mov dword [ebp + 0x3c], 2
jmp 0x4834f2
lea ecx, [esp + 0x18]
push str.fadein_out
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x4836ea
mov ecx, dword [esp + 0x14]
lea edx, [ebp + 0x44]
push edx
lea eax, [ebp + 0x40]
push eax
push str._d__d
push ecx
jmp 0x4834e0
lea edx, [esp + 0x18]
push str.align
push edx
call fcn.0040be10
add esp, 8
test al, al
je 0x4838e4
lea ecx, [esp + 0x14]
call fcn.0040f820
lea eax, [esp + 0x34]
push eax
push 0x4fcbd4
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
xor esi, esi
call fcn.00410950
mov byte [esp + 0x154], 7
mov edi, 1
jmp 0x483740
mov al, byte [esp + 0x13]
test al, al
jne 0x4838d6
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], ebx
je 0x4838d6
cmp esi, ebx
jne 0x4837cb
lea eax, [esp + 0x1c]
push 0x50bc2c
push eax
call fcn.0040be10
add esp, 8
test al, al
jne 0x4837c2
lea ecx, [esp + 0x1c]
push 0x4faf34
push ecx
call fcn.0040be10
add esp, 8
test al, al
jne 0x4837c2
lea edx, [esp + 0x1c]
push 0x50bc24
push edx
call fcn.0040be10
add esp, 8
test al, al
jne 0x4837b9
lea eax, [esp + 0x1c]
push 0x4f86b0
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483886
mov byte [ebp + 0x48], 0
jmp 0x48388b
mov byte [ebp + 0x48], 1
jmp 0x48388b
cmp esi, edi
jne 0x48382c
lea ecx, [esp + 0x1c]
push 0x50bbf8
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x4837ec
xor esi, esi
jmp 0x48388b
lea edx, [esp + 0x1c]
push str.left
push edx
call fcn.0040be10
add esp, 8
test al, al
je 0x48380a
mov dword [ebp + 0x4c], ebx
jmp 0x48388b
lea eax, [esp + 0x1c]
push str.center
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483825
mov dword [ebp + 0x4c], edi
jmp 0x48388b
push str.right
jmp 0x48386c
cmp esi, 2
jne 0x48388b
lea edx, [esp + 0x1c]
push 0x50bbc8
push edx
call fcn.0040be10
add esp, 8
test al, al
je 0x48384c
mov dword [ebp + 0x4c], ebx
jmp 0x48388b
lea eax, [esp + 0x1c]
push str.center
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483867
mov dword [ebp + 0x4c], edi
jmp 0x48388b
push str.bottom
lea ecx, [esp + 0x20]
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x483886
mov dword [ebp + 0x4c], 2
jmp 0x48388b
mov byte [esp + 0x13], 1
lea edx, [esp + 0x34]
push edx
push 0x4fcbd4
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.00410950
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 8
call fcn.00406f20
lea ecx, [esp + 0x98]
inc esi
mov byte [esp + 0x154], 7
call fcn.00402a10
cmp esi, 3
jl 0x483740
lea ecx, [esp + 0x1c]
call fcn.00402a10
jmp 0x4834f2
lea ecx, [esp + 0x18]
push str.time_offset
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x4839c1
mov edx, dword [esp + 0x14]
xor bl, bl
cmp word [edx], 0x2d
jne 0x48390c
mov bl, 1
push 0x50bb98
lea ecx, [esp + 0x18]
call fcn.0042df80
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x60]
push eax
push str._d_c_d_c_d_c_d
push ecx
call fcn.004b7226
add esp, 0x24
cmp eax, 1
jne 0x48396f
xor eax, eax
test bl, bl
sete al
lea eax, [eax + eax - 1]
imul eax, dword [esp + 0x48]
mov dword [ebp + 0x54], eax
jmp 0x4834f2
cmp eax, 7
jne 0x4839af
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
imul eax, eax, 0x3c
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x70]
add eax, edi
imul eax, eax, 0x3c
add eax, esi
imul eax, eax, 0x3e8
add eax, edx
xor edx, edx
test bl, bl
sete dl
lea edx, [edx + edx - 1]
imul eax, edx
mov dword [ebp + 0x54], eax
jmp 0x4834f2
mov eax, 1
mov byte [esp + 0x13], 1
mov dword [ebp + 0x54], eax
jmp 0x4834f2
lea eax, [esp + 0x18]
push str.forced_subs
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483a42
lea ecx, [esp + 0x14]
call fcn.0040f820
push ebx
push 0x50bc2c
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483a39
push ebx
push 0x4faf34
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483a39
push ebx
push 0x50bc24
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483a30
push ebx
push 0x4f86b0
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jl 0x4834ed
mov byte [ebp + 0x58], 0
jmp 0x4834f2
mov byte [ebp + 0x58], 1
jmp 0x4834f2
lea ecx, [esp + 0x18]
push str.langidx
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x483a79
mov eax, dword [esp + 0x14]
lea edx, [ebp + 0x13c]
push edx
push 0x4fae90
push eax
call fcn.004b7226
add esp, 0xc
cmp eax, 1
jmp 0x4834eb
lea ecx, [esp + 0x18]
push str.palette
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x483b01
lea edx, [ebp + 0x9c]
push edx
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x94]
push ecx
lea edx, [ebp + 0x90]
push edx
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0x88]
push ecx
lea edx, [ebp + 0x84]
push edx
lea eax, [ebp + 0x80]
push eax
lea ecx, [ebp + 0x7c]
push ecx
lea edx, [ebp + 0x78]
push edx
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x70]
push ecx
lea edx, [ebp + 0x6c]
push edx
lea eax, [ebp + 0x68]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [ebp + 0x64]
push ecx
lea edx, [ebp + 0x60]
push edx
push str._x__x__x__x__x__x__x__x__x__x__x__x__x__x__x__x
push eax
call fcn.004b7226
add esp, 0x48
cmp eax, 0x10
jmp 0x4834eb
lea ecx, [esp + 0x18]
push str.custom_colors
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x483cd6
lea ecx, [esp + 0x14]
call fcn.0040f820
push ebx
push 0x50bc2c
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483b7d
push ebx
push 0x4faf34
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483b7d
push ebx
push 0x50bc24
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483b77
push ebx
push 0x4f86b0
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
test eax, eax
jge 0x483b77
mov byte [esp + 0x13], 1
jmp 0x483b81
mov byte [ebp + 0x59], 0
jmp 0x483b81
mov byte [ebp + 0x59], 1
push ebx
push str.tridx:
lea ecx, [esp + 0x1c]
call fcn.0040bdd0
mov esi, eax
cmp esi, ebx
jl 0x483d21
push str.tridx:
call fcn.004b6b5b
add esp, 4
add eax, esi
push eax
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00406f90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 9
call fcn.00406f20
lea ecx, [esp + 0xa0]
mov byte [esp + 0x154], 5
call fcn.00402a10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
push 0x50912c
push ecx
call fcn.004b7226
add esp, 0xc
cmp eax, 1
jne 0x483d21
mov eax, dword [esp + 0x3c]
mov edx, eax
sar edx, 5
and edx, 0x80
mov ecx, eax
and ecx, 0x100
or edx, ecx
mov ecx, eax
sar edx, 5
and ecx, 0x10
or edx, ecx
and eax, 1
sar edx, 2
shl eax, 3
push ebx
or edx, eax
push str.colors:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edx
call fcn.0040bdd0
mov esi, eax
cmp esi, ebx
jl 0x483d21
push str.colors:
call fcn.004b6b5b
add esp, 4
add eax, esi
push eax
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00406f90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 0xa
call fcn.00406f20
lea ecx, [esp + 0x78]
call fcn.00402a10
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0xb0]
push eax
push str._x__x__x__x
push ecx
call fcn.004b7226
add esp, 0x18
cmp eax, 4
jne 0x483d21
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [ebp + 0x18]
call fcn.0047fcb0
jmp 0x4834f2
lea ecx, [esp + 0x18]
push 0x50baa0
push ecx
call fcn.0040be10
add esp, 8
test al, al
je 0x483e16
lea ecx, [esp + 0x14]
call fcn.0040f820
mov eax, dword [esp + 0x14]
mov cx, word [eax]
mov ax, word [eax + 2]
xor edx, edx
mov dh, cl
push ebx
push str.index:
lea ecx, [esp + 0x1c]
mov dl, al
mov edi, edx
call fcn.0040bdd0
mov esi, eax
cmp esi, ebx
jge 0x483d3c
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 2
call fcn.00402a10
jmp 0x48351a
push str.index:
call fcn.004b6b5b
add esp, 4
add eax, esi
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406f90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 0xb
call fcn.00406f20
lea ecx, [esp + 0x9c]
mov byte [esp + 0x154], 5
call fcn.00402a10
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push 0x4fae90
push edx
call fcn.004b7226
add esp, 0xc
cmp eax, 1
jne 0x483d21
mov eax, dword [esp + 0x20]
cmp eax, ebx
jl 0x483d21
cmp eax, 0x20
jge 0x483d21
add eax, 0xa
shl eax, 5
push edi
mov dword [eax + ebp], edi
call fcn.0047f520
imul eax, eax, 0x82
add eax, 0x5385aa
add esp, 4
push eax
mov eax, dword [esp + 0x24]
shl eax, 5
lea ecx, [eax + ebp + 0x144]
call fcn.00403220
push edi
call fcn.0047f520
imul eax, eax, 0x82
mov ecx, dword [esp + 0x24]
add esp, 4
add eax, 0x5385aa
shl ecx, 5
push eax
lea ecx, [ecx + ebp + 0x148]
call fcn.00403220
mov dword [esp + 0x24], ebx
jmp 0x4834f2
cmp dword [esp + 0x20], ebx
jl 0x4834ed
lea edx, [esp + 0x18]
push 0x50ba88
push edx
call fcn.0040be10
add esp, 8
test al, al
je 0x483e53
mov eax, dword [esp + 0x20]
shl eax, 5
lea edx, [esp + 0x14]
lea ecx, [eax + ebp + 0x148]
push edx
call fcn.00406f20
jmp 0x4834f2
cmp dword [esp + 0x20], ebx
jl 0x4834ed
lea eax, [esp + 0x18]
push str.delay
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x483f1c
mov ecx, dword [esp + 0x14]
xor bl, bl
cmp word [ecx], 0x2d
jne 0x483e85
mov bl, 1
push 0x50bb98
lea ecx, [esp + 0x18]
call fcn.0042df80
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x98]
push edx
push str._d_c_d_c_d_c_d
push eax
call fcn.004b7226
add esp, 0x24
cmp eax, 7
jne 0x48408f
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x94]
imul ecx, ecx, 0x3c
mov eax, dword [esp + 0x58]
add ecx, edx
mov edi, dword [esp + 0x5c]
imul ecx, ecx, 0x3c
add ecx, eax
imul ecx, ecx, 0x3e8
mov eax, dword [esp + 0x24]
xor edx, edx
add ecx, edi
test bl, bl
sete dl
lea edx, [edx + edx - 1]
imul ecx, edx
add eax, ecx
mov dword [esp + 0x24], eax
jmp 0x4834f2
cmp dword [esp + 0x20], ebx
jl 0x4834ed
lea eax, [esp + 0x18]
push str.timestamp
push eax
call fcn.0040be10
add esp, 8
test al, al
je 0x4834ed
mov cl, byte [esp + 0x40]
mov dl, byte [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xcd], cl
mov ecx, dword [esp + 0x50]
mov byte [esp + 0xce], dl
mov edx, dword [esp + 0x14]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov byte [esp + 0xdc], 1
xor bl, bl
cmp word [edx], 0x2d
jne 0x483f82
mov bl, 1
push 0x50bb98
lea ecx, [esp + 0x18]
call fcn.0042df80
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x7c]
push eax
push str._d_c_d_c_d_c_d
push ecx
call fcn.004b7226
add esp, 0x24
cmp eax, 7
jne 0x48408f
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
imul eax, eax, 0x3c
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
add eax, esi
imul eax, eax, 0x3c
add eax, edx
imul eax, eax, 0x3e8
mov edi, dword [esp + 0x24]
add eax, ecx
xor edx, edx
test bl, bl
sete dl
push 0
push str.filepos:
lea ecx, [esp + 0x1c]
lea edx, [edx + edx - 1]
imul eax, edx
add eax, edi
cdq
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
call fcn.0040bdd0
mov esi, eax
test esi, esi
jl 0x48408f
push str.filepos:
call fcn.004b6b5b
add esp, 4
add eax, esi
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406f90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 0xc
call fcn.00406f20
lea ecx, [esp + 0x84]
mov byte [esp + 0x154], 5
call fcn.00402a10
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xb4]
push ecx
push str._I64x
push edx
call fcn.004b7226
add esp, 0xc
cmp eax, 1
je 0x4840aa
lea ecx, [esp + 0x18]
mov byte [esp + 0x13], 1
mov byte [esp + 0x154], 2
call fcn.00402a10
jmp 0x483518
test edi, edi
mov edx, dword [esp + 0x20]
jge 0x484108
mov eax, edx
shl eax, 5
lea ecx, [eax + ebp]
mov eax, dword [ecx + 0x154]
test eax, eax
jle 0x484108
mov ecx, dword [ecx + 0x150]
lea esi, [eax + eax*2]
shl esi, 4
mov eax, dword [esi + ecx - 0x28]
mov ecx, dword [esi + ecx - 0x24]
mov esi, dword [esp + 0xc0]
cmp esi, ecx
jg 0x484108
mov esi, dword [esp + 0xbc]
jl 0x4840f0
cmp esi, eax
jae 0x484108
mov ebx, eax
sub ebx, esi
add edi, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
shl edx, 5
mov eax, dword [edx + ebp + 0x154]
lea ecx, [edx + ebp + 0x14c]
lea edx, [esp + 0xb4]
push edx
push eax
call fcn.004801a0
jmp 0x4834f2