Function at 0x48ed7f
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00490494
pop ecx
test eax, eax
jne case.default.0x48edfc
xor ecx, ecx
cmp dword [esi + 0xc], ecx
je case.default.0x48edfc
cmp dword [esi], ecx
jne 0x48edb2
cmp dword [esi + 4], ecx
jne case.default.0x48edfc
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x28], ebx
cmp dword [ebx + 4], 0x3f3f
jne 0x48edc8
mov dword [ebx + 4], 0x3f40
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x48eef1
jmp dword [eax*4 + 0x490203]
cmp dword [ebx + 0xc], 0
jne 0x48ee15
mov dword [ebx + 4], 0x3f40
jmp 0x48eef1
push 0x10
pop eax
cmp edi, eax
jae 0x48ee4a
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, 0x10
jb 0x48ee1c
xor ecx, ecx
test byte [ebx + 0xc], 2
je 0x48eea2
cmp edx, 0x8b1f
jne 0x48eea2
cmp dword [ebx + 0x28], ecx
jne 0x48ee64
mov dword [ebx + 0x28], 0xf
push ecx
push ecx
push ecx
call fcn.0048eab1
mov dword [ebx + 0x1c], eax
push 0x1f
pop eax
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x18]
push 2
push eax
mov byte [ebp - 0x17], 0x8b
push dword [ebx + 0x1c]
call fcn.0048eab1
add esp, 0x18
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f35
mov edx, ecx
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jmp 0x48eef1
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x14], ecx
test eax, eax
je 0x48eeb0
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 0xc], 1
je 0x48ef7e
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 4]
jne 0x48ef7c
mov eax, edx
and al, 0xf
cmp al, 8
je 0x48ef0c
mov dword [esi + 0x18], 0x5ddf20
mov dword [ebx + 4], 0x3f51
xor ecx, ecx
mov eax, dword [ebx + 4]
sub eax, 0x3f34
cmp eax, 0x1e
jbe switch.0x0048edfc
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 4], edx
and ecx, 0xf
mov dword [ebp - 0x10], edi
add ecx, 8
cmp dword [ebx + 0x28], 0
jne 0x48ef29
mov dword [ebx + 0x28], ecx
cmp ecx, 0xf
ja 0x48ef70
cmp ecx, dword [ebx + 0x28]
ja 0x48ef70
xor eax, eax
inc eax
shl eax, cl
mov dword [ebx + 0x18], eax
xor eax, eax
push eax
push eax
push eax
call fcn.0048e871
mov edx, dword [ebp - 4]
add esp, 0xc
shr edx, 8
not edx
mov dword [ebx + 0x1c], eax
and edx, 2
mov dword [esi + 0x30], eax
or edx, 0x3f3d
xor ecx, ecx
mov dword [ebx + 4], edx
mov edi, ecx
mov edx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jmp 0x48eef1
mov dword [esi + 0x18], 0x5ddf3c
jmp 0x48eee8
xor ecx, ecx
mov dword [esi + 0x18], 0x5ddf08
mov dword [ebx + 4], 0x3f51
jmp 0x48eef1
push 0x10
pop eax
cmp edi, eax
jae 0x48efc8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
pop eax
mov dword [ebp - 4], edx
cmp edi, eax
jb 0x48ef98
xor ecx, ecx
mov dword [ebx + 0x14], edx
cmp dl, 8
je 0x48efd9
mov dword [esi + 0x18], 0x5ddf20
jmp 0x48ef85
test edx, 0xe000
je 0x48efea
mov dword [esi + 0x18], 0x5ddf50
jmp 0x48ef85
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x48effb
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x14], 0x200
je 0x48f027
test byte [ebx + 0xc], 4
je 0x48f027
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x1c]
call fcn.0048eab1
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor esi, esi
mov dword [ebx + 4], 0x3f36
mov edx, esi
mov edi, esi
jmp 0x48f05b
xor esi, esi
jmp 0x48f05e
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 4], edx
cmp edi, 0x20
jb 0x48f03a
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48f06d
mov dword [eax + 4], edx
test dword [ebx + 0x14], 0x200
je 0x48f0a9
test byte [ebx + 0xc], 4
je 0x48f0a9
mov eax, edx
mov byte [ebp - 0x18], dl
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x18]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x15], dl
push dword [ebx + 0x1c]
call fcn.0048eab1
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov edx, esi
mov dword [ebx + 4], 0x3f37
mov dword [ebp - 4], edx
mov edi, esi
push 0x10
pop eax
cmp edi, eax
jae 0x48f0ea
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
movzx eax, byte [esi]
shl eax, cl
add edx, eax
inc esi
push 0x10
pop eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
cmp edi, eax
jb 0x48f0c1
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x48f102
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebx + 0x24]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebx + 0x14], 0x200
je 0x48f12e
test byte [ebx + 0xc], 4
je 0x48f12e
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x1c]
call fcn.0048eab1
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f38
mov edx, ecx
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
test dword [ebx + 0x14], 0x400
je 0x48f1c2
push 0x10
pop eax
cmp edi, eax
jae 0x48f17d
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
movzx eax, byte [esi]
shl eax, cl
add edx, eax
inc esi
push 0x10
pop eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
cmp edi, eax
jb 0x48f154
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x44], edx
test eax, eax
je 0x48f18a
mov dword [eax + 0x14], edx
test dword [ebx + 0x14], 0x200
je 0x48f1b6
test byte [ebx + 0xc], 4
je 0x48f1b6
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x1c]
call fcn.0048eab1
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov edi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edi
jmp 0x48f1cc
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48f1cc
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], 0x3f39
test dword [ebx + 0x14], 0x400
je 0x48f266
mov esi, dword [ebx + 0x44]
mov eax, dword [ebp - 0xc]
cmp esi, eax
jbe 0x48f1ec
mov esi, eax
test esi, esi
je 0x48f25d
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x48f22c
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x48f229
mov edx, dword [ecx + 0x14]
sub edx, dword [ebx + 0x44]
mov ecx, dword [ecx + 0x18]
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x48f215
sub ecx, edx
jmp 0x48f217
mov ecx, esi
mov eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 8]
add eax, edx
push eax
call fcn.0052bf60
add esp, 0xc
mov eax, dword [ebp - 0xc]
test dword [ebx + 0x14], 0x200
je 0x48f250
test byte [ebx + 0xc], 4
je 0x48f250
push esi
push dword [ebp - 8]
push dword [ebx + 0x1c]
call fcn.0048eab1
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], esi
sub eax, esi
sub dword [ebx + 0x44], esi
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x44], ecx
jne 0x4900e8
mov dword [ebx + 0x44], ecx
mov dword [ebx + 4], 0x3f3a
test dword [ebx + 0x14], 0x800
je 0x48f2fe
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
mov edx, dword [ebp - 8]
mov esi, ecx
mov edi, eax
movzx eax, byte [esi + edx]
inc esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48f2b9
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x48f2b6
mov ecx, dword [ebx + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x48f2b6
mov eax, dword [ebp - 0x2c]
mov byte [edx + ecx], al
inc dword [ebx + 0x44]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x48f2c4
cmp esi, edi
jb 0x48f28f
test dword [ebx + 0x14], 0x200
mov edi, dword [ebp - 0x10]
je 0x48f2e9
test byte [ebx + 0xc], 4
je 0x48f2e9
push esi
push edx
push dword [ebx + 0x1c]
call fcn.0048eab1
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], esi
sub eax, esi
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x4900e8
jmp 0x48f308
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48f308
mov dword [eax + 0x1c], ecx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 4], 0x3f3b
test dword [ebx + 0x14], 0x1000
je 0x48f3a0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
mov edx, dword [ebp - 8]
mov esi, ecx
mov edi, eax
movzx eax, byte [esi + edx]
inc esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48f35b
mov edx, dword [eax + 0x24]
test edx, edx
je 0x48f358
mov ecx, dword [ebx + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x48f358
mov eax, dword [ebp - 0x2c]
mov byte [edx + ecx], al
inc dword [ebx + 0x44]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x48f366
cmp esi, edi
jb 0x48f331
test dword [ebx + 0x14], 0x200
mov edi, dword [ebp - 0x10]
je 0x48f38b
test byte [ebx + 0xc], 4
je 0x48f38b
push esi
push edx
push dword [ebx + 0x1c]
call fcn.0048eab1
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], esi
sub eax, esi
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x4900e8
jmp 0x48f3aa
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48f3aa
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov dword [ebx + 4], 0x3f3c
test dword [ebx + 0x14], 0x200
jne 0x48f426
xor edx, edx
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x48f3df
mov eax, dword [ebx + 0x14]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.0048eab1
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
mov edx, dword [ebp - 4]
jmp 0x48eeef
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
push 0x10
pop eax
cmp edi, eax
jb 0x48f3ff
test byte [ebx + 0xc], 4
je 0x48f447
movzx eax, word [ebx + 0x1c]
cmp edx, eax
je 0x48f447
mov dword [esi + 0x18], 0x5ddf6c
jmp 0x48eee8
xor edx, edx
mov edi, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jmp 0x48f3c2
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
add edi, 8
cmp edi, 0x20
jb 0x48f456
mov ecx, edx
mov edi, 0xff00
mov eax, edx
and ecx, edi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
xor ecx, ecx
mov dword [ebx + 0x1c], eax
mov edx, ecx
mov dword [esi + 0x30], eax
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebx + 4], 0x3f3e
cmp dword [ebx + 0x10], ecx
je 0x4900a5
push ecx
push ecx
push ecx
call fcn.0048e871
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [esi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
cmp dword [ebp + 0xc], 5
je 0x4900e5
cmp dword [ebp + 0xc], 6
je 0x4900e5
cmp dword [ebx + 8], ecx
je 0x48f510
mov ecx, edi
mov dword [ebx + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jmp 0x48eeef
cmp edi, 3
jae 0x48f540
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, 3
jb 0x48f515
xor ecx, ecx
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 8], eax
mov eax, edx
and eax, 3
sub eax, ecx
je 0x48f5b2
sub eax, 1
je 0x48f57b
sub eax, 1
je 0x48f572
sub eax, 1
jne 0x48f5b9
mov dword [esi + 0x18], 0x5ddf80
mov dword [ebx + 4], 0x3f51
jmp 0x48f5b9
mov dword [ebx + 4], 0x3f44
jmp 0x48f5b9
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x50], 0x5dd660
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0x5dde60
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
jne 0x48f5b9
shr edx, 2
sub edi, 3
mov dword [ebp - 4], edx
jmp 0x4900e5
mov dword [ebx + 4], 0x3f41
shr edx, 2
sub edi, 3
jmp 0x48ef68
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
jmp 0x48f5f0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edx
cmp edi, 0x20
jb 0x48f5cf
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x48f615
mov dword [esi + 0x18], 0x5ddf94
jmp 0x48eee8
mov dword [ebx + 0x44], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 6
mov edx, ecx
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov dword [ebx + 4], 0x3f42
je 0x4900e5
mov dword [ebx + 4], 0x3f43
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x48f685
mov eax, dword [ebp - 0xc]
cmp esi, eax
jbe 0x48f64c
mov esi, eax
cmp esi, dword [ebp - 0x14]
jbe 0x48f654
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4900e8
push esi
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.0052bf60
sub dword [ebp - 0xc], esi
add esp, 0xc
add dword [ebp - 8], esi
sub dword [ebp - 0x14], esi
add dword [ebp - 0x1c], esi
sub dword [ebx + 0x44], esi
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
jmp 0x48eeef
mov dword [ebx + 4], 0x3f3f
mov esi, dword [ebp + 8]
jmp 0x48eef1
cmp edi, 0xe
jae 0x48f6c4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, 0xe
jb 0x48f699
xor ecx, ecx
mov eax, edx
sub edi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 4], edx
cmp dword [ebx + 0x64], 0x11e
mov dword [ebx + 0x60], eax
ja 0x48f712
cmp dword [ebx + 0x68], 0x1e
ja 0x48f712
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 4], 0x3f45
jmp case.0x48edfc.16197
mov dword [esi + 0x18], 0x5ddfb4
jmp 0x48ef85
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
add edi, 8
cmp edi, 3
jb 0x48f71e
mov eax, dword [ebx + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 4], edx
movzx eax, word [eax*2 + 0x5ddee0]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
sub edi, 3
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x60]
jb 0x48f742
jmp 0x48f78a
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
movzx eax, word [eax*2 + 0x5ddee0]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
cmp dword [ebx + 0x6c], 0x13
jb 0x48f775
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea eax, [ebx + 0x74]
push eax
push 0
call fcn.0049059a
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x48f7da
mov dword [esi + 0x18], 0x5ddfd8
mov dword [ebx + 4], 0x3f51
jmp 0x48f3f7
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f46
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp dword [ebx + 0x6c], eax
jae 0x48f9d6
lea esi, [ebx + 0x58]
jmp 0x48f81c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
mov edx, dword [ebp - 8]
dec eax
mov dword [ebp - 0xc], eax
mov ecx, edi
movzx eax, byte [edx]
shl eax, cl
add dword [ebp - 4], eax
inc edx
mov dword [ebp - 8], edx
add edi, 8
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [ebx + 0x50]
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x2c], eax
cmp ecx, edi
ja 0x48f7f9
mov edx, eax
push 0x10
shr edx, 0x10
pop ecx
cmp dx, cx
jae 0x48f86a
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x6c]
sub edi, ecx
shr dword [ebp - 4], cl
mov dword [ebp - 0x10], edi
mov word [ebx + eax*2 + 0x74], dx
inc dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x6c]
jmp 0x48f9a3
jne 0x48f8d5
mov ecx, eax
shr ecx, 8
movzx esi, cl
add esi, 2
jmp 0x48f89b
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4900e5
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add dword [ebp - 4], edx
inc dword [ebp - 8]
add edi, 8
cmp edi, esi
jb 0x48f879
mov edx, dword [ebp - 4]
movzx ecx, ah
mov eax, dword [ebx + 0x6c]
sub edi, ecx
shr edx, cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
test eax, eax
je 0x48f9b6
movzx eax, word [ebx + eax*2 + 0x72]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [ebp - 0x2c], eax
sub edi, 2
jmp 0x48f975
cmp word [ebp - 0x2a], 0x11
mov edx, dword [ebp - 4]
movzx ecx, ah
jne 0x48f928
lea esi, [ecx + 3]
mov dword [ebp - 0x2c], ecx
cmp edi, esi
jae 0x48f917
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, esi
jb 0x48f8ec
mov ecx, dword [ebp - 0x2c]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x48f96c
lea esi, [ecx + 7]
mov dword [ebp - 0x2c], ecx
cmp edi, esi
jae 0x48f95d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, esi
jb 0x48f932
mov ecx, dword [ebp - 0x2c]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [ebp - 0x2c], 0
pop eax
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
add ecx, dword [ebx + 0x64]
add eax, esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
cmp eax, ecx
ja 0x48f9c5
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x6c]
mov word [ebx + eax*2 + 0x74], dx
inc dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x6c]
sub esi, 1
jne 0x48f98d
lea esi, [ebx + 0x58]
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp ecx, eax
jb 0x48f81c
mov esi, dword [ebp + 8]
jmp 0x48f9d6
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5ddff4
jmp 0x48eee8
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5ddff4
mov dword [ebx + 4], 0x3f51
xor ecx, ecx
cmp dword [ebx + 4], 0x3f51
je 0x48f9f8
cmp word [ebx + 0x274], cx
jne 0x48fa00
mov dword [esi + 0x18], 0x5de010
mov dword [ebx + 4], 0x3f51
mov edx, dword [ebp - 4]
jmp 0x48eef1
lea eax, [ebx + 0x534]
lea esi, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [esi], eax
lea ecx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [ecx], 9
push eax
push ecx
push esi
push dword [ebx + 0x64]
lea eax, [ebx + 0x74]
push eax
push 1
call fcn.0049059a
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x48fa47
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5de038
jmp 0x48f7ce
mov eax, dword [esi]
lea ecx, [ebx + 0x5c]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x2f4]
push eax
mov eax, dword [ebx + 0x64]
push ecx
add eax, 0x3a
mov dword [ecx], 6
push esi
push dword [ebx + 0x68]
lea eax, [ebx + eax*2]
push eax
push 2
call fcn.0049059a
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x24], edx
test edx, edx
je 0x48fa8d
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5de054
jmp 0x48f7ce
cmp dword [ebp + 0xc], 6
mov dword [ebx + 4], 0x3f47
je 0x4900e5
mov edx, dword [ebp - 4]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov dword [ebx + 4], 0x3f48
mov eax, dword [ebp - 0xc]
cmp eax, 6
jb 0x48fb1f
cmp dword [ebp - 0x14], 0x102
jb 0x48fb1f
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov dword [esi + 4], eax
push esi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edi
call fcn.0049092f
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jne 0x48eeef
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x48eeef
mov esi, dword [ebx + 0x50]
xor eax, eax
mov dword [ebx + 0x1bc8], ecx
inc eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
dec eax
mov dword [ebp - 0x34], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x48fb8e
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
movzx eax, byte [esi]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
mov eax, dword [ebx + 0x50]
inc esi
mov dword [ebp - 4], edx
xor edx, edx
inc edx
mov dword [ebp - 8], esi
shl edx, cl
dec edx
mov dword [ebp - 0x10], edi
and edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x48fb48
test al, al
je 0x48fc47
test al, 0xf0
jne 0x48fc47
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x2c], edx
and edi, dword [ebp - 4]
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x28]
add esi, ecx
cmp esi, edi
jbe 0x48fc37
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
mov esi, dword [ebp - 8]
dec eax
mov dword [ebp - 0xc], eax
mov ecx, edi
add edi, 8
mov dword [ebp - 0x10], edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 4], eax
inc esi
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 8], esi
xor esi, esi
movzx edi, dh
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 4]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x48fbdf
movzx ecx, dh
mov edx, dword [ebp - 4]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x44], ecx
test al, al
jne 0x48fc77
mov dword [ebx + 4], 0x3f4d
jmp 0x48f67d
test al, 0x20
je 0x48fc8e
or dword [ebx + 0x1bc8], 0xffffffff
mov dword [ebx + 4], 0x3f3f
jmp 0x48f67d
test al, 0x40
je 0x48fca1
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5de06c
jmp 0x48eee8
movzx eax, al
and eax, 0xf
mov dword [ebx + 4], 0x3f49
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x48fcff
jmp 0x48fcde
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
add edi, 8
cmp edi, esi
jb 0x48fcba
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc8], esi
mov dword [ebp - 4], edx
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x1bcc], eax
mov dword [ebx + 4], 0x3f4a
mov ecx, dword [ebx + 0x5c]
xor eax, eax
mov esi, dword [ebx + 0x54]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x34], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x48fd78
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
movzx eax, byte [esi]
shl eax, cl
mov ecx, dword [ebx + 0x5c]
add edx, eax
mov eax, dword [ebx + 0x54]
inc esi
mov dword [ebp - 4], edx
xor edx, edx
inc edx
mov dword [ebp - 8], esi
shl edx, cl
dec edx
mov dword [ebp - 0x10], edi
and edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x48fd32
test al, 0xf0
jne 0x48fe29
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x2c], edx
and edi, dword [ebp - 4]
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x28]
add esi, ecx
cmp esi, edi
jbe 0x48fe19
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
mov esi, dword [ebp - 8]
dec eax
mov dword [ebp - 0xc], eax
mov ecx, edi
add edi, 8
mov dword [ebp - 0x10], edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 4], eax
inc esi
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 8], esi
xor esi, esi
movzx edi, dh
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 4]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x48fdc1
movzx ecx, dh
mov edx, dword [ebp - 4]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
test al, 0x40
je 0x48fe54
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5de088
jmp 0x48eee8
mov ecx, eax
mov dword [ebx + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x48feba
jmp 0x48fe99
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
add edi, 8
cmp edi, esi
jb 0x48fe75
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x48], eax
add dword [ebx + 0x1bc8], esi
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
mov dword [ebx + 4], 0x3f4c
cmp dword [ebp - 0x14], 0
je 0x4900e5
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jbe 0x48ff17
sub ecx, eax
cmp ecx, dword [ebx + 0x30]
jbe 0x48fef7
cmp dword [ebx + 0x1bc4], 0
je 0x48fef7
mov dword [esi + 0x18], 0x5de0a0
jmp 0x48eee8
mov esi, dword [ebx + 0x38]
cmp ecx, dword [ebx + 0x34]
jbe 0x48ff09
sub ecx, dword [ebx + 0x34]
add esi, dword [ebx + 0x2c]
sub esi, ecx
jmp 0x48ff0e
sub esi, ecx
add esi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x44]
cmp ecx, eax
jbe 0x48ff21
jmp 0x48ff1f
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x44]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [ebp - 0x14]
jbe 0x48ff29
mov ecx, dword [ebp - 0x14]
sub dword [ebp - 0x14], ecx
sub eax, ecx
mov dword [ebx + 0x44], eax
mov ebx, dword [ebp - 0x1c]
sub esi, ebx
mov al, byte [esi + ebx]
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x48ff36
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx + 0x44], ecx
jne 0x48eef1
mov dword [ebx + 4], 0x3f48
jmp 0x48eef1
cmp dword [ebp - 0x14], 0
je 0x4900e5
mov esi, dword [ebp - 0x1c]
mov al, byte [ebx + 0x44]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [esi], al
mov dword [ebx + 4], 0x3f48
jmp 0x48f68c
cmp dword [ebx + 0xc], ecx
je 0x490054
cmp edi, 0x20
jae 0x48ffbf
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, 0x20
jb 0x48ff91
xor ecx, ecx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
add dword [esi + 0x14], eax
add dword [ebx + 0x20], eax
test byte [ebx + 0xc], 4
mov dword [ebp - 0x20], eax
je 0x490000
test eax, eax
je 0x490000
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebx + 0x1c]
cmp dword [ebx + 0x14], ecx
je 0x48ffef
call fcn.0048eab1
jmp 0x48fff4
call fcn.0048e871
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
test byte [ebx + 0xc], 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
je 0x490048
cmp dword [ebx + 0x14], 0
mov ecx, edx
jne 0x490037
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp ecx, dword [ebx + 0x1c]
je 0x490048
mov dword [esi + 0x18], 0x5de0c0
jmp 0x48eee8
xor ecx, ecx
mov edx, ecx
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov dword [ebx + 4], 0x3f4f
cmp dword [ebx + 0xc], ecx
je 0x4900ce
cmp dword [ebx + 0x14], ecx
je 0x4900ce
cmp edi, 0x20
jae 0x490094
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4900e8
dec eax
mov ecx, edi
mov dword [ebp - 0xc], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
cmp edi, 0x20
jb 0x49006a
xor ecx, ecx
cmp edx, dword [ebx + 0x20]
je 0x4900c9
mov dword [esi + 0x18], 0x5de0d8
jmp 0x48ef85
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edi
push 2
jmp 0x48ef04
mov dword [ebp - 4], ecx
mov edi, ecx
mov dword [ebx + 4], 0x3f50
mov dword [ebp - 0x24], 1
jmp 0x4900e5
mov dword [ebp - 0x24], 0xfffffffd
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], ecx
mov dword [ebx + 0x40], edi
xor edi, edi
mov dword [ebx + 0x3c], eax
cmp dword [ebx + 0x2c], edi
jne 0x49012f
cmp edx, dword [esi + 0x10]
je 0x490154
cmp dword [ebx + 4], 0x3f51
jge 0x490154
cmp dword [ebx + 4], 0x3f4e
jl 0x49012f
cmp dword [ebp + 0xc], 4
je 0x490154
sub edx, dword [esi + 0x10]
push edx
push dword [esi + 0xc]
push esi
call fcn.004904d0
add esp, 0xc
test eax, eax
je 0x490151
mov dword [ebx + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x48ef04
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub eax, dword [esi + 4]
sub edx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edx
add dword [ebx + 0x20], edx
test byte [ebx + 0xc], 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], edx
je 0x49019d
test edx, edx
je 0x49019d
mov eax, dword [esi + 0xc]
push edx
sub eax, edx
push eax
push dword [ebx + 0x1c]
cmp dword [ebx + 0x14], edi
je 0x49018c
call fcn.0048eab1
jmp 0x490191
call fcn.0048e871
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebx + 4], 0x3f3f
mov ecx, 0x80
je 0x4901ad
mov ecx, edi
cmp dword [ebx + 4], 0x3f47
je 0x4901bf
cmp dword [ebx + 4], 0x3f42
jne 0x4901c4
mov edi, 0x100
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 0x40
add eax, edi
add eax, ecx
add eax, dword [ebx + 0x40]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4901e3
test edx, edx
je 0x4901e9
cmp dword [ebp + 0xc], 4
jne 0x4901fb
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x48ef05
push 0xfffffffffffffffb
jmp 0x48ef04
mov eax, dword [ebp - 0x24]
jmp 0x48ef05