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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20a0
call fcn.10011a00
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x80]
push esi
push edi
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x84]
push 0x2000
mov dword [ebx + 0x8c], eax
xor edi, edi
lea eax, [ebp - 0x209c]
push edi
push eax
call fcn.10008d90
mov esi, dword [ebx + 0xac]
add esp, 0xc
cmp dword [ebx + 0xa8], 0x800
jne 0x10017361
shl esi, 3
or dword [ebx + 0xa4], 0xffffffff
cmp edi, esi
jae 0x10017395
mov ecx, dword [ebx + 0x80fc]
lea eax, [ebp - 0x209c]
push eax
add ecx, ebx
call dword [ebx + 0x80f8]
test eax, eax
jl 0x100188a0
jne 0x10017395
inc edi
cmp dword [ebx + 0xa4], 0
jne 0x10017368
lea esi, [ebx + 0x80b0]
mov eax, dword [esi]
test eax, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x14], eax
je 0x100173d2
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.100032b3
cmp dword [eax + 0x10], 0
jne 0x100173cc
push eax
mov eax, dword [eax + 4]
mov ecx, ebx
call fcn.10015dfa
mov eax, edi
mov ecx, esi
call fcn.100032cb
cmp dword [ebp - 0x14], 0
jne 0x100173a7
cmp dword [ebx + 0x80b8], 0
jne 0x100174ad
mov eax, esi
call fcn.10003249
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x100173fb
push 0x80004005
call fcn.10001045
add eax, 8
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], eax
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [ebp - 0xc], 0x10
mov ecx, dword [ebp - 0xc]
mov cl, byte [ebp + ecx - 0x209c]
test cl, cl
je 0x10017463
lea esi, [eax + 0xc]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
mov byte [ebp - 0x4c], cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x47], 0
mov byte [ebp - 0x4b], 0
jb 0x1001744c
lea eax, [edi + 1]
call fcn.10003741
test al, al
je 0x10017496
mov eax, dword [ebp - 0x18]
shl edi, 4
add edi, dword [esi]
je 0x1001745d
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [eax + 0x10]
mov esi, dword [ebp - 0x3c]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x2000
jb 0x10017410
cmp dword [eax + 0x10], 0
jne 0x100174ad
mov ecx, dword [esi + 4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x100173f1
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esi + 4], eax
je 0x100174a0
and dword [eax], 0
jmp 0x100174a3
push 0x8007000e
jmp 0x100173f6
and dword [esi], 0
mov esi, dword [ebp - 0x3c]
mov edi, ecx
call fcn.1000386d
mov esi, dword [esi]
and dword [ebx + 0xa4], 0
test esi, esi
mov dword [ebp - 0x14], esi
je 0x100176d1
lea ecx, [ebp - 0x14]
call fcn.100032b3
or dword [eax + 0x20], 0xffffffff
or dword [eax + 0x24], 0xffffffff
xor esi, esi
cmp dword [eax + 0x10], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
jbe 0x100176c7
mov edi, eax
add edi, 0xc
mov eax, esi
mov ecx, edi
call fcn.10003234
movzx eax, byte [eax + 8]
call fcn.10012fe5
test eax, eax
mov dword [ebp - 0xc], eax
je 0x100176b7
cmp byte [eax], 0x56
jne 0x10017510
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x1d], 1
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
cmp dword [ebx + eax*4 + 0xb0], 0
je 0x10017592
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
cmp byte [eax + 6], 1
je 0x10017592
mov eax, esi
mov ecx, edi
call fcn.10003234
cmp dword [eax + 4], 0x11
jne 0x100176b7
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov edi, dword [ebx + eax*4 + 0xb0]
test edi, edi
je 0x10017578
call fcn.10001f89
push edi
call fcn.10007172
mov esi, dword [ebp - 0x28]
pop ecx
mov edi, dword [ebp - 0x2c]
add edi, 0xc
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
and dword [ebx + eax*4 + 0xb0], 0
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
cmp dword [ebx + eax*4 + 0xb0], 0
jne 0x10017674
push 0xf0
call fcn.100080f5
test eax, eax
pop ecx
mov dword [ebp - 0x20], eax
je 0x10017630
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x41
jne 0x100175d5
mov eax, esi
mov ecx, edi
call fcn.10003234
cmp byte [eax + 0xd], 1
je 0x100175fb
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x56
jne 0x100175ff
mov eax, esi
mov ecx, edi
call fcn.10003234
cmp byte [eax + 0xd], 2
jb 0x100175ff
mov eax, esi
mov ecx, edi
call fcn.10003234
cmp byte [eax + 0xd], 4
ja 0x100175ff
mov al, 1
jmp 0x10017601
xor al, al
push eax
mov eax, dword [ebp - 0x28]
mov ecx, edi
call fcn.10003234
movzx eax, byte [eax + 8]
push eax
mov eax, dword [ebp - 0x28]
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov esi, dword [ebp - 0x20]
mov cl, 1
call fcn.10001640
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x10017634
and dword [ebp - 0x18], 0
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebx + eax*4 + 0xb0], ecx
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x53
je 0x1001765a
inc dword [ebx + 0xa4]
jmp 0x10017674
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
mov byte [eax + 0x88], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
add eax, 0x9c
call fcn.100030b6
push dword [ebp - 0xc]
mov eax, esi
mov ecx, edi
call fcn.10003234
push dword [eax + 4]
push str.Adding_stream__d_codec__s
call fcn.10006ab1
add esp, 0xc
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, dword [eax + 0x10]
mov dword [ebp - 0x28], esi
jb 0x100174e7
cmp dword [ebp - 0x14], 0
jne 0x100174c1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x10017742
lea ecx, [ebp - 0x18]
call fcn.100032b3
mov edi, eax
mov eax, dword [edi + 8]
cmp dword [ebx + eax*4 + 0xb0], 0
jne 0x10017721
push 0xf0
call fcn.100080f5
mov esi, eax
test esi, esi
pop ecx
je 0x10017715
mov eax, dword [edi + 8]
push 0
push 0
mov cl, 2
call fcn.10001640
jmp 0x10017717
xor eax, eax
mov ecx, dword [edi + 8]
mov dword [ebx + ecx*4 + 0xb0], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 8]
mov eax, dword [ebx + eax*4 + 0xb0]
add eax, 0xac
mov dword [ebp - 0x20], edi
call fcn.100030b6
cmp dword [ebp - 0x18], 0
jne 0x100176dd
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x84]
push ebx
mov dword [ebx + 0x8c], eax
call fcn.10013a75
and dword [ebp - 0x18], 0
jmp 0x100181bb
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0xac]
jae 0x100181c8
mov ecx, dword [ebx + 0x8104]
push 0
add ecx, ebx
call dword [ebx + 0x8100]
test eax, eax
jl 0x100188a0
jne 0x100181c8
lea eax, [ebx + 0x80dc]
mov esi, dword [eax]
test esi, esi
mov dword [ebp - 0x48], eax
je 0x100181b0
jmp 0x100177ae
mov esi, dword [ebp - 0x20]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x100173f1
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
shr eax, 1
test al, 1
mov dword [ebp - 0x34], esi
jne 0x100181a6
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov edx, 0x80
cmp ecx, edx
ja 0x10017dfa
je 0x10017d4c
test ecx, ecx
jbe 0x100181a6
cmp ecx, 2
jbe 0x100178d4
cmp ecx, 4
jbe 0x10017889
cmp ecx, 0xf
je 0x1001783c
cmp ecx, 0x1b
je 0x10017e20
cmp ecx, 0x71
jne 0x100181a6
cmp byte [eax + 0x88], 0
jne 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100180a7
mov edx, dword [eax + 4]
jmp 0x100180a9
cmp byte [eax + 0x88], 0
jne 0x100181a6
add eax, 0x80
push eax
push 2
pop eax
lea ecx, [ebp - 0x60]
call fcn.1000137c
mov edi, dword [esi + 0x10]
add edi, 0x4c
mov ebx, eax
call fcn.100013ce
lea eax, [ebp - 0x60]
call fcn.100013b1
mov eax, dword [esi + 0x10]
mov byte [eax + 0x88], 1
mov eax, dword [ebp + 8]
dec dword [eax + 0xa4]
mov ebx, eax
jmp 0x100181a6
cmp byte [eax + 0x88], 0
jne 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100178a2
mov edx, dword [eax + 4]
jmp 0x100178a4
xor edx, edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100178b0
mov ecx, dword [eax + 0xc]
jmp 0x100178b2
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea edi, [eax + 0x7c]
push edi
lea edi, [ebp - 0x40]
push edi
lea edi, [eax + 0x74]
push edi
add eax, 0x70
push eax
push edx
push ecx
call fcn.10005f6d
add esp, 0x18
jmp 0x10018192
cmp byte [eax + 0x88], 0
jne 0x100181a6
or eax, 0xffffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017902
mov eax, dword [eax + 4]
jmp 0x10017904
xor eax, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017910
mov ecx, dword [ecx + 0xc]
jmp 0x10017912
xor ecx, ecx
push eax
mov eax, ecx
call fcn.10012d2f
test eax, eax
pop ecx
mov dword [ebp - 0x24], eax
jl 0x100181a6
xor edi, edi
cmp eax, 3
jle 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1001793d
mov ecx, dword [eax + 0xc]
jmp 0x1001793f
xor ecx, ecx
push dword [ebp - 0x24]
lea eax, [edi + 4]
call fcn.10012d76
add esp, 4
test eax, eax
mov dword [ebp - 0x34], eax
jge 0x1001795a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017966
mov ecx, dword [ecx + 0xc]
jmp 0x10017968
xor ecx, ecx
movzx ecx, byte [ecx + edi + 3]
sub ecx, 0xb3
je 0x10017b0c
dec ecx
dec ecx
jne case.default.0x10017bdf
mov eax, dword [ebp - 0x34]
sub eax, edi
cmp eax, 4
jle case.default.0x10017bdf
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1001799b
mov ecx, dword [ecx + 0xc]
jmp 0x1001799d
xor ecx, ecx
movzx ecx, byte [ecx + edi + 4]
shr ecx, 4
dec ecx
je 0x10017a72
dec ecx
jne case.default.0x10017bdf
cmp eax, 5
jl case.default.0x10017bdf
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [edi + 5]
je 0x100179cb
mov ecx, dword [ecx + 0xc]
jmp 0x100179cd
xor ecx, ecx
test byte [ecx + edi + 4], 1
je 0x100179e0
cmp eax, 8
jl case.default.0x10017bdf
add edx, 3
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100179ec
mov edi, dword [ecx + 0xc]
jmp 0x100179ee
xor edi, edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100179fa
mov ecx, dword [ecx + 0xc]
jmp 0x100179fc
xor ecx, ecx
movzx ecx, byte [ecx + edx + 1]
movzx eax, byte [edi + edx]
shr ecx, 2
shl eax, 6
or ecx, eax
mov edi, 0x3fff
and ecx, edi
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017a26
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x10017a2a
and dword [ebp - 0x28], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017a36
mov eax, dword [ecx + 0xc]
jmp 0x10017a38
xor eax, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017a44
mov ecx, dword [ecx + 0xc]
jmp 0x10017a46
xor ecx, ecx
movzx eax, byte [eax + edx + 2]
movzx ecx, byte [ecx + edx + 3]
shl eax, 5
shr ecx, 3
or ecx, eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + edx + 1]
and eax, 1
and ecx, edi
shl eax, 0xd
or ecx, eax
mov dword [ebp - 0x28], ecx
jmp case.default.0x10017bdf
cmp eax, 0xa
jl case.default.0x10017bdf
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017a87
mov edx, dword [ecx + 0xc]
jmp 0x10017a89
xor edx, edx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017a95
mov ecx, dword [ecx + 0xc]
jmp 0x10017a97
xor ecx, ecx
xor eax, eax
mov ah, byte [edx + edi + 5]
mov al, byte [ecx + edi + 6]
mov ecx, dword [esi + 0xc]
and eax, 0x180
shl eax, 5
or dword [ebp - 0xc], eax
test ecx, ecx
je 0x10017ab8
mov ecx, dword [ecx + 0xc]
jmp 0x10017aba
xor ecx, ecx
movzx eax, byte [ecx + edi + 6]
mov ecx, dword [esi + 0xc]
and eax, 0x60
shl eax, 7
or dword [ebp - 0x2c], eax
test ecx, ecx
je 0x10017ad4
mov ecx, dword [ecx + 0xc]
jmp 0x10017ad6
xor ecx, ecx
movzx eax, byte [ecx + edi + 9]
mov ecx, dword [esi + 0xc]
shr eax, 5
and eax, 3
inc eax
imul eax, dword [ebp - 8]
test ecx, ecx
mov dword [ebp - 8], eax
je 0x10017af5
mov ecx, dword [ecx + 0xc]
jmp 0x10017af7
xor ecx, ecx
movzx eax, byte [ecx + edi + 9]
and eax, 0x1f
inc eax
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp case.default.0x10017bdf
mov eax, dword [ebp - 0x34]
sub eax, edi
cmp eax, 8
jl case.default.0x10017bdf
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017b26
mov ecx, dword [ecx + 0xc]
jmp 0x10017b28
xor ecx, ecx
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10017b37
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x10017b3b
and dword [ebp - 0xc], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10017b4a
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x10017b4e
and dword [ebp - 0x2c], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10017b5a
mov eax, dword [edx + 0xc]
jmp 0x10017b5c
xor eax, eax
movzx eax, byte [eax + edi + 7]
xor edx, edx
mov dh, byte [ecx + edi + 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + edi + 5]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + edi + 6]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0x14
mov dword [ebp - 0xc], ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xfff
mov dword [ebp - 0x2c], ecx
mov ecx, edx
shr ecx, 4
and ecx, 0xf
dec ecx
dec ecx
je 0x10017bc8
dec ecx
je 0x10017bb8
dec ecx
jne 0x10017bd6
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x28], 0xdd
jmp 0x10017bd6
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x28], 9
jmp 0x10017bd6
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x28], 3
and edx, 0xf
dec edx
cmp edx, 7
ja case.default.0x10017bdf
jmp dword [edx*4 + 0x100188a9]
mov dword [ebp - 8], 0x3e9
mov dword [ebp - 0x10], 0x5dc0
jmp case.default.0x10017bdf
mov dword [ebp - 0x10], 0x18
jmp 0x10017c41
mov dword [ebp - 0x10], 0x19
jmp 0x10017c41
mov dword [ebp - 8], 0x3e9
mov dword [ebp - 0x10], 0x7530
jmp case.default.0x10017bdf
mov dword [ebp - 0x10], 0x1e
jmp 0x10017c41
mov dword [ebp - 0x10], 0x32
jmp 0x10017c41
mov dword [ebp - 8], 0x3e9
mov dword [ebp - 0x10], 0xea60
jmp case.default.0x10017bdf
mov dword [ebp - 0x10], 0x3c
mov dword [ebp - 8], 1
mov edi, dword [ebp - 0x34]
lea eax, [edi + 3]
cmp eax, dword [ebp - 0x24]
jl 0x10017931
cmp dword [ebp - 0xc], 0
jle 0x100181a6
cmp dword [ebp - 0x2c], 0
jle 0x100181a6
cmp dword [ebp - 0x30], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x54], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x58], ecx
jle 0x10017ce4
cmp dword [ebp - 0x28], 0
jle 0x10017ce4
mov eax, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10006823
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
mov eax, 0x10000
cmp ecx, eax
jae 0x10017cbc
cmp dword [ebp - 0x30], eax
jb 0x10017cc3
shr ecx, 1
shr dword [ebp - 0x30], 1
jmp 0x10017cae
test ecx, ecx
je 0x10017ccd
cmp dword [ebp - 0x30], 0
jne 0x10017cd3
xor ecx, ecx
inc ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [esi + 0x10]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x60], ecx
jmp 0x10017cf3
mov ecx, dword [esi + 0x10]
xor eax, eax
inc eax
mov dword [ecx + 0x60], eax
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x5c], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x10017d0f
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x10017d0f
mov edx, dword [esi + 0x10]
mov dword [edx + 0x68], ecx
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x64], eax
jmp 0x10017d1d
mov eax, dword [esi + 0x10]
and dword [eax + 0x64], 0
mov eax, dword [esi + 0x10]
and dword [eax + 0x68], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017d29
mov eax, dword [eax + 0xc]
jmp 0x10017d2b
xor eax, eax
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
call fcn.1000137c
mov edi, dword [esi + 0x10]
add edi, 0x4c
mov ebx, eax
call fcn.100013ce
lea eax, [ebp - 0x58]
jmp 0x1001786a
cmp byte [eax + 0x88], 0
jne 0x100181a6
cmp dword [esi + 0x2c], 4
jl 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017d6f
mov eax, dword [eax + 4]
jmp 0x10017d71
xor eax, eax
cmp eax, 4
jb 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017d86
mov edi, dword [eax + 0xc]
jmp 0x10017d88
xor edi, edi
mov al, byte [edi + 2]
cmp al, 0x91
je 0x10017d97
cmp al, 0xb1
jne 0x100181a6
mov cl, byte [edi + 3]
cmp cl, 0xc0
je 0x10017da8
cmp cl, 0x40
jne 0x100181a6
cmp al, 0x91
jne 0x10017db1
push 6
pop eax
jmp 0x10017dbd
sub al, 0xb1
neg al
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x74], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 0x70], 0xbb80
mov al, byte [edi + 3]
cmp al, 0x40
jne 0x10017dd9
push 0x10
pop eax
jmp 0x10017de5
sub al, 0xc0
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x18
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 0x10]
mov byte [eax + 0x88], 1
jmp 0x100181a6
sub ecx, 0x86
je 0x10018154
sub ecx, 0x64
je 0x10018117
sub ecx, 0x12
je 0x1001781c
dec ecx
dec ecx
jne 0x100181a6
xor ecx, ecx
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x10017e30
mov eax, dword [eax + 4]
jmp 0x10017e32
xor eax, eax
lea edx, [ecx + 3]
cmp edx, eax
jae 0x100181a6
mov eax, dword [esi + 0x10]
cmp dword [eax + 8], 0xfe
mov eax, dword [esi + 0xc]
jne 0x10017ed8
cmp eax, edi
je 0x10017e57
mov edi, dword [eax + 4]
test eax, eax
je 0x10017e60
mov edx, dword [eax + 0xc]
jmp 0x10017e62
xor edx, edx
push edi
mov eax, ecx
call fcn.10012c4b
test eax, eax
pop ecx
mov dword [ebp - 0x24], eax
jl 0x100181a6
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10017e82
mov edx, dword [ecx + 4]
jmp 0x10017e84
xor edx, edx
test ecx, ecx
je 0x10017e8d
mov ecx, dword [ecx + 0xc]
jmp 0x10017e8f
xor ecx, ecx
lea edi, [eax + 3]
push edx
mov eax, edi
mov edx, ecx
call fcn.10012c4b
test eax, eax
pop ecx
jge 0x10017eaf
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017ead
mov eax, dword [eax + 4]
jmp 0x10017eaf
xor eax, eax
mov ecx, edi
mov edi, eax
sub edi, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
sub edi, 3
je 0x10017f3c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017eca
mov eax, dword [eax + 0xc]
jmp 0x10017ecc
xor eax, eax
add eax, edi
cmp byte [eax + ecx - 1], 0
jne 0x10017f3c
dec edi
jmp 0x10017f3c
cmp eax, edi
je 0x10017ee1
mov edx, dword [eax + 0xc]
jmp 0x10017ee3
xor edx, edx
cmp eax, edi
je 0x10017eef
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x10017ef2
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10017f01
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x10017f04
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10017f0e
mov edi, dword [eax + 0xc]
xor eax, eax
mov ah, byte [edx + ecx]
mov edx, dword [ebp - 0x24]
mov al, byte [edx + ecx + 1]
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + ecx + 2]
shl eax, 8
or eax, edx
movzx edx, byte [edi + ecx + 3]
shl eax, 8
or eax, edx
mov edi, eax
add ecx, 4
lea eax, [edi + ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017f48
mov eax, dword [eax + 4]
jmp 0x10017f4a
xor eax, eax
lea edx, [edi + ecx]
cmp edx, eax
ja 0x100181a6
test edi, edi
jbe 0x1001809f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017f69
mov eax, dword [eax + 0xc]
jmp 0x10017f6b
xor eax, eax
mov al, byte [eax + ecx]
and eax, 0x1f
sub eax, 7
je 0x10017fef
dec eax
jne 0x1001809f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017f89
mov eax, dword [eax + 0xc]
jmp 0x10017f8b
xor eax, eax
add eax, ecx
push eax
mov eax, edi
lea ecx, [ebp - 0x38]
call fcn.1000137c
push ecx
mov ecx, dword [ebp - 0x38]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10017fa9
inc dword [eax]
call fcn.10015c8d
cmp eax, 0xff
pop ecx
mov dword [ebp - 0x24], eax
ja 0x10017fe7
mov ecx, dword [esi + 0x10]
cmp dword [ecx + 0x40], eax
jg 0x10017fcc
mov edi, eax
inc edi
lea eax, [ecx + 0x3c]
call fcn.10002ffe
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x24]
add ecx, 0x3c
call fcn.1000308a
lea ebx, [ebp - 0x38]
mov edi, eax
call fcn.100013ce
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x38]
jmp 0x1001809a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10017ffb
mov eax, dword [eax + 0xc]
jmp 0x10017ffd
xor eax, eax
add eax, ecx
push eax
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.1000137c
push ecx
mov ecx, dword [ebp - 0x14]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
test eax, eax
lea edi, [ebp - 0x98]
je 0x10018021
inc dword [eax]
call fcn.100160ed
cmp eax, 0x1f
pop ecx
mov dword [ebp - 0x24], eax
ja 0x10018097
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + 0x30], ecx
jg 0x10018045
lea edi, [ecx + 1]
add eax, 0x2c
call fcn.10002ffe
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x24]
add ecx, 0x2c
call fcn.1000308a
lea ebx, [ebp - 0x14]
mov edi, eax
call fcn.100013ce
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x88], 0
jne 0x10018094
lea edi, [eax + 0x54]
mov eax, dword [ebp - 0x34]
push 0xd
pop ecx
lea esi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x10]
mov esi, dword [ebp - 0x34]
mov byte [eax + 0x88], 1
mov eax, dword [ebp + 8]
dec dword [eax + 0xa4]
mov ebx, eax
jmp 0x10018097
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
call fcn.100013b1
mov ecx, dword [ebp - 0xc]
jmp 0x10017e22
xor edx, edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100180b5
mov ecx, dword [eax + 0xc]
jmp 0x100180b7
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea edi, [ebp - 0x40]
push edi
lea edi, [eax + 0x74]
push edi
add eax, 0x70
push eax
push edx
push ecx
call fcn.10006294
add esp, 0x14
test eax, eax
jle 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100180e4
mov ecx, dword [eax + 4]
jmp 0x100180e6
xor ecx, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100180f2
mov eax, dword [eax + 0xc]
jmp 0x100180f4
xor eax, eax
push ecx
push eax
call fcn.10012c34
mov ecx, dword [esi + 0x10]
sub eax, 0x10
add esp, 8
neg eax
sbb eax, eax
and eax, 0xffffff75
add eax, 0xfc
mov dword [ecx + 8], eax
jmp 0x10018196
cmp byte [eax + 0x88], 0
jne 0x100181a6
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x10018130
mov ecx, dword [ecx + 4]
jmp 0x10018132
xor ecx, ecx
test ecx, ecx
jbe 0x100181a6
mov eax, dword [eax + 0x50]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x10018144
inc dword [eax]
mov esi, dword [esi + 0x10]
call fcn.10013b4a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
jmp 0x10018199
cmp byte [eax + 0x88], 0
jne 0x100181a6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10018169
mov edx, dword [eax + 4]
jmp 0x1001816b
xor edx, edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10018177
mov ecx, dword [eax + 0xc]
jmp 0x10018179
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea edi, [ebp - 0x40]
push edi
lea edi, [eax + 0x74]
push edi
add eax, 0x70
push eax
push edx
push ecx
call fcn.100060cd
add esp, 0x14
test eax, eax
jle 0x100181a6
mov eax, dword [esi + 0x10]
mov byte [eax + 0x88], 1
dec dword [ebx + 0xa4]
cmp dword [ebp - 0x20], 0
jne 0x100177ab
mov ecx, dword [ebp - 0x48]
call fcn.10003199
inc dword [ebp - 0x18]
cmp dword [ebx + 0xa4], 0
jne 0x10017769
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x38], eax
je 0x1001838a
jmp 0x100181de
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], eax
call fcn.100032b3
cmp dword [eax + 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x10], esi
jbe 0x100182ce
lea edi, [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
cmp dword [ebx + eax*4 + 0xb0], 0
je 0x100182b5
mov eax, dword [ebp - 0x10]
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
cmp byte [eax + 0x88], 0
je 0x100182b5
mov eax, dword [ebp - 0x10]
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov esi, dword [ebx + eax*4 + 0xb0]
mov eax, dword [ebp - 0x10]
mov ecx, edi
add esi, 8
call fcn.10003234
mov cl, byte [esi]
inc dword [ebp - 0x18]
mov byte [eax + 8], cl
mov eax, dword [ebp - 0x10]
mov ecx, edi
call fcn.10003234
movzx eax, byte [eax + 8]
call fcn.10012fe5
test eax, eax
je 0x100182b5
cmp byte [eax], 0x56
jne 0x100182b5
mov eax, dword [ebp - 0x10]
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x40], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x10]
jb 0x10018204
xor esi, esi
cmp dword [ebp - 0x18], esi
jne 0x100182e7
mov esi, dword [ebp - 0x14]
push ebx
call fcn.10017095
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
call fcn.100032cb
jmp 0x1001837f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], esi
jbe 0x1001837f
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
cmp dword [ebx + eax*4 + 0xb0], 0
je 0x10018372
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
cmp byte [eax + 0x88], 0
je 0x10018372
mov eax, esi
mov ecx, edi
call fcn.10003234
movzx eax, byte [eax + 8]
call fcn.10012fe5
test eax, eax
je 0x10018372
cmp byte [eax], 0x53
jne 0x10018372
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x54], ecx
mov eax, esi
mov ecx, edi
call fcn.10003234
mov eax, dword [eax + 4]
mov eax, dword [ebx + eax*4 + 0xb0]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, dword [eax + 0x10]
jb 0x100182f3
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x100181dc
and dword [ebp - 0x38], 0
lea edi, [ebx + 0xb0]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
test eax, eax
je 0x10018675
cmp byte [eax + 0x88], 0
je 0x10018675
mov ecx, dword [ebx + 0x80d0]
lea esi, [ebx + 0x80cc]
mov dword [eax + 0xbc], ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
jb 0x100183dc
inc eax
call fcn.1000388a
test al, al
je 0x10017496
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi]
lea eax, [ecx + eax*4]
test eax, eax
je 0x100183e9
mov ecx, dword [edi]
mov dword [eax], ecx
inc dword [esi + 4]
mov eax, dword [edi]
cmp dword [eax + 8], 0x1b
jne 0x10018675
and dword [ebp - 8], 0
push 6
pop ebx
lea esi, [ebp - 8]
call fcn.1000131e
mov eax, dword [ebp - 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x10018422
mov eax, dword [eax + 0xc]
jmp 0x10018424
xor eax, eax
mov byte [eax + 4], 0xff
mov eax, dword [edi]
xor bl, bl
xor esi, esi
cmp dword [eax + 0x30], esi
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
jbe 0x10018501
mov ecx, dword [edi]
push 0x2c
pop ebx
add ecx, ebx
mov eax, esi
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018456
mov eax, dword [eax + 4]
jmp 0x10018458
xor eax, eax
cmp eax, 3
jbe 0x100184f2
cmp byte [ebp - 0x19], 0
jne 0x100184ef
mov ecx, dword [edi]
add ecx, ebx
mov eax, esi
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018481
mov ecx, dword [eax + 0xc]
jmp 0x10018483
xor ecx, ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001848f
mov eax, dword [eax + 0xc]
jmp 0x10018491
xor eax, eax
mov cl, byte [ecx + 1]
mov byte [eax + 1], cl
mov ecx, dword [edi]
add ecx, ebx
mov eax, esi
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x100184ad
mov eax, dword [eax + 0xc]
jmp 0x100184af
xor eax, eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100184bb
mov ecx, dword [ecx + 0xc]
jmp 0x100184bd
xor ecx, ecx
mov al, byte [eax + 2]
mov byte [ecx + 2], al
mov ecx, dword [edi]
add ecx, ebx
mov eax, esi
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x100184d9
mov eax, dword [eax + 0xc]
jmp 0x100184db
xor eax, eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100184e7
mov ecx, dword [ecx + 0xc]
jmp 0x100184e9
xor ecx, ecx
mov al, byte [eax + 3]
mov byte [ecx + 3], al
inc byte [ebp - 0x19]
mov eax, dword [edi]
inc esi
cmp esi, dword [eax + 0x30]
jb 0x1001843d
mov bl, byte [ebp - 0x19]
mov eax, dword [edi]
xor esi, esi
cmp dword [eax + 0x40], esi
jbe 0x10018532
mov ecx, dword [edi]
add ecx, 0x3c
mov eax, esi
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018521
mov eax, dword [eax + 4]
jmp 0x10018523
xor eax, eax
test eax, eax
jbe 0x1001852a
inc byte [ebp - 0x18]
mov eax, dword [edi]
inc esi
cmp esi, dword [eax + 0x40]
jb 0x1001850a
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001853e
mov eax, dword [eax + 0xc]
jmp 0x10018540
xor eax, eax
or bl, 0xe0
mov byte [eax + 5], bl
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax + 0x30], ebx
jbe 0x100185cb
mov ecx, dword [edi]
add ecx, 0x2c
mov eax, ebx
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018566
mov eax, dword [eax + 4]
jmp 0x10018568
xor eax, eax
test eax, eax
jbe 0x100185c3
mov ecx, dword [edi]
add ecx, 0x2c
mov eax, ebx
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018583
mov esi, dword [eax + 4]
jmp 0x10018585
xor esi, esi
mov eax, esi
shr eax, 8
push eax
lea eax, [ebp - 8]
call fcn.10001444
push esi
lea eax, [ebp - 8]
call fcn.10001444
mov ecx, dword [edi]
add ecx, 0x2c
mov eax, ebx
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x100185b3
mov eax, dword [eax + 0xc]
jmp 0x100185b5
xor eax, eax
push eax
mov edi, esi
lea eax, [ebp - 8]
call fcn.10001476
mov edi, dword [ebp - 0x14]
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 0x30]
jb 0x1001854f
push dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.10001444
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax + 0x40], ebx
jbe 0x1001865b
mov ecx, dword [edi]
add ecx, 0x3c
mov eax, ebx
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x100185f6
mov eax, dword [eax + 4]
jmp 0x100185f8
xor eax, eax
test eax, eax
jbe 0x10018653
mov ecx, dword [edi]
add ecx, 0x3c
mov eax, ebx
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018613
mov esi, dword [eax + 4]
jmp 0x10018615
xor esi, esi
mov eax, esi
shr eax, 8
push eax
lea eax, [ebp - 8]
call fcn.10001444
push esi
lea eax, [ebp - 8]
call fcn.10001444
mov ecx, dword [edi]
add ecx, 0x3c
mov eax, ebx
call fcn.1000308a
mov eax, dword [eax]
test eax, eax
je 0x10018643
mov eax, dword [eax + 0xc]
jmp 0x10018645
xor eax, eax
push eax
mov edi, esi
lea eax, [ebp - 8]
call fcn.10001476
mov edi, dword [ebp - 0x14]
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 0x40]
jb 0x100185df
mov edi, dword [edi]
add edi, 0x4c
lea ebx, [ebp - 8]
call fcn.100013ce
mov eax, ebx
call fcn.100013b1
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
inc dword [ebp - 0x38]
add edi, 4
cmp dword [ebp - 0x38], 0x2000
mov dword [ebp - 0x14], edi
jb 0x10018397
push ebx
call fcn.10013a75
cmp byte [ebx + 0xa1], 0
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x8c], eax
jne 0x1001889e
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
mov dword [ebp + 8], eax
je 0x100186dc
lea ecx, [ebp + 8]
call fcn.100032b3
cmp dword [ebp + 8], 0
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x2c], ecx
jne 0x100186c2
or eax, 0xffffffff
and dword [ebp + 8], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
cmp dword [ebp + 8], 3
ja 0x10018832
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0xac]
mov eax, dword [ebx + 0xa8]
mov edi, dword [ebx + 0x80]
shl edx, cl
mov ecx, dword [ebx + 0x90]
push 0
imul edx, eax
mov eax, dword [ebx + 0x94]
mov esi, edx
add esi, edi
mov dword [ebp - 0x64], esi
mov esi, dword [ebx + 0x84]
pop edi
adc edi, esi
cmp edi, eax
ja 0x10018778
jb 0x1001873c
cmp dword [ebp - 0x64], ecx
jae 0x10018778
xor edi, edi
push edi
sub ecx, edx
pop edx
push edi
mov edi, dword [ebx + 0xa8]
sbb eax, edx
sub ecx, dword [ebx + 0x80]
push edi
sbb eax, esi
push eax
push ecx
call fcn.10008ca0
xor ecx, ecx
push ecx
push edi
push edx
push eax
call fcn.10008e10
add eax, dword [ebx + 0x80]
adc edx, esi
mov dword [ebx + 0x8c], edx
mov ecx, edx
jmp 0x10018792
mov eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x58]
je 0x10018832
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x8c], esi
mov ecx, esi
push ecx
push eax
push str.Searching_for_last_frame_at__I64d
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], eax
mov dword [ebx + 0x88], eax
call fcn.10006ab1
add esp, 0xc
lea esi, [ebx + 0x80dc]
mov ecx, dword [ebx + 0x8104]
push 0
add ecx, ebx
call dword [ebx + 0x8100]
mov ecx, esi
mov edi, eax
call fcn.10003199
test edi, edi
jl 0x1001885d
je 0x100187b3
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x10018819
lea ecx, [ebp - 0x20]
call fcn.100032b3
mov edx, dword [eax + 0x28]
sub edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x2c]
sbb ecx, dword [eax + 0x24]
and ecx, 1
jl 0x10018813
jg 0x10018801
test edx, edx
jbe 0x10018813
cmp ecx, dword [ebp - 0x48]
jl 0x10018813
jg 0x1001880d
cmp edx, dword [ebp - 0x4c]
jbe 0x10018813
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x20], 0
jne 0x100187e2
push ebx
call fcn.10013a75
mov eax, dword [ebp - 0x4c]
and eax, dword [ebp - 0x48]
add dword [ebp + 8], 3
cmp eax, 0xffffffff
je 0x100186ef
xor esi, esi
cmp dword [ebp - 0x48], esi
jl 0x10018861
jg 0x10018840
cmp dword [ebp - 0x4c], esi
jb 0x10018861
push esi
push 0x186a0
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.10008e10
push esi
push 9
push edx
push eax
call fcn.10019290
jmp 0x10018866
mov eax, edi
jmp 0x100188a0
or edx, 0xffffffff
mov eax, edx
cmp edx, esi
lea ecx, [ebx + 0x98]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jg 0x10018886
jl 0x1001887b
cmp eax, esi
jae 0x10018886
push str.Could_not_detect_file_duration
call fcn.10006ab1
pop ecx
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x8c], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4