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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je case.default.0x4638ef
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je case.default.0x4638ef
xor eax, eax
cmp dword [esi + 0xc], eax
je case.default.0x4638ef
cmp dword [esi], eax
jne 0x4638a7
cmp dword [esi + 4], eax
jne case.default.0x4638ef
cmp dword [ebx], 0xb
jne 0x4638b2
mov dword [ebx], 0xc
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], esi
cmp eax, 0x1c
ja case.default.0x4638ef
mov esi, dword [ebp + 8]
jmp dword [eax*4 + 0x464c29]
cmp dword [ebx + 8], 0
jne 0x463907
mov dword [ebx], 0xc
jmp 0x4646d8
push 0x10
pop eax
cmp edi, eax
jae 0x46393e
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x463911
test byte [ebx + 8], 2
je 0x46397e
cmp edx, 0x8b1f
jne 0x46397e
push 0x1f
pop eax
xor edi, edi
mov byte [ebp - 0x18], al
push 2
lea edx, [ebp - 0x18]
mov dword [ebx + 0x18], edi
xor ecx, ecx
mov byte [ebp - 0x17], 0x8b
call fcn.00464db7
mov edx, edi
mov dword [ebx + 0x18], eax
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 1
jmp 0x4646d5
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x46398d
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x463a1c
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 - 0xc]
jne 0x463a1c
mov eax, edx
and al, 0xf
cmp al, 8
je 0x4639cc
mov dword [esi + 0x18], 0x580554
mov dword [ebx], 0x1b
jmp 0x4646d5
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x10], edi
add ecx, 8
cmp ecx, dword [ebx + 0x24]
jbe 0x4639ee
mov dword [esi + 0x18], 0x580570
jmp 0x4639c1
xor edi, edi
shr edx, 8
inc edi
not edx
mov eax, edi
mov dword [ebx + 0x18], edi
and edx, 2
shl eax, cl
or edx, 9
mov dword [ebx + 0x14], eax
mov dword [esi + 0x30], edi
xor eax, eax
mov dword [ebx], edx
mov edi, eax
mov edx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x4646d5
mov dword [esi + 0x18], 0x58053c
jmp 0x4639c1
push 0x10
pop eax
cmp edi, eax
jae 0x463a5c
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x463a2f
mov dword [ebx + 0x10], edx
cmp dl, 8
je 0x463a76
mov dword [esi + 0x18], 0x580554
mov dword [ebx], 0x1b
jmp 0x4646d8
test edx, 0xe000
je 0x463a87
mov dword [esi + 0x18], 0x580584
jmp 0x463a6b
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x463a98
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x463abb
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x18], dl
shr edx, 8
mov byte [ebp - 0x17], dl
lea edx, [ebp - 0x18]
push 2
call fcn.00464db7
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, eax
mov dword [ebx], 2
mov dword [ebp - 0xc], edx
mov edi, eax
cmp edi, 0x20
jae 0x463aff
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x463ad5
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x463b09
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x463b3c
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, edx
mov byte [ebp - 0x18], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x15], dl
lea edx, [ebp - 0x18]
push 4
mov byte [ebp - 0x16], al
call fcn.00464db7
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, eax
mov dword [ebx], 3
mov dword [ebp - 0xc], edx
mov edi, eax
push 0x10
pop eax
cmp edi, eax
jae 0x463b82
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x463b58
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x463b9a
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebx + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x463bbd
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x18], dl
shr edx, 8
mov byte [ebp - 0x17], dl
lea edx, [ebp - 0x18]
push 2
call fcn.00464db7
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, eax
mov dword [ebx], 4
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test dword [ebx + 0x10], 0x400
je 0x463c4b
push 0x10
pop eax
cmp edi, eax
jae 0x463c0f
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x463be5
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x463c1c
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x463c3f
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x18], dl
shr edx, 8
mov byte [ebp - 0x17], dl
lea edx, [ebp - 0x18]
push 2
call fcn.00464db7
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edi
jmp 0x463c56
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x463c56
and dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x463cee
mov esi, dword [ebx + 0x40]
cmp esi, ecx
cmova esi, ecx
test esi, esi
je 0x463cde
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x463cb1
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x463cb1
mov edx, dword [ecx + 0x14]
sub edx, dword [ebx + 0x40]
mov ecx, dword [ecx + 0x18]
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x463c9d
sub ecx, edx
jmp 0x463c9f
mov ecx, esi
mov eax, dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
add eax, edx
push eax
call fcn.0049dbb0
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x463cd0
mov eax, dword [ebp - 8]
test eax, eax
je 0x463ccd
mov ecx, dword [ebx + 0x18]
mov edx, eax
push esi
call fcn.00464db7
pop ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
add dword [ebp - 8], esi
sub ecx, esi
sub dword [ebx + 0x40], esi
mov dword [ebp - 4], ecx
xor edx, edx
cmp dword [ebx + 0x40], edx
jne 0x464b3d
mov esi, dword [ebp + 8]
jmp 0x463cf0
xor edx, edx
mov dword [ebx + 0x40], edx
mov dword [ebx], 6
jmp 0x463cfd
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x463d95
test ecx, ecx
je 0x464b3d
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 8]
movzx eax, byte [ecx + edi]
inc ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x463d4a
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x463d4a
mov edx, dword [ebx + 0x40]
cmp edx, dword [eax + 0x20]
jae 0x463d4a
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x30]
mov byte [eax + edx], cl
inc dword [ebx + 0x40]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x463d55
cmp ecx, esi
jb 0x463d1a
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
je 0x463d80
mov eax, dword [ebp - 8]
test eax, eax
je 0x463d7d
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.00464db7
mov edx, dword [ebp - 0x30]
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], ecx
sub eax, ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x464b40
jmp 0x463d9f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x463d9f
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 4]
xor edx, edx
mov dword [ebx + 0x40], edx
mov dword [ebx], 7
jmp 0x463db1
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x463e49
test ecx, ecx
je 0x464b3d
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 8]
movzx eax, byte [ecx + edi]
inc ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x463dfe
mov edx, dword [eax + 0x24]
test edx, edx
je 0x463dfe
mov edx, dword [ebx + 0x40]
cmp edx, dword [eax + 0x28]
jae 0x463dfe
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x30]
mov byte [eax + edx], cl
inc dword [ebx + 0x40]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x463e09
cmp ecx, esi
jb 0x463dce
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
je 0x463e34
mov eax, dword [ebp - 8]
test eax, eax
je 0x463e31
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.00464db7
mov edx, dword [ebp - 0x30]
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], ecx
sub eax, ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x464b40
jmp 0x463e53
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x463e53
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x463ebf
push 0x10
pop eax
cmp edi, eax
jae 0x463e9f
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x10
jb 0x463e72
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x463eb3
mov dword [esi + 0x18], 0x58060c
jmp 0x4639c1
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x463edc
mov eax, dword [ebx + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x4646d5
cmp edi, 0x20
jae 0x463f21
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x463ef7
mov ecx, edx
mov edi, 0xff00
and ecx, edi
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
add eax, ecx
shr edx, 0x18
mov ecx, dword [ebp - 4]
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov dword [ebp - 0xc], edx
mov edi, eax
jmp 0x463f5e
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x464b06
xor eax, eax
inc eax
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x464b3d
cmp dword [ebx + 4], 0
je 0x463fa0
mov ecx, edi
mov dword [ebx], 0x18
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x4646d5
cmp edi, 3
jae 0x463fd2
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x463fa8
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x464030
sub eax, 1
je 0x46400c
sub eax, 1
je 0x464004
sub eax, 1
jne 0x464036
mov dword [esi + 0x18], 0x580620
mov dword [ebx], 0x1b
jmp 0x464036
mov dword [ebx], 0xf
jmp 0x464036
mov dword [ebx + 0x4c], 0x576680
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x576ea8
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x464036
mov dword [ebx], 0xd
shr edx, 2
sub edi, 3
jmp 0x463a11
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
jmp 0x46406d
mov eax, dword [ebp - 4]
test eax, eax
je 0x464b40
dec eax
mov ecx, edi
mov dword [ebp - 4], 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 - 0xc], edx
cmp edi, 0x20
jb 0x46404c
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x464092
mov dword [esi + 0x18], 0x580634
jmp 0x4639c1
xor eax, eax
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0xe
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x4640f3
cmp esi, ecx
cmova esi, ecx
cmp esi, dword [ebp - 0x14]
cmova esi, dword [ebp - 0x14]
test esi, esi
je 0x464b3d
push esi
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.0049dbb0
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp - 8], esi
sub ecx, esi
sub dword [ebp - 0x14], esi
add dword [ebp - 0x1c], esi
sub dword [ebx + 0x40], esi
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
jmp 0x4646d8
mov dword [ebx], 0xb
jmp 0x4640eb
cmp edi, 0xe
jae 0x46412d
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0x464103
mov eax, edx
sub edi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0xc], edx
cmp dword [ebx + 0x60], 0x11e
mov dword [ebx + 0x5c], eax
ja 0x46417a
cmp dword [ebx + 0x64], 0x1e
ja 0x46417a
and dword [ebx + 0x68], 0
push 0x10
pop eax
mov dword [ebx], eax
jmp case.0x4638ef.16
mov dword [esi + 0x18], 0x580654
jmp 0x463a6b
cmp edi, 3
jae 0x4641b8
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x46418e
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x576e80]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub edi, 3
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x464186
jmp 0x4641fe
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x576e80]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x4641e9
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.004652a1
add esp, 0x10
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46424f
mov dword [esi + 0x18], 0x5805a0
mov dword [ebx], 0x1b
mov edx, dword [ebp - 0xc]
jmp 0x4646d5
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x28], ecx
cmp ecx, eax
jae 0x46449b
mov ecx, dword [ebx + 0x54]
xor edx, edx
mov eax, dword [ebx + 0x4c]
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
jbe 0x4642d1
mov esi, dword [ebp - 4]
test esi, esi
je 0x464b3d
mov edx, dword [ebp - 8]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
movzx eax, byte [edx]
shl eax, cl
add dword [ebp - 0xc], eax
inc edx
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 8], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
ja 0x464290
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edx
cmp cx, dx
jae 0x46432d
mov ecx, eax
shr ecx, 8
movzx esi, cl
jmp 0x46430a
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x464b3d
dec ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
add edi, 8
cmp edi, esi
jb 0x4642e8
movzx ecx, ah
shr dword [ebp - 0xc], cl
sub edi, ecx
mov ecx, dword [ebp - 0x28]
mov ax, word [ebp - 0x2e]
mov dword [ebp - 0x10], edi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
jmp 0x464463
cmp word [ebp - 0x2e], dx
mov edx, dword [ebp - 0xc]
jne 0x464398
movzx esi, ah
lea eax, [esi + 2]
cmp edi, eax
jae 0x464366
mov eax, dword [ebp - 4]
test eax, eax
je 0x464b40
dec eax
mov ecx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
add edi, 8
jmp 0x464339
mov ecx, esi
sub edi, esi
shr edx, cl
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test ecx, ecx
je 0x46447c
movzx eax, word [ebx + ecx*2 + 0x6e]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [ebp - 0x30], eax
sub edi, 2
jmp 0x46443a
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x4643ea
lea esi, [ecx + 3]
mov dword [ebp - 0x38], ecx
cmp edi, esi
jae 0x4643d9
mov eax, dword [ebp - 4]
test eax, eax
je 0x464b40
dec eax
mov ecx, edi
mov dword [ebp - 4], 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 - 0xc], edx
cmp edi, esi
jb 0x4643ae
mov ecx, dword [ebp - 0x38]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x46442e
lea esi, [ecx + 7]
mov dword [ebp - 0x38], ecx
cmp edi, esi
jae 0x46441f
mov eax, dword [ebp - 4]
test eax, eax
je 0x464b40
dec eax
mov ecx, edi
mov dword [ebp - 4], 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 - 0xc], edx
cmp edi, esi
jb 0x4643f4
mov ecx, dword [ebp - 0x38]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [ebp - 0x30], 0
pop eax
sub eax, ecx
mov ecx, dword [ebp - 0x28]
add edi, eax
mov eax, dword [ebx + 0x64]
add ecx, esi
add eax, dword [ebx + 0x60]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
cmp ecx, eax
ja 0x46448b
test esi, esi
je 0x464463
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub esi, 1
jne 0x464453
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x28], ecx
cmp ecx, eax
jb 0x46426c
mov esi, dword [ebp + 8]
jmp 0x46449b
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5805bc
jmp 0x4639c1
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5805bc
mov dword [ebx], 0x1b
cmp dword [ebx], 0x1b
je 0x464247
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [ebx + 0x60]
xor ecx, ecx
lea edx, [ebx + 0x70]
inc ecx
call fcn.004652a1
add esp, 0x10
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4644e8
mov dword [esi + 0x18], 0x5805d8
jmp 0x464241
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x58]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x2f0]
push eax
mov eax, dword [ebx + 0x60]
push edx
push ecx
push dword [ebx + 0x64]
add eax, 0x38
mov dword [edx], 6
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.004652a1
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x464532
mov dword [esi + 0x18], 0x5805f4
jmp 0x463a6b
mov dword [ebx], 0x12
cmp ecx, 6
jb 0x464593
mov eax, dword [ebp - 0x14]
cmp eax, 0x102
jb 0x464593
mov ebx, dword [ebp - 0x1c]
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [esi], eax
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x20]
mov dword [ebx + 0x3c], edi
call fcn.004656ee
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
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 dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x4646d8
mov ecx, dword [ebx + 0x54]
xor eax, eax
mov esi, dword [ebx + 0x4c]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x38], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x4645fb
mov esi, dword [ebp - 4]
test esi, esi
je 0x464b3d
mov eax, dword [ebp - 8]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x4645b6
test al, al
je 0x4646ae
test al, 0xf0
jne 0x4646ae
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 - 0x30], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x38]
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 - 0x2c]
add esi, ecx
cmp esi, edi
jbe 0x4646a4
mov esi, dword [ebp - 4]
test esi, esi
je 0x464b3d
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0xc], eax
inc esi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
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 0x46464c
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub edi, ecx
mov ecx, eax
mov dword [ebp - 0xc], edx
shr ecx, 0x10
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x4646ed
mov dword [ebx], 0x17
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
cmp eax, 0x1c
jbe switch.0x004638ef
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 0x20
je 0x4646f9
mov dword [ebx], 0xb
jmp 0x4646d2
mov ecx, dword [ebp - 4]
test al, 0x40
je 0x46470f
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x580690
jmp 0x463a6b
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x46476c
cmp edi, esi
jae 0x464755
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x46472c
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
sub edi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov esi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x38], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x4647da
mov esi, dword [ebp - 4]
test esi, esi
je 0x464b3d
mov eax, dword [ebp - 8]
mov ecx, edi
dec esi
add edi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x464795
test al, 0xf0
jne 0x464885
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 - 0x30], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x38]
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 - 0x2c]
add esi, ecx
cmp esi, edi
jbe 0x46487b
mov esi, dword [ebp - 4]
test esi, esi
je 0x464b3d
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0xc], eax
inc esi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
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 0x464823
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test al, 0x40
je 0x4648aa
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5806ac
jmp 0x4639c1
mov ecx, eax
mov dword [ebx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x464912
cmp edi, esi
jae 0x4648fb
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x4648d2
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
sub edi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2c]
mov esi, dword [ebp - 0x14]
sub eax, esi
mov ecx, dword [ebp - 0x20]
add eax, ecx
cmp dword [ebx + 0x44], eax
jbe 0x464933
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5806c4
jmp 0x4639c1
mov dword [ebx], 0x16
jmp 0x464941
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x464b3d
mov eax, ecx
mov ecx, dword [ebx + 0x44]
sub eax, esi
cmp ecx, eax
jbe 0x464976
mov esi, dword [ebx + 0x34]
sub ecx, eax
cmp ecx, dword [ebx + 0x30]
jbe 0x464968
sub ecx, dword [ebx + 0x30]
add esi, dword [ebx + 0x28]
sub esi, ecx
jmp 0x46496d
sub esi, ecx
add esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x40]
cmp ecx, eax
jbe 0x464980
jmp 0x46497e
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x40]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x14]
sub dword [ebp - 0x14], ecx
sub eax, ecx
mov dword [ebx + 0x40], eax
sub esi, edx
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x464994
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0xc]
cmp dword [ebx + 0x40], ecx
jne 0x4646d2
mov dword [ebx], 0x12
jmp 0x4646d2
cmp dword [ebp - 0x14], 0
je 0x464b3d
mov esi, dword [ebp - 0x1c]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [esi], al
mov dword [ebx], 0x12
jmp 0x4640eb
cmp dword [ebx + 8], 0
je 0x464ab0
cmp edi, 0x20
jae 0x464a1b
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x4649ee
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
sub ecx, eax
add dword [esi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x464a62
cmp dword [ebx + 0x10], 0
je 0x464a47
mov eax, dword [ebp - 0x1c]
sub eax, ecx
je 0x464a59
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.00464db7
jmp 0x464a55
mov edx, dword [ebp - 0x1c]
push ecx
sub edx, ecx
mov ecx, dword [ebx + 0x18]
call fcn.00465066
mov edx, dword [ebp - 0xc]
pop ecx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
mov ecx, dword [ebp - 4]
je 0x464aa6
mov dword [esi + 0x18], 0x5806e4
jmp 0x463a6b
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0x19
xor eax, eax
cmp dword [ebx + 8], eax
je 0x464b2c
cmp dword [ebx + 0x10], eax
je 0x464b2c
cmp edi, 0x20
jae 0x464af5
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x464b3d
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x464aca
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x464b27
mov dword [esi + 0x18], 0x580678
jmp 0x4639c1
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 dword [esi + 4], ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
push 2
jmp 0x4646e5
mov dword [ebp - 0xc], eax
mov edi, eax
mov dword [ebx], 0x1a
xor eax, eax
inc eax
jmp 0x464b3a
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
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 - 0xc]
mov dword [esi], ecx
mov dword [ebx + 0x3c], edi
xor edi, edi
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebx + 0x28], edi
jne 0x464b74
cmp dword [ebx], 0x18
jge 0x464b91
cmp eax, dword [esi + 0x10]
je 0x464b91
mov edx, eax
mov ecx, esi
call fcn.00463798
test eax, eax
je 0x464b8e
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x4646e5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [esi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 8], ecx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], eax
cmp dword [ebx + 8], edi
je 0x464bdd
test eax, eax
je 0x464bdd
mov edx, dword [esi + 0xc]
cmp dword [ebx + 0x10], edi
je 0x464bc9
sub edx, eax
je 0x464bd7
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00464db7
jmp 0x464bd4
mov ecx, dword [ebx + 0x18]
sub edx, eax
push eax
call fcn.00465066
mov edi, eax
pop ecx
mov dword [ebx + 0x18], edi
mov dword [esi + 0x30], edi
mov ecx, dword [ebx + 4]
mov edx, 0x80
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, edx
add ecx, eax
add ecx, dword [ebx + 0x3c]
mov dword [esi + 0x2c], ecx
mov esi, dword [ebp - 0x34]
test esi, esi
jne 0x464c08
cmp dword [ebp - 0x20], esi
je 0x464c0e
cmp dword [ebp + 0xc], 4
jne 0x464c1e
mov eax, dword [ebp - 0x24]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x4646e6
mov eax, dword [ebp - 0x24]
jmp 0x4646e6